From baddb052ccd4a91ef1881ba663e6a4e55b05f4fb Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 14 十月 2026 15:51:55 +0800
Subject: [PATCH] feat(hrm): 社保公积金方案表单加「适用部门」与默认缴费基数,修比例输入精度

---
 src/views/mes/qc/template/data.ts |   47 +++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/src/views/mes/qc/template/data.ts b/src/views/mes/qc/template/data.ts
index 6301c05..0d3f941 100644
--- a/src/views/mes/qc/template/data.ts
+++ b/src/views/mes/qc/template/data.ts
@@ -17,7 +17,7 @@
 
 import { z } from '#/adapter/form';
 import { generateAutoCode } from '#/api/mes/md/autocode/record';
-import { getItemList } from '#/api/mdm/item';
+import { getItemSimpleList } from '#/api/mdm/item';
 import { MdUnitMeasureSelect } from '#/views/mes/md/unitmeasure/components';
 import { QcIndicatorSelect } from '#/views/mes/qc/indicator/components';
 
@@ -89,6 +89,15 @@
         placeholder: '璇烽�夋嫨妫�娴嬬绫�',
       },
       rules: z.array(z.number()).min(1, '妫�娴嬬绫讳笉鑳戒负绌�'),
+    },
+    {
+      fieldName: 'defaultExecuteStandard',
+      label: '榛樿鎵ц鏍囧噯',
+      component: 'Input',
+      componentProps: {
+        maxlength: 50,
+        placeholder: '濡� GB/T 6027锛屾柊寤烘楠屽崟閫夋嫨鏈柟妗堝悗鑷姩甯﹀叆鎵ц鏍囧噯',
+      },
     },
     {
       fieldName: 'remark',
@@ -249,6 +258,17 @@
       width: 100,
     },
     {
+      field: 'sortOrder',
+      title: '鎺掑簭鍙�',
+      width: 80,
+    },
+    {
+      field: 'judgeFlag',
+      title: '鍙備笌鍒ゅ畾',
+      width: 90,
+      slots: { default: 'judgeFlag' },
+    },
+    {
       title: '鎿嶄綔',
       width: 130,
       fixed: 'right',
@@ -334,6 +354,29 @@
       componentProps: {
         placeholder: '璇疯緭鍏ヨ鏄庡浘URL',
       },
+    },
+    {
+      fieldName: 'sortOrder',
+      label: '鎺掑簭鍙�',
+      component: 'InputNumber',
+      defaultValue: 0,
+      componentProps: {
+        class: '!w-full',
+        min: 0,
+        precision: 0,
+        placeholder: '鏂规鍐呭睍绀洪『搴忥紝灏忕殑鍦ㄥ墠',
+      },
+    },
+    {
+      fieldName: 'judgeFlag',
+      label: '鍙備笌鍒ゅ畾',
+      component: 'Switch',
+      defaultValue: true,
+      componentProps: {
+        checkedChildren: '鏄�',
+        unCheckedChildren: '鍚�',
+      },
+      help: '鍒嗙粍琛�/涓棿鍙傛暟琛岃涓哄惁锛屼粎鏈�缁堢粨鏋滈」鍙備笌鍚堟牸鍒ゅ畾鎻愮ず',
     },
     {
       fieldName: 'remark',
@@ -426,7 +469,7 @@
         placeholder: '璇烽�夋嫨浜у搧鐗╂枡',
         allowClear: true,
         showSearch: true,
-        api: getItemList,
+        api: getItemSimpleList,
         labelField: 'name',
         valueField: 'id',
         optionRender: (option: any) => {

--
Gitblit v1.9.3