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/mes/pro/route/index.ts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/api/mes/pro/route/index.ts b/src/api/mes/pro/route/index.ts
index 7ac13da..27b525d 100644
--- a/src/api/mes/pro/route/index.ts
+++ b/src/api/mes/pro/route/index.ts
@@ -8,6 +8,8 @@
     id?: number;
     code?: string;
     name?: string;
+    referenceProductCode?: string;
+    referenceProductName?: string;
     description?: string;
     status?: number;
     remark?: string;
@@ -62,6 +64,16 @@
   return requestClient.download('/mes/pro/route/export-excel', { params });
 }
 
+/** 涓嬭浇鍖呭惈鍚敤璺嚎鍙傝�冧骇鍝佸強宸ュ簭銆佷骇鍑恒�佹姇鏂欑殑瀹屾暣妯℃澘 */
+export function downloadFullRouteTemplate(routeId: number) {
+  return requestClient.download('/mes/pro/route/get-full-import-template', { params: { routeId } });
+}
+
+/** 鎸夎矾绾垮鍏ュ畬鏁村伐鑹烘祦绋� */
+export function importFullRoute(file: File, updateSupport: boolean) {
+  return requestClient.upload(`/mes/pro/route/import-full?updateSupport=${updateSupport}`, { file });
+}
+
 /** 涓嬭浇宸ヨ壓璺嚎瀵煎叆妯℃澘 */
 export function importRouteTemplate() {
   return requestClient.download('/mes/pro/route/get-import-template');

--
Gitblit v1.9.3