From f11bd0d8d9c1190340a445a67df9e43cdbde0a3e Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期四, 27 八月 2026 11:21:26 +0800
Subject: [PATCH] feat(mes): 基础参数与工序绑定前端 + 报工填写参数字段

---
 src/views/hrm/employee/data.ts |   23 +++++++++++++++++++----
 1 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/src/views/hrm/employee/data.ts b/src/views/hrm/employee/data.ts
index 9affcfa..7474ca7 100644
--- a/src/views/hrm/employee/data.ts
+++ b/src/views/hrm/employee/data.ts
@@ -10,6 +10,7 @@
 import { Button } from 'ant-design-vue';
 
 import { z } from '#/adapter/form';
+import { getSalaryStructureList } from '#/api/hrm/salary/structure';
 import { getDeptList } from '#/api/system/dept';
 import { getSimplePostList } from '#/api/system/post';
 import { getSimpleRoleList } from '#/api/system/role';
@@ -94,14 +95,15 @@
       rules: 'selectRequired',
     },
     {
-      fieldName: 'postId',
+      fieldName: 'postIds',
       label: '宀椾綅',
       component: 'ApiSelect',
       componentProps: {
         api: getSimplePostList,
         labelField: 'name',
         valueField: 'id',
-        placeholder: '璇烽�夋嫨宀椾綅',
+        mode: 'multiple',
+        placeholder: '璇烽�夋嫨宀椾綅锛堝彲澶氶�夛級',
       },
       rules: 'selectRequired',
     },
@@ -242,6 +244,19 @@
       },
     },
     {
+      fieldName: 'salaryStructureId',
+      label: '钖叕缁撴瀯',
+      component: 'ApiSelect',
+      componentProps: {
+        api: () => getSalaryStructureList({ status: 0 }),
+        labelField: 'name',
+        valueField: 'id',
+        allowClear: true,
+        placeholder: '璇烽�夋嫨钖叕缁撴瀯',
+      },
+      help: '鍐冲畾宸ヤ綔鏃ュ姞鐝�嶇巼锛涙湭閫夋嫨鏃朵娇鐢ㄧ郴缁熼粯璁� 1.5 鍊�',
+    },
+    {
       fieldName: 'baseSalary',
       label: '鍩烘湰宸ヨ祫',
       component: 'InputNumber',
@@ -353,7 +368,7 @@
     },
     { field: 'phone', title: '鎵嬫満鍙风爜', minWidth: 120 },
     { field: 'deptName', title: '閮ㄩ棬', minWidth: 120 },
-    { field: 'postName', title: '宀椾綅', minWidth: 120 },
+    { field: 'postNames', title: '宀椾綅', minWidth: 120 },
     { field: 'nation', title: '姘戞棌', width: 90 },
     { field: 'age', title: '骞撮緞', width: 70 },
     { field: 'education', title: '瀛﹀巻', width: 90 },
@@ -417,7 +432,7 @@
     { field: 'employeeNo', title: '鍛樺伐缂栧彿', minWidth: 120 },
     { field: 'name', title: '鍛樺伐濮撳悕', minWidth: 100 },
     { field: 'deptName', title: '閮ㄩ棬', minWidth: 120 },
-    { field: 'postName', title: '宀椾綅', minWidth: 120 },
+    { field: 'postNames', title: '宀椾綅', minWidth: 120 },
     { field: 'phone', title: '鎵嬫満鍙风爜', minWidth: 120 },
   ];
 }

--
Gitblit v1.9.3