From 268b3e77f3beaba03a1273d643d8aa4fa5db1c10 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 16 十月 2026 13:08:27 +0800
Subject: [PATCH] feat: 全量列表页接入 Excel 导入按钮与共享弹窗
---
src/api/mes/wm/warehouse/location/index.ts | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/api/mes/wm/warehouse/location/index.ts b/src/api/mes/wm/warehouse/location/index.ts
index 4211f73..821d9f9 100644
--- a/src/api/mes/wm/warehouse/location/index.ts
+++ b/src/api/mes/wm/warehouse/location/index.ts
@@ -70,3 +70,18 @@
{ params: { allowBatchMixing, allowItemMixing, locationId } },
);
}
+
+/** 涓嬭浇搴撳尯瀵煎叆妯℃澘 */
+export function importWarehouseLocationTemplate() {
+ return requestClient.download(
+ '/mes/wm/warehouse-location/get-import-template',
+ );
+}
+
+/** 瀵煎叆搴撳尯 */
+export function importWarehouseLocation(file: File, updateSupport: boolean) {
+ return requestClient.upload(
+ `/mes/wm/warehouse-location/import?updateSupport=${updateSupport}`,
+ { file },
+ );
+}
--
Gitblit v1.9.3