From e08aab3ce11e78c3e51efe27a92566481712e56b Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 21 Nov 2024 19:59:03 +0800 Subject: [PATCH] =?UTF-8?q?YT-981=E5=8F=91=E6=96=99=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=EF=BC=8C=E5=BA=94=E6=8C=89=E7=85=A7=E4=B8=80=E4=B8=AA=E7=89=A9?= =?UTF-8?q?=E6=96=99=E4=B8=80=E4=B8=AA=E4=BB=BB=E5=8A=A1=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E6=8B=86=E5=88=86=EF=BC=8C=E7=8E=B0=E4=B8=80=E4=B8=AA=E7=89=A9?= =?UTF-8?q?=E6=96=99=E6=8E=A8=E8=8D=90=E5=A4=9A=E4=B8=AA=E6=89=B9=E6=AC=A1?= =?UTF-8?q?=EF=BC=8C=E7=94=9F=E6=88=90=E4=BA=86=E5=A4=9A=E4=B8=AA=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=EF=BC=8C=E5=BA=94=E7=94=9F=E6=88=90=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/issue/job/issueDetailBatch.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/issue/job/issueDetailBatch.vue b/src/pages/issue/job/issueDetailBatch.vue index ddcc65ea..1a33e01a 100644 --- a/src/pages/issue/job/issueDetailBatch.vue +++ b/src/pages/issue/job/issueDetailBatch.vue @@ -368,6 +368,7 @@ detail.handleQty = 0 detail.qty = 0 detail.subList.forEach(item=>{ + item.handleQty =item.handleQty || 0 detail.handleQty = calc.add(detail.handleQty,item.handleQty) detail.qty = calc.add(detail.qty,item.qty) // item.packList.forEach(cur=>{ @@ -396,6 +397,7 @@ detail.handleQty = 0 detail.balance = result.balance, detail.subList.forEach(item=>{ + item.handleQty =item.handleQty || 0 detail.handleQty = calc.add(detail.handleQty,item.handleQty) // item.packList.forEach(cur=>{ // cur.handleQty = calc.add(detail.handleQty,item.handleQty) // }) }) @@ -445,6 +447,8 @@ // }) detail.handleQty = 0 detail.subList.forEach(item=>{ + console.log(item.handleQty) + item.handleQty =item.handleQty || 0 detail.handleQty = calc.add(detail.handleQty,item.handleQty) // item.packList.forEach(cur=>{ // cur.handleQty = calc.add(detail.handleQty,item.handleQty) // }) })