From 66c5f5ecb0f97379a92c58dfe85c0dd0a30156c8 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 25 Mar 2024 15:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=BB=B6=E5=BD=92=E8=BF=98=E9=AA=8C?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/sparePartsReturn/addForm.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/sparePartsReturn/addForm.vue b/src/pages/sparePartsReturn/addForm.vue index c68a3d6..d8b6a5c 100644 --- a/src/pages/sparePartsReturn/addForm.vue +++ b/src/pages/sparePartsReturn/addForm.vue @@ -75,7 +75,7 @@ - + @@ -249,6 +249,12 @@ const singleColumnShow = ref(false) proxy.$modal.showToast(`请输入数量`) return; } + + if (!form1.value.describes) { + proxy.$modal.showToast(`请输入描述`) + return; + } + if (form.value.itemNumbers && form.value.itemNumbers.length > 0) { let arr =form.value.itemNumbers.filter(item => item.itemNumber == form1.value.itemNumber) if (arr && arr.length > 0) {