From fa061c4f157017cdf59e4357cbe182a0e1204ee7 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 14 十月 2026 09:29:28 +0800
Subject: [PATCH] feat(crm-invoice): 新增开票Excel批量导入功能

---
 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