Browse Source

YT-425pda制品回收任务,修改数量不成功YT-418pda预生产收货,扫描报错

intex_online20241111
zhang_li 1 month ago
parent
commit
1e30932d08
  1. 4
      src/pages/productPutaway/job/productPutawayDetail.vue
  2. 5
      src/pages/productReceipt/job/productReceiptDetail.vue
  3. 2
      src/pages/productRecycle/job/productRecycleJobDetail.vue

4
src/pages/productPutaway/job/productPutawayDetail.vue

@ -337,10 +337,6 @@
if (detail == undefined) {
this.showErrorMessage("物料号【" + itemCode + "】不在列表中")
} else {
// var itemDetail = detail.subList.find(r => {
// return r.batch == result.label.batch &&
// r.fromLocationCode == result.fromLocationCode
// })
let itemDetail = ''
this.detailSource.find(item => {
const itemDetail1 = item.subList.find(r => {

5
src/pages/productReceipt/job/productReceiptDetail.vue

@ -285,13 +285,12 @@
} else {
detail.scaned = true
var itemDetail = detail.subList.find(r =>
r.packingNumber == packingNumber &&
r.batch == batch);
if (itemDetail == undefined) {
this.showErrorMessage("箱码[" + packingNumber + "]" + "批次[" + batch + "]不在任务列表中")
this.showErrorMessage("批次[" + batch + "]不在任务列表中")
} else {
if (itemDetail.scaned) {
this.showErrorMessage("箱码[" + packingNumber + "]" + "批次[" + batch + "]已经扫描")
this.showErrorMessage("批次[" + batch + "]已经扫描")
} else {
itemDetail.scaned = true;
itemDetail.handleQty = Number(result.label.qty);

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

@ -244,7 +244,7 @@
},
updateData() {
// this.calcHandleQty();
this.calcHandleQty();
},
getScanResult(result) {

Loading…
Cancel
Save