Browse Source

制品回收添加fromPackingNumber

intex_online20241111
zhang_li 1 month ago
parent
commit
b7467bdb87
  1. 6
      src/pages/productRecycle/job/productRecycleJobDetail.vue

6
src/pages/productRecycle/job/productRecycleJobDetail.vue

@ -247,6 +247,8 @@
}, },
getScanResult(result) { getScanResult(result) {
console.log(result.label)
this.labelInfo = result.label
if(this.managementType == 'BY_BATCH' ||this.managementType == "BY_QUANTITY" ){ if(this.managementType == 'BY_BATCH' ||this.managementType == "BY_QUANTITY" ){
this.getScanResultAfterBatch(result) this.getScanResultAfterBatch(result)
}else{ }else{
@ -528,7 +530,7 @@
if (res.success) { if (res.success) {
this.managementList = res.list; this.managementList = res.list;
var params = this.setParams() var params = this.setParams()
console.log("提交参数", JSON.stringify(params)); console.log("提交参数",params);
productRecycleJobsubmit(params).then(res => { productRecycleJobsubmit(params).then(res => {
uni.hideLoading() uni.hideLoading()
if (res.data) { if (res.data) {
@ -560,7 +562,7 @@
detail.packingNumber, detail.batch); detail.packingNumber, detail.batch);
detail.toPackingNumber = info.packingNumber; detail.toPackingNumber = info.packingNumber;
detail.packingNumber = info.packingNumber; detail.packingNumber = info.packingNumber;
detail.fromPackingNumber = info.packingNumber; detail.fromPackingNumber = this.labelInfo.packingNumber;
subList.push(detail) subList.push(detail)
} }
}) })

Loading…
Cancel
Save