From 97af26e2ad64d7974367df80a900c1f680bd19c5 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期三, 23 七月 2025 10:38:08 +0800
Subject: [PATCH] 首检,巡检,入库检

---
 pages/QC/LLJ/yzxFrom.vue |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/pages/QC/LLJ/yzxFrom.vue b/pages/QC/LLJ/yzxFrom.vue
index 0334b84..9b41d5c 100644
--- a/pages/QC/LLJ/yzxFrom.vue
+++ b/pages/QC/LLJ/yzxFrom.vue
@@ -153,16 +153,28 @@
 				data: submitData
 			}
 		}).then(res => {
-			
+			if(res.status==0){
+				uni.showToast({
+				  title: '淇濆瓨鎴愬姛',
+				  icon: 'success',
+				  duration: 2000
+				})
+			}else{
+				uni.showModal({
+					title: "鎻愮ず",
+					content: res.message,
+					confirmText: "纭畾",
+					showCancel: false,
+					success: (res) => {
+						
+					}
+				})
+			}
 		}).catch(() => {
 			this.isLoading = false; // 鍑虹幇閿欒鏃剁粨鏉熷姞杞�
 		});
 
-        uni.showToast({
-          title: '淇濆瓨鎴愬姛',
-          icon: 'success',
-          duration: 2000
-        })
+      
         
       } finally {
         this.isSubmitting = false

--
Gitblit v1.9.3