From 6f35f9dc767e99ad701f7f6e2f5d4c52b6cc1d0f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 14 十月 2026 14:05:26 +0800
Subject: [PATCH] refactor(wls): 将级联选择组件替换为普通输入框
---
src/views/crm/customer/detail/data.ts | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/crm/customer/detail/data.ts b/src/views/crm/customer/detail/data.ts
index 9d55b40..ec5b2ea 100644
--- a/src/views/crm/customer/detail/data.ts
+++ b/src/views/crm/customer/detail/data.ts
@@ -5,7 +5,7 @@
import { DICT_TYPE } from '@vben/constants';
import { useUserStore } from '@vben/stores';
-import { formatDateTime } from '@vben/utils';
+import { formatDate } from '@vben/utils';
import { getSimpleUserList } from '#/api/system/user';
import { DictTag } from '#/components/dict-tag';
@@ -47,6 +47,11 @@
h(DictTag, { type: DICT_TYPE.CRM_CUSTOMER_LEVEL, value: val }),
},
{
+ field: 'autoPoolEnabled',
+ label: '鏄惁娴佸叆鍏捣',
+ render: (val) => (val === false ? '鍚�' : '鏄�'),
+ },
+ {
field: 'dealStatus',
label: '鎴愪氦鐘舵��',
render: (val) => (val ? '宸叉垚浜�' : '鏈垚浜�'),
@@ -58,7 +63,7 @@
{
field: 'createTime',
label: '鍒涘缓鏃堕棿',
- render: (val) => formatDateTime(val) as string,
+ render: (val) => formatDate(val) as string,
},
];
}
@@ -120,7 +125,7 @@
{
field: 'contactNextTime',
label: '涓嬫鑱旂郴鏃堕棿',
- render: (val) => formatDateTime(val) as string,
+ render: (val) => formatDate(val) as string,
},
{
field: 'remark',
--
Gitblit v1.9.3