From 109f0e1010507629725fa93db1206e55663ed2d2 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Sat, 12 Oct 2024 15:46:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E9=87=8F=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturnRequestSpareMain/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue index 5f3ee46ee..d28505ff2 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue @@ -876,6 +876,10 @@ const submitForm = async (formType, submitData) => { return } data.subList = tableData.value.filter(item=>Number(item['qty'])>0) // 拼接子表数据参数 + if(data.subList.length==0){ + message.error(`请填写退货数量`) + return + } formRef.value.formLoading = true try { if (formType === 'create') {