From f4a3fdeb9db80b565c086112646c8fd91d94147b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 02 二月 2026 15:13:19 +0800
Subject: [PATCH] 进销存升级 1.销售台账编辑产品时,已经通过发货审批流程的产品建议不让编辑删除,给提示(可以新增新的产品)
---
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