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 | 64 ++++++++++++++++++++++++++++++++
1 files changed, 64 insertions(+), 0 deletions(-)
diff --git a/src/views/crm/customer/data.ts b/src/views/crm/customer/data.ts
index d3372ee..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',
@@ -202,6 +212,26 @@
},
},
{
+ 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,
+ },
+ },
+ {
fieldName: 'createTime',
label: '鍒涘缓鏃堕棿',
component: 'RangePicker',
@@ -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