From 9227d2b4e4aad18b48ec879b136d3cca12de5613 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 02 九月 2026 16:06:24 +0800
Subject: [PATCH] 新疆-新聚工贸 1.安全生产新增提交报错问题

---
 src/views/safeProduction/hazardSourceLedger/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/safeProduction/hazardSourceLedger/index.vue b/src/views/safeProduction/hazardSourceLedger/index.vue
index 0300dce..d8497b3 100644
--- a/src/views/safeProduction/hazardSourceLedger/index.vue
+++ b/src/views/safeProduction/hazardSourceLedger/index.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="app-container">
-    <div class="search_form">
+    <div class="search_form mb20">
       <div>
         <span class="search_title">鍗遍櫓婧愬悕绉帮細</span>
         <el-input v-model="searchForm.name"
@@ -159,9 +159,9 @@
       </el-form>
       <template #footer>
         <span class="dialog-footer">
-          <el-button @click="dialogVisible = false">鍙栨秷</el-button>
           <el-button type="primary"
                      @click="submitForm">纭畾</el-button>
+          <el-button @click="dialogVisible = false">鍙栨秷</el-button>
         </span>
       </template>
     </el-dialog>
@@ -485,6 +485,7 @@
         stockQty: "",
         type: "",
       });
+      delete form.value.id;
     } else if (type === "edit" && row) {
       dialogTitle.value = "缂栬緫鍗遍櫓婧�";
       Object.assign(form.value, {

--
Gitblit v1.9.3