From a1274d448fa9fd59da39d94f5d91e54780fc8de1 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 24 四月 2026 11:01:10 +0800
Subject: [PATCH] fix: 出入库只有吨和公斤才能转换单位,其他单位不用转换。

---
 src/views/basicData/product/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/basicData/product/index.vue b/src/views/basicData/product/index.vue
index 27905f8..8d47278 100644
--- a/src/views/basicData/product/index.vue
+++ b/src/views/basicData/product/index.vue
@@ -158,9 +158,9 @@
                 placeholder="璇烽�夋嫨鍗曚綅"
                 clearable
                 style="width: 100%"
-                :filterable="isConsumablesBranch"
-                :allow-create="isConsumablesBranch"
-                :default-first-option="isConsumablesBranch"
+                filterable
+                allow-create
+                default-first-option
               >
                 <el-option
                   v-for="u in unitSelectOptions"
@@ -282,7 +282,7 @@
   if (isConsumablesBranch.value) {
     return ["鍚�", "鍏枻", "浠�", "涓暟",'妗�'];
   }
-  return ["鍚�", "鍏枻"];
+  return ["鍚�", "鍏枻",'鍧�','鏂�','绠�','琚�','鐡�','妗�','鐩�','鍖�','浠�','涓暟'];
 });
 
 // 鏌ヨ浜у搧鏍�

--
Gitblit v1.9.3