From 8f66dae2749466726589413f31bb9ade1b7393bb Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 22 Jul 2024 17:15:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deliverplan/deliverPlanMain/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue index 043524a2a..20fdfe023 100644 --- a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue +++ b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue @@ -157,6 +157,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => }) if (type == 'tableForm') { if(formField == 'itemCode') { + val = val.filter(item=>!tableData.value.find(item1=>item1['itemCode']==item['itemCode'])) val.forEach(item=>{ if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])) return const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))