From fec6a89b4ed2dfc988c1ab308188306d536d8ccd Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期三, 02 九月 2026 17:17:32 +0800
Subject: [PATCH] feat(mdm): 基础数据物料管理/物料分类/计量单位增加导出按钮

---
 src/api/mes/md/item/type/index.ts |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/api/mes/md/item/type/index.ts b/src/api/mes/md/item/type/index.ts
index bd99b95..86dc13d 100644
--- a/src/api/mes/md/item/type/index.ts
+++ b/src/api/mes/md/item/type/index.ts
@@ -53,6 +53,11 @@
   return requestClient.delete(`/mes/md/item-type/delete?id=${id}`);
 }
 
+/** 瀵煎嚭鐗╂枡浜у搧鍒嗙被 */
+export function exportItemType(params: Record<string, any>) {
+  return requestClient.download('/mes/md/item-type/export-excel', { params });
+}
+
 /** 涓嬭浇鐗╂枡浜у搧鍒嗙被瀵煎叆妯℃澘 */
 export function importItemTypeTemplate() {
   return requestClient.download('/mes/md/item-type/get-import-template');

--
Gitblit v1.9.3