diff --git a/src/pages/productPutaway/job/productPutawayDetail.vue b/src/pages/productPutaway/job/productPutawayDetail.vue index 22479ff0..a88b3e31 100644 --- a/src/pages/productPutaway/job/productPutawayDetail.vue +++ b/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 => { diff --git a/src/pages/productReceipt/job/productReceiptDetail.vue b/src/pages/productReceipt/job/productReceiptDetail.vue index 2d8887dc..0eb850ba 100644 --- a/src/pages/productReceipt/job/productReceiptDetail.vue +++ b/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); diff --git a/src/pages/productRecycle/job/productRecycleJobDetail.vue b/src/pages/productRecycle/job/productRecycleJobDetail.vue index 0eed8fb0..9507254e 100644 --- a/src/pages/productRecycle/job/productRecycleJobDetail.vue +++ b/src/pages/productRecycle/job/productRecycleJobDetail.vue @@ -244,7 +244,7 @@ }, updateData() { - // this.calcHandleQty(); + this.calcHandleQty(); }, getScanResult(result) {