From e7bad329a73b41b6e64752a7e3c59044c3771aab Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 19 Nov 2024 17:02:35 +0800 Subject: [PATCH] =?UTF-8?q?YT-1079=E8=AE=A1=E5=88=92=E5=A4=96=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E4=BB=BB=E5=8A=A1PDA=E7=A7=BB=E9=99=A4=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E4=BF=A1=E6=81=AF=E5=90=8E=E5=AE=9E=E9=99=85=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E7=9A=84=E4=BF=A1=E6=81=AF=E6=B2=A1=E6=9C=89=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/unPlanned/job/receiptJobDetail.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/pages/unPlanned/job/receiptJobDetail.vue b/src/pages/unPlanned/job/receiptJobDetail.vue index b6cc5274..9435b0b6 100644 --- a/src/pages/unPlanned/job/receiptJobDetail.vue +++ b/src/pages/unPlanned/job/receiptJobDetail.vue @@ -232,6 +232,16 @@ updateData() { + //删除新添加的 + for (var i = 0; i < this.detailSource.length; i++) { + var item =this.detailSource[i] + for (var j = 0; j < item.subList.length; j++) { + var sub =item.subList[j] + if(!sub.isRecommend&&!sub.scaned){ + item.subList.splice(j,1) + } + } + } calcHandleQty(this.detailSource); this.$forceUpdate() },