From 8d0c208d93e83b4a905efb8c2b56f05c7e1b1d58 Mon Sep 17 00:00:00 2001 From: songguoqiang Date: Tue, 4 Mar 2025 16:48:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=80=E5=94=AE=E5=BC=80=E7=A5=A8=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E7=89=A9=E6=96=99=E6=98=8E=E7=BB=86=E5=94=AF=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerSaleInvoiceBasicForm.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue b/src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue index 1b485343d..b41b93e2b 100644 --- a/src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue +++ b/src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue @@ -174,15 +174,15 @@ const submitForm = async (formType, submitData) => { item.toLocationCode = data.toLocationCode }) // 判断是否重复物料 - let isExist = false - tableData.value.forEach(item => { - let rs = tableData.value.filter(filterItem => (filterItem.itemCode == item.itemCode)) - if(rs.length > 1) isExist = true - }) - if (isExist) { - formRef.value.formLoading = false - return message.warning('品番重复') - } + // let isExist = false + // tableData.value.forEach(item => { + // let rs = tableData.value.filter(filterItem => (filterItem.itemCode == item.itemCode)) + // if(rs.length > 1) isExist = true + // }) + // if (isExist) { + // formRef.value.formLoading = false + // return message.warning('品番重复') + // } data.subList.forEach(obj => { if(obj.qty == 0){ message.error(`数量不能为0!`)