From bf5ff4db197b6780d964bc9ddaaa875837338838 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 22 四月 2026 16:43:42 +0800
Subject: [PATCH] 历史迁移下载模板
---
src/views/salesManagement/salesQuotation/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/salesManagement/salesQuotation/index.vue b/src/views/salesManagement/salesQuotation/index.vue
index 549e5ae..20ccd5a 100644
--- a/src/views/salesManagement/salesQuotation/index.vue
+++ b/src/views/salesManagement/salesQuotation/index.vue
@@ -606,9 +606,7 @@
nickName: item.nickName || "",
userName: item.userName || "",
}));
- approveUserList({ approveType: 6 }).then(res => {
- userListApprove.value = res.data;
- });
+ await loadApproveUserList();
getProductOptions();
customerList().then(res => {
// 鍙鍒堕渶瑕佺殑瀛楁锛岄伩鍏嶅皢缁勪欢寮曠敤鏀惧叆鍝嶅簲寮忓璞�
@@ -618,6 +616,10 @@
taxpayerIdentificationNumber: item.taxpayerIdentificationNumber || "",
}));
});
+ };
+ const loadApproveUserList = async () => {
+ const res = await approveUserList({ approveType: 6 });
+ userListApprove.value = Array.isArray(res.data) ? res.data : [];
};
const getProductOptions = () => {
// 杩斿洖 Promise锛屼究浜庣紪杈戞椂 await 纭繚鑳藉弽鏄�
@@ -810,6 +812,9 @@
form.discountAmount = row.discountAmount || 0;
form.totalAmount = row.totalAmount || 0;
+ // 缂栬緫鏃堕噸鏂版媺鍙栧鎵逛汉鍒楄〃锛岄伩鍏嶅垏椤靛悗鍒楄〃鐘舵�佽繃鏈熷鑷村洖鏄惧紓甯�
+ await loadApproveUserList();
+
// 鍙嶆樉瀹℃壒浜�
if (row.approveUserIds) {
const userIds = row.approveUserIds.split(",");
--
Gitblit v1.9.3