From 193377e7fb0bbbcfe89dda4274abbabeb293ae07 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 11 九月 2026 11:46:38 +0800
Subject: [PATCH] feat(salesLedger): 新增库存不足时自动生成生产主计划功能

---
 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