From 5dbc69b4e792dcce998038822b92402366bec47f Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 18 八月 2026 10:45:24 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/fix/hsy/20260812' into dev_pro2.0

---
 src/views/mes/pro/task/data.ts |   56 +++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 41 insertions(+), 15 deletions(-)

diff --git a/src/views/mes/pro/task/data.ts b/src/views/mes/pro/task/data.ts
index a24e576..aeb9868 100644
--- a/src/views/mes/pro/task/data.ts
+++ b/src/views/mes/pro/task/data.ts
@@ -1,5 +1,7 @@
-锘縤mport type { VbenFormApi, VbenFormSchema } from '#/adapter/form';
+import type { VbenFormApi, VbenFormSchema } from '#/adapter/form';
 import type { VxeTableGridOptions } from '#/adapter/vxe-table';
+import { z } from '#/adapter/form';
+import { getSimpleUserListByRoleCode } from '#/api/system/user';
 import type { MesProTaskApi } from '#/api/mes/pro/task';
 import type { MesProWorkOrderApi } from '#/api/mes/pro/workorder';
 
@@ -130,15 +132,33 @@
       width: 80,
     },
     {
+      field: 'status',
+      title: '璁㈠崟鐘舵��',
+      width: 100,
+      cellRender: {
+        name: 'CellDict',
+        props: { type: DICT_TYPE.MES_PRO_WORK_ORDER_STATUS },
+      },
+    },
+    {
+      field: 'productionStatus',
+      title: '鐢熶骇鐘舵��',
+      width: 100,
+      cellRender: {
+        name: 'CellDict',
+        props: { type: DICT_TYPE.ORDER_PRODUCTION_STATUS },
+      },
+    },
+    {
       field: 'quantity',
       title: '璁㈠崟鏁伴噺',
       width: 100,
     },
-    {
-      field: 'quantityChanged',
-      title: '璋冩暣鏁伴噺',
-      width: 100,
-    },
+    // {
+    //   field: 'quantityChanged',
+    //   title: '璋冩暣鏁伴噺',
+    //   width: 100,
+    // },
     {
       field: 'quantityProduced',
       title: '宸茬敓浜ф暟閲�',
@@ -160,15 +180,7 @@
       width: 120,
       formatter: 'formatDate',
     },
-    {
-      field: 'status',
-      title: '鎺掍骇鐘舵��',
-      width: 100,
-      cellRender: {
-        name: 'CellDict',
-        props: { type: DICT_TYPE.MES_PRO_WORK_ORDER_STATUS },
-      },
-    },
+
     {
       title: '鎿嶄綔',
       width: 160,
@@ -458,6 +470,20 @@
       },
     },
     {
+      fieldName: 'assigneeUserIds',
+      label: '鎶ュ伐浜�',
+      component: 'ApiSelect',
+      componentProps: {
+        placeholder: '璇烽�夋嫨鎶ュ伐浜�',
+        api: getSimpleUserListByRoleCode,
+        params: { code: 'production_submit_work' },
+        labelField: 'nickname',
+        valueField: 'id',
+        mode: 'multiple',
+      },
+      rules: z.array(z.number()).min(1, '璇烽�夋嫨鎶ュ伐浜�').default([]),
+    },
+    {
       fieldName: 'remark',
       label: '澶囨敞',
       component: 'Textarea',

--
Gitblit v1.9.3