From 5c243d9d05da668a32b1bc9a4f543ea081488d11 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期四, 20 八月 2026 14:08:03 +0800
Subject: [PATCH] feat 功能变更

---
 src/views/crm/customer/data.ts |   66 ++++++++++++++++++++++++++++++++
 1 files changed, 65 insertions(+), 1 deletions(-)

diff --git a/src/views/crm/customer/data.ts b/src/views/crm/customer/data.ts
index 199eac0..203cd55 100644
--- a/src/views/crm/customer/data.ts
+++ b/src/views/crm/customer/data.ts
@@ -45,6 +45,16 @@
       },
     },
     {
+      fieldName: 'customerType',
+      label: '瀹㈡埛鍒嗙被',
+      component: 'Select',
+      componentProps: {
+        options: getDictOptions(DICT_TYPE.CRM_CUSTOMER_TYPE),
+        placeholder: '璇烽�夋嫨瀹㈡埛鍒嗙被',
+        allowClear: true,
+      },
+    },
+    {
       fieldName: 'mobile',
       label: '鎵嬫満',
       component: 'Input',
@@ -154,7 +164,7 @@
       componentProps: {
         showTime: true,
         format: 'YYYY-MM-DD HH:mm:ss',
-        valueFormat: 'x',
+        valueFormat: 'YYYY-MM-DD HH:mm:ss',
         placeholder: '璇烽�夋嫨涓嬫鑱旂郴鏃堕棿',
         allowClear: true,
       },
@@ -198,6 +208,26 @@
       component: 'Input',
       componentProps: {
         placeholder: '璇疯緭鍏ョ數璇�',
+        allowClear: true,
+      },
+    },
+    {
+      fieldName: 'customerType',
+      label: '瀹㈡埛鍒嗙被',
+      component: 'Select',
+      componentProps: {
+        options: getDictOptions(DICT_TYPE.CRM_CUSTOMER_TYPE),
+        placeholder: '璇烽�夋嫨瀹㈡埛鍒嗙被',
+        allowClear: true,
+      },
+    },
+    {
+      fieldName: 'creditLevel',
+      label: '淇$敤绛夌骇',
+      component: 'Select',
+      componentProps: {
+        options: getDictOptions(DICT_TYPE.CRM_CREDIT_LEVEL),
+        placeholder: '璇烽�夋嫨淇$敤绛夌骇',
         allowClear: true,
       },
     },
@@ -276,6 +306,40 @@
       },
     },
     {
+      field: 'customerType',
+      title: '瀹㈡埛鍒嗙被',
+      minWidth: 100,
+      cellRender: {
+        name: 'CellDict',
+        props: { type: DICT_TYPE.CRM_CUSTOMER_TYPE },
+      },
+    },
+    {
+      field: 'creditLevel',
+      title: '淇$敤绛夌骇',
+      minWidth: 100,
+      cellRender: {
+        name: 'CellDict',
+        props: { type: DICT_TYPE.CRM_CREDIT_LEVEL },
+      },
+    },
+    {
+      field: 'creditScore',
+      title: '淇$敤鍒�',
+      minWidth: 90,
+    },
+    {
+      field: 'overdueAmount',
+      title: '娆犺垂閲戦',
+      minWidth: 110,
+      formatter: 'formatAmount2',
+    },
+    {
+      field: 'overdueCount',
+      title: '娆犺垂绗旀暟',
+      minWidth: 90,
+    },
+    {
       field: 'mobile',
       title: '鎵嬫満',
       minWidth: 120,

--
Gitblit v1.9.3