From 557c2b3c50027c2eb6fb9f7e562fc2c7b2b38203 Mon Sep 17 00:00:00 2001
From: quxin <592870522@qq.com>
Date: 星期五, 04 九月 2026 11:37:17 +0800
Subject: [PATCH] 修复: 生产领料后的退料应该是选择领料的记录,不是选择库存的记录(同时库存数据需要根据领料退料变动,比如库存100,领用80,然后领用80中退料30,库存应由原来的20变成50)

---
 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