From 03c6986d4eb58f1877d9b65f2e09c4e74a58659c Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Tue, 6 Aug 2024 15:09:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=AF=E5=BE=AE=E6=8F=90=EF=BC=9A=E7=89=A9?= =?UTF-8?q?=E6=96=99=E9=9A=94=E7=A6=BB=EF=BC=8C=E5=8C=85=E8=A3=85=E5=8F=B7?= =?UTF-8?q?=E6=98=AF=E7=A9=BA=EF=BC=8C=E5=A4=9A=E4=B8=AA=E7=89=A9=E6=96=99?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E4=BC=9A=E6=8A=A5=E5=8C=85=E8=A3=85=E5=8F=B7?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=EF=BC=8C=E5=BA=94=E6=98=AF=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E6=9C=89=E5=8C=85=E8=A3=85=E5=8F=B7=E6=97=B6=EF=BC=8C=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E7=9B=B8=E5=90=8C=E7=9A=84=E6=8A=A5=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E5=8C=85=E8=A3=85=E7=9B=B8=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorymove/inventorymoveRequestMain/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue index 32f943672..d2f758aee 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue @@ -701,7 +701,7 @@ const submitForm = async (formType, submitData) => { data.subList = tableData.value // 拼接子表数据参数 let isExist = false tableData.value.forEach(item => { - let rs = tableData.value.filter(filterItem => (filterItem.fromPackingNumber == item.fromPackingNumber) ) + let rs = tableData.value.filter(filterItem => (filterItem.fromPackingNumber&&filterItem.fromPackingNumber == item.fromPackingNumber) ) console.log(rs,5666); if(rs.length > 1) isExist = true }) @@ -710,6 +710,7 @@ const submitForm = async (formType, submitData) => { isExist = false return message.warning('包装号重复') } + flag.value = false data.subList.forEach(item => { console.log(556565,item); if(fromInventoryStatus.value){