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/crm/contract/data.ts |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/crm/contract/data.ts b/src/views/crm/contract/data.ts
index 7dabc09..53e2a89 100644
--- a/src/views/crm/contract/data.ts
+++ b/src/views/crm/contract/data.ts
@@ -28,10 +28,11 @@
       fieldName: 'no',
       label: '鍚堝悓缂栧彿',
       component: 'Input',
-      componentProps: {
-        placeholder: '淇濆瓨鏃惰嚜鍔ㄧ敓鎴�',
-        disabled: true,
-      },
+      componentProps: (values) => ({
+        placeholder: values?.id ? '鐣欑┖鍒欎繚鎸佸師缂栧彿' : '鐣欑┖鍒欒嚜鍔ㄧ敓鎴�',
+        allowClear: true,
+        maxlength: 100,
+      }),
     },
     {
       fieldName: 'name',

--
Gitblit v1.9.3