Browse Source

修改翻包任务提交参数

hella_online_20240911
lijuncheng 2 months ago
parent
commit
448a091504
  1. 2
      src/pages/package/job/overPackageJob.vue
  2. 31
      src/pages/package/job/overPackageJobDetail.vue

2
src/pages/package/job/overPackageJob.vue

@ -162,7 +162,7 @@
this.businessType = res.businessType; this.businessType = res.businessType;
this.openScanPopup(); this.openScanPopup();
} else { } else {
this.showErrorMessage(res.message) this.showMessage(res.message)
} }
}); });
}, },

31
src/pages/package/job/overPackageJobDetail.vue

@ -401,7 +401,9 @@
mask: true mask: true
}); });
var params = this.setParams() var params = this.setParams()
console.log(params);
console.log("提交参数"+JSON.stringify(params));
return
overPageSubmit(params).then(res => { overPageSubmit(params).then(res => {
uni.hideLoading() uni.hideLoading()
// if (res.data == '') { // if (res.data == '') {
@ -492,28 +494,15 @@
record.toBatch = r.batch; record.toBatch = r.batch;
record.toPackingNumber = "" record.toPackingNumber = ""
//使
// if (this.jobContent
// .useOnTheWayLocation ==
// 'TRUE') {
// record.toPackingNumber = r
// .packingNumber;
// record.toBatch = r.batch;
// } else {
// var info =
// getPackingNumberAndBatch(
// this.managementList, r
// .itemCode,
// r.packingNumber, r
// .batch);
// record.toPackingNumber = info
// .packingNumber;
// record.toBatch = info.batch;
// }
subItem.recordList.push(record); subItem.recordList.push(record);
}) })
subList.push(deepCopyData(subItem));
var itemInfo = subList.find(r => r.itemCode == subItem.itemCode&& r.fromLocationCode == subItem.fromLocationCode);
if(itemInfo){
itemInfo.recordList.push(...subItem.recordList)
}else {
subList.push(deepCopyData(subItem));
}
} }
} }
}) })

Loading…
Cancel
Save