From 04e8e3a312ed1f2d9dc40354ae5847ef9cc11360 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 29 八月 2026 16:22:35 +0800
Subject: [PATCH] fix: 新疆-绿能 1.报工等待时长倒计时 + 报工数量可选 2.报工自动生成产品入库单 + 勾选入库 + 不合格仓库兜底

---
 src/views/mes/process-design/route/data.ts |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/mes/process-design/route/data.ts b/src/views/mes/process-design/route/data.ts
index 7990b1e..5c310bb 100644
--- a/src/views/mes/process-design/route/data.ts
+++ b/src/views/mes/process-design/route/data.ts
@@ -166,7 +166,10 @@
 }
 
 /** 宸ヨ壓璺嚎宸ュ簭鏄庣粏琛ㄥ崟 */
-export function useRouteProcessFormSchema(processOptions: Array<{ label: string; value: number }>): VbenFormSchema[] {
+export function useRouteProcessFormSchema(
+  processOptions: Array<{ label: string; value: number }>,
+  onProcessChange?: (processId?: number) => void,
+): VbenFormSchema[] {
   return [
     {
       fieldName: "id",
@@ -198,6 +201,7 @@
         options: processOptions,
         placeholder: "璇烽�夋嫨宸ュ簭",
         showSearch: true,
+        onChange: onProcessChange,
       },
       rules: "selectRequired",
     },
@@ -279,12 +283,12 @@
     },
     {
       fieldName: "waitTime",
-      label: "绛夊緟鏃堕棿(鍒�)",
+      label: "绛夊緟鏃堕暱(灏忔椂)",
       component: "InputNumber",
       componentProps: {
         class: "!w-full",
         min: 0,
-        precision: 0,
+        precision: 2,
       },
       rules: z.number().default(0),
     },
@@ -351,7 +355,7 @@
       width: 160,
     },
     { field: "prepareTime", title: "鍑嗗鏃堕棿(鍒�)", width: 110 },
-    { field: "waitTime", title: "绛夊緟鏃堕棿(鍒�)", width: 110 },
+    { field: "waitTime", title: "绛夊緟鏃堕暱(灏忔椂)", width: 110 },
     {
       field: "colorCode",
       title: "鐢樼壒鍥鹃鑹�",

--
Gitblit v1.9.3