Browse Source

修复签收列表无数据

fix_bug_pro20231227
qb 1 year ago
parent
commit
42bcfb8a55
  1. 10
      src/views/distribution/signdetail/distributionSigndetail.vue
  2. 5
      src/views/distribution/signdetail/distributionSigndetaledt.vue
  3. 15
      src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue

10
src/views/distribution/signdetail/distributionSigndetail.vue

@ -277,6 +277,16 @@ export default {
fixed: false, fixed: false,
sortable: true, sortable: true,
}, },
{
prop: 'signfornum',
label: '签收件数',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
{ {
prop: 'completeSet', prop: 'completeSet',
label: '是否齐套', label: '是否齐套',

5
src/views/distribution/signdetail/distributionSigndetaledt.vue

@ -783,6 +783,7 @@ export default {
// //
handlePackage(page){ handlePackage(page){
let params={} let params={}
console.log(11111,22222,">>>>>>>>>>>>>>>>>")
params.deliveryId = this.orderdata.id params.deliveryId = this.orderdata.id
getpackdetail(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { getpackdetail(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
console.log("查看>>>>>包间>>",res.data.data); console.log("查看>>>>>包间>>",res.data.data);
@ -943,6 +944,8 @@ export default {
this.getWrapdetails(this.wpage) this.getWrapdetails(this.wpage)
}, },
onLoad() { onLoad() {
console.log("初始化执行")
console.log('this.$route.query :>> ', this.$route.query);
// //
const data = decodeURIComponent(this.$route.query.data); const data = decodeURIComponent(this.$route.query.data);
this.orderdata = JSON.parse(data); this.orderdata = JSON.parse(data);
@ -954,7 +957,7 @@ export default {
const data = res.data.data const data = res.data.data
this.wpage.total = data.total; this.wpage.total = data.total;
this.packdata = data.records this.packdata = data.records
this.data = this.packdata
}); });
this.loading = false; this.loading = false;
} }

15
src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue

@ -98,9 +98,12 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="物流公司" prop="receiptBatch">
<el-input v-model="form.logisticsCompany" clearable placeholder="请输入物流公司" />
</el-form-item>
<!-- <el-form-item label="物流单号" prop="trainNumber">--> <!-- <el-form-item label="物流单号" prop="trainNumber">-->
<el-form-item label="物流车次"> <el-form-item label="物流运单号">
<el-input v-model="form.trainNumber" clearable placeholder="请输入物流车次" /> <el-input v-model="form.trainNumber" clearable placeholder="请输入物流运单号" />
</el-form-item> </el-form-item>
<!-- <el-form-item label="入库车牌" prop="licensePlate">--> <!-- <el-form-item label="入库车牌" prop="licensePlate">-->
@ -267,7 +270,7 @@
@click="handleSubmit" @click="handleSubmit"
:disabled="view && !this.$route.query.type == '3'" :disabled="view && !this.$route.query.type == '3'"
v-if="this.$route.query.type" v-if="this.$route.query.type"
> 1</el-button > </el-button
> >
<el-button <el-button
type="primary" type="primary"
@ -972,12 +975,12 @@ export default {
}, },
searchChange() { searchChange() {
// //
if(!this.$route.query.type) { if (!this.$route.query.type) {
// //
this.form = {} this.form = {};
} }
// //
this.formDetail = {} this.formDetail = {};
// //
this.onLoad(this.page); this.onLoad(this.page);
}, },

Loading…
Cancel
Save