From 80ef3a1fb42f37cde2e9753317e118c50379b095 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 10 九月 2026 16:35:44 +0800
Subject: [PATCH] 天津-潜宇塑胶 1.设备、生产、BOM、质量、产品、仓储物流模块需求更改

---
 src/views/qualityManagement/processInspection/index.vue |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/src/views/qualityManagement/processInspection/index.vue b/src/views/qualityManagement/processInspection/index.vue
index 7cecaa2..b77d097 100644
--- a/src/views/qualityManagement/processInspection/index.vue
+++ b/src/views/qualityManagement/processInspection/index.vue
@@ -401,11 +401,23 @@
   };
   // 鎻愪环
   const submit = async id => {
-    const res = await submitQualityInspect({ id: id });
-    if (res.code === 200) {
-      proxy.$modal.msgSuccess("鎻愪氦鎴愬姛");
-      getList();
-    }
+    ElMessageBox.confirm(
+      "鎻愪氦鍚庡皢鐢熸垚鍏ュ簱璁板綍涓斾笉鍙慨鏀癸紝纭鎻愪氦锛�",
+      "鎻愮ず",
+      { confirmButtonText: "纭", cancelButtonText: "鍙栨秷", type: "warning" }
+    )
+      .then(async () => {
+        const res = await submitQualityInspect({ id: id });
+        if (res.code === 200) {
+          proxy.$modal.msgSuccess(
+            "鎻愪氦鎴愬姛锛屽悎鏍奸儴鍒嗗凡鐢熸垚鍏ュ簱璁板綍锛堝緟瀹℃牳锛夛紝涓嶅悎鏍奸儴鍒嗗凡鐢熸垚澶勭悊鍗�"
+          );
+          getList();
+        }
+      })
+      .catch(() => {
+        proxy.$modal.msg("宸插彇娑�");
+      });
   };
 
   const handleBatchSubmit = () => {

--
Gitblit v1.9.3