From df084ef7fc2f3b1a00790ed55616188b280f9594 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 26 三月 2026 18:06:19 +0800
Subject: [PATCH] fix:1.仓储库存单位转换记录和库存关联更新 2.原材料和非原材料的数量区分 3.入库和出库记录删除单位转换库存更新 4.过磅单单位转换更新

---
 src/hooks/useModal.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/hooks/useModal.js b/src/hooks/useModal.js
index 12d945c..0d443a1 100644
--- a/src/hooks/useModal.js
+++ b/src/hooks/useModal.js
@@ -8,11 +8,10 @@
   const openModal = (e) => {
     id.value = e;
     modalOptions.value = {
-      title: e ? "缂栬緫璁惧鍙拌处" : "鏂板璁惧鍙拌处",
+      title: e ? `淇敼${options.title}` : `鏂板${options.title}`,
       content: "纭畾鎵ц姝ゆ搷浣滃悧锛�",
       confirmText: "纭畾",
       cancelText: "鍙栨秷",
-      ...options,
     };
     visible.value = true;
   };

--
Gitblit v1.9.3