From 9c77e0cbf1b628146e5dae7fe5ef52d495be79da Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 14 Oct 2024 11:38:40 +0800 Subject: [PATCH] =?UTF-8?q?YT-372WMS=20PDA=E6=89=A7=E8=A1=8C=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E9=80=80=E6=96=99=E4=BB=BB=E5=8A=A1=E4=B8=8D=E6=88=90?= =?UTF-8?q?=E5=8A=9F=EF=BC=8C=E6=89=AB=E6=8F=8F=E6=A0=87=E7=AD=BE=E5=90=8E?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=B8=8D=E5=9C=A8=E5=88=97=E8=A1=A8=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/productionReturn/job/okToReturnDetail.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/productionReturn/job/okToReturnDetail.vue b/src/pages/productionReturn/job/okToReturnDetail.vue index 010d3869..017e0c77 100644 --- a/src/pages/productionReturn/job/okToReturnDetail.vue +++ b/src/pages/productionReturn/job/okToReturnDetail.vue @@ -292,14 +292,13 @@ this.showErrorMessage("物料号【" + itemCode + "】不在列表中") } else { var itemDetail = detail.subList.find(r => { - return r.packingNumber == packingNumber && - r.batch == batch + return 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.package.qty)