From 964cfa12263cf51b2a3d1ef281130d0e808e9078 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期六, 31 十月 2026 19:04:39 +0800
Subject: [PATCH] feat: 完善业务导入及工艺流程界面
---
src/api/crm/saleQuotation/index.ts | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/api/crm/saleQuotation/index.ts b/src/api/crm/saleQuotation/index.ts
index 5d1106d..4b5da71 100644
--- a/src/api/crm/saleQuotation/index.ts
+++ b/src/api/crm/saleQuotation/index.ts
@@ -115,4 +115,13 @@
return requestClient.post<number>('/crm/sale-quotation/convert-contract', null, {
params: { id },
});
+}
+/** 涓嬭浇鎶ヤ环鏄庣粏瀵煎叆妯℃澘 */
+export function importSaleQuotationTemplate() {
+ return requestClient.download('/crm/sale-quotation/get-import-template');
+}
+
+/** 瀵煎叆鎶ヤ环锛堜粎鏂板锛� */
+export function importSaleQuotation(file: File, updateSupport: boolean) {
+ return requestClient.upload('/crm/sale-quotation/import', { file, updateSupport });
}
\ No newline at end of file
--
Gitblit v1.9.3