From 9be5670e35e25c77f1d8d0bdf0e84bb78fb313e6 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 23 一月 2026 16:03:35 +0800
Subject: [PATCH] 规章制度附件上传下载

---
 src/pages/sales/invoicingRegistration/add.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/pages/sales/invoicingRegistration/add.vue b/src/pages/sales/invoicingRegistration/add.vue
index beee939..03be2cb 100644
--- a/src/pages/sales/invoicingRegistration/add.vue
+++ b/src/pages/sales/invoicingRegistration/add.vue
@@ -362,6 +362,12 @@
   try {
     submitting.value = true
     
+    // 鍏堣繘琛岃〃鍗曢獙璇�
+    const valid = await formRef.value.validate().catch(() => false)
+    if (!valid) {
+      return
+    }
+    
     // 楠岃瘉浜у搧鏁版嵁
     if (productData.value.length === 0) {
       showToast('璇峰厛娣诲姞浜у搧淇℃伅')

--
Gitblit v1.9.3