From e65eba077662e270ba462304b15507d00ec2875a Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 19 三月 2026 09:52:05 +0800
Subject: [PATCH] fix: 库存bug修改

---
 src/pages/safeProduction/dangerInvestigation/detail.vue |   16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/src/pages/safeProduction/dangerInvestigation/detail.vue b/src/pages/safeProduction/dangerInvestigation/detail.vue
index 1bff840..53f261c 100644
--- a/src/pages/safeProduction/dangerInvestigation/detail.vue
+++ b/src/pages/safeProduction/dangerInvestigation/detail.vue
@@ -50,13 +50,6 @@
                       count
                       :autoHeight="true" />
         </u-form-item>
-        <u-form-item label="闅愭偅鍏蜂綋浣嶇疆"
-                     prop="location"
-                     required
-                     border-bottom>
-          <u-input v-model="form.location"
-                   placeholder="璇疯緭鍏ラ殣鎮e叿浣撲綅缃�" />
-        </u-form-item>
         <u-form-item label="鏁存敼瀹屾垚鏈熼檺"
                      prop="rectifyTime"
                      required
@@ -117,16 +110,19 @@
     <up-action-sheet :show="hiddenTypeSheetVisible"
                      :actions="hiddenTypeOptions"
                      @select="handleHiddenTypeSelect"
+                     @close="hiddenTypeSheetVisible = false"
                      title="閫夋嫨闅愭偅绫诲瀷" />
     <!-- 椋庨櫓绛夌骇閫夋嫨鍣� -->
     <up-action-sheet :show="riskLevelSheetVisible"
                      :actions="riskLevelOptions"
                      @select="handleRiskLevelSelect"
+                     @close="riskLevelSheetVisible = false"
                      title="閫夋嫨椋庨櫓绛夌骇" />
     <!-- 鏁存敼璐d换浜洪�夋嫨鍣� -->
     <up-action-sheet :show="principalSheetVisible"
                      :actions="principalOptions"
                      @select="handlePrincipalSelect"
+                     @close="principalSheetVisible = false"
                      title="閫夋嫨鏁存敼璐d换浜�" />
   </view>
 </template>
@@ -164,7 +160,6 @@
     type: "",
     riskLevel: "",
     hiddenDesc: "",
-    location: "",
     rectifyTime: "",
     rectifyUserName: "",
     rectifyUserMobile: "",
@@ -273,11 +268,6 @@
 
     if (!form.value.hiddenDesc) {
       showToast("璇疯緭鍏ラ殣鎮f弿杩�");
-      return;
-    }
-
-    if (!form.value.location) {
-      showToast("璇疯緭鍏ラ殣鎮e叿浣撲綅缃�");
       return;
     }
 

--
Gitblit v1.9.3