From 7619d415522ab3dc3299d6a2a9f5c9964a692d3f Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期三, 18 六月 2025 17:58:53 +0800
Subject: [PATCH] 添加生产管理接口及优化表格字段

---
 src/views/archiveManagement/mould/archiveDialog.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/archiveManagement/mould/archiveDialog.vue b/src/views/archiveManagement/mould/archiveDialog.vue
index 844bd1a..5406cc2 100644
--- a/src/views/archiveManagement/mould/archiveDialog.vue
+++ b/src/views/archiveManagement/mould/archiveDialog.vue
@@ -103,9 +103,7 @@
 };
 const editForm = (val) => {
   ruleForm.value = copyForm.value;
-  // fileUploadRef.value.editInit(ruleForm.value);
   nextTick(() => {
-      // console.log("缂栬緫琛ㄥ崟鏁版嵁:", fileUploadRef.value);
   fileUploadRef.value.editInit(val);
 
   });
@@ -144,7 +142,6 @@
         type: "error",
         message: error.msg || "鎿嶄綔澶辫触",
       });
-      console.error("API 璋冪敤澶辫触:", error);
       return;
     }
     // 鍙戦�� emit 浜嬩欢
@@ -152,7 +149,10 @@
     // 鍏抽棴瀵硅瘽妗�
     centerDialogVisible.value = false;
   } catch (error) {
-    console.error("琛ㄥ崟楠岃瘉澶辫触鎴朅PI璋冪敤澶辫触:", error);
+    ElMessage({
+      type: "error",
+      message: error.msg || "鎿嶄綔澶辫触",
+    });
   }
 };
 </script>

--
Gitblit v1.9.3