Browse Source

修改翻包任务提交参数

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

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

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

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

@ -401,7 +401,9 @@
mask: true
});
var params = this.setParams()
console.log(params);
console.log("提交参数"+JSON.stringify(params));
return
overPageSubmit(params).then(res => {
uni.hideLoading()
// if (res.data == '') {
@ -492,30 +494,17 @@
record.toBatch = r.batch;
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);
})
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