From 8f8dcdae7e40ba4e94a363aa8eb91c7665810bc3 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 31 八月 2026 15:29:17 +0800
Subject: [PATCH] fix: 新疆-绿能 1.报工自动生成产品入库单 + 勾选入库 + 不合格仓库兜底

---
 src/views/mes/pro/process/data.ts |   27 +++++++++++++++++++++++++--
 1 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/src/views/mes/pro/process/data.ts b/src/views/mes/pro/process/data.ts
index 8337581..a7b51ac 100644
--- a/src/views/mes/pro/process/data.ts
+++ b/src/views/mes/pro/process/data.ts
@@ -9,8 +9,8 @@
   CommonStatusEnum,
   DICT_TYPE,
   MesAutoCodeRuleCode,
-} from '..\..\..\..\packages\constants\src';
-import { getDictOptions } from '..\..\..\..\packages\effects\hooks\src';
+} from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
 
 import { Button } from 'ant-design-vue';
 
@@ -77,6 +77,29 @@
       rules: z.number().default(CommonStatusEnum.ENABLE),
     },
     {
+      fieldName: 'waitDuration',
+      label: '绛夊緟鏃堕暱(灏忔椂)',
+      component: 'InputNumber',
+      formItemClass: 'col-span-2',
+      componentProps: {
+        class: '!w-full',
+        min: 0,
+        precision: 2,
+        placeholder: '鐣欑┖鎴� 0 琛ㄧず鏃犻渶鍊掕鏃�',
+      },
+    },
+    {
+      fieldName: 'needReportQuantity',
+      label: '闇�濉啓鎶ュ伐鏁伴噺',
+      component: 'Switch',
+      formItemClass: 'col-span-1',
+      defaultValue: true,
+      componentProps: {
+        checkedChildren: '鏄�',
+        unCheckedChildren: '鍚�',
+      },
+    },
+    {
       fieldName: 'attention',
       label: '宸ュ簭璇存槑',
       component: 'Textarea',

--
Gitblit v1.9.3