From bae93b624d8d68ed2fe540c381a58b47082c1309 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 26 十月 2026 16:28:28 +0800
Subject: [PATCH] feat(mes): 完善工艺路线管理功能

---
 src/api/mes/pro/route/process/index.ts |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/src/api/mes/pro/route/process/index.ts b/src/api/mes/pro/route/process/index.ts
index 332f71a..d964e27 100644
--- a/src/api/mes/pro/route/process/index.ts
+++ b/src/api/mes/pro/route/process/index.ts
@@ -10,13 +10,25 @@
     remark?: string;
   }
 
+  /** 浜у嚭鐗╂枡褰掑睘 */
+  export interface OutputItem {
+    id?: number;
+    routeProcessId?: number;
+    productId?: number; // 褰掑睘浜у搧缂栧彿锛屼负绌鸿〃绀哄浜у搧閫氱敤
+    productName?: string;
+    itemId?: number;
+    itemCode?: string;
+    itemName?: string;
+    sort?: number;
+    remark?: string;
+  }
+
   /** MES 宸ヨ壓璺嚎宸ュ簭 */
   export interface RouteProcess {
     id?: number;
     routeId?: number;
     processId?: number;
     paramTemplateId?: number;
-    /** 宸ュ簭鏀剁巼锛堜骇鍑�/鎶曞叆锛�0~1锛� */
     yieldRate?: number;
     processCode?: string;
     processName?: string;
@@ -35,6 +47,13 @@
     outputItemName?: string;
     outputItemIds?: number[];
     outputItemNames?: string;
+    outputs?: OutputItem[]; // 浜у嚭鐗╂枡褰掑睘閰嶇疆
+    warehouseId?: number; // 榛樿鎶ュ伐浠撳簱缂栧彿
+    warehouseName?: string; // 榛樿鎶ュ伐浠撳簱鍚嶇О
+    locationId?: number; // 榛樿鎶ュ伐搴撳尯缂栧彿
+    locationName?: string; // 榛樿鎶ュ伐搴撳尯鍚嶇О
+    areaId?: number; // 榛樿鎶ュ伐搴撲綅缂栧彿
+    areaName?: string; // 榛樿鎶ュ伐搴撲綅鍚嶇О
     remark?: string;
     bomItems?: ProcessBomItem[];
     createTime?: Date;

--
Gitblit v1.9.3