From 1e30932d085cbb92b89c12d757fcabc53296f295 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 16 Oct 2024 15:33:07 +0800 Subject: [PATCH] =?UTF-8?q?YT-425pda=E5=88=B6=E5=93=81=E5=9B=9E=E6=94=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=EF=BC=8C=E4=BF=AE=E6=94=B9=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E4=B8=8D=E6=88=90=E5=8A=9FYT-418pda=E9=A2=84=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E6=94=B6=E8=B4=A7=EF=BC=8C=E6=89=AB=E6=8F=8F=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/productPutaway/job/productPutawayDetail.vue | 4 ---- src/pages/productReceipt/job/productReceiptDetail.vue | 5 ++--- src/pages/productRecycle/job/productRecycleJobDetail.vue | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) 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) {