From cd8b52bdf89a4d1101f72e0ece9f4df22a3d3f7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 16:03:32 +0800
Subject: [PATCH] feat(mdm): 物料列表隐藏辅单位与销售价列
---
src/views/crm/customer/detail/data.ts | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/views/crm/customer/detail/data.ts b/src/views/crm/customer/detail/data.ts
index b4072f6..59aebac 100644
--- a/src/views/crm/customer/detail/data.ts
+++ b/src/views/crm/customer/detail/data.ts
@@ -3,9 +3,9 @@
import { h } from 'vue';
-import { DICT_TYPE } from '../../../../packages/constants/src';
-import { useUserStore } from '../../../../packages/stores/src';
-import { formatDateTime } from '../../../../packages/utils/src';
+import { DICT_TYPE } from '@vben/constants';
+import { useUserStore } from '@vben/stores';
+import { formatDate } from '@vben/utils';
import { getSimpleUserList } from '#/api/system/user';
import { DictTag } from '#/components/dict-tag';
@@ -47,9 +47,9 @@
h(DictTag, { type: DICT_TYPE.CRM_CUSTOMER_LEVEL, value: val }),
},
{
- field: 'dealStatus',
- label: '鎴愪氦鐘舵��',
- render: (val) => (val ? '宸叉垚浜�' : '鏈垚浜�'),
+ field: 'autoPoolEnabled',
+ label: '鏄惁娴佸叆鍏捣',
+ render: (val) => (val === false ? '鍚�' : '鏄�'),
},
{
field: 'ownerUserName',
@@ -58,7 +58,7 @@
{
field: 'createTime',
label: '鍒涘缓鏃堕棿',
- render: (val) => formatDateTime(val) as string,
+ render: (val) => formatDate(val) as string,
},
];
}
@@ -120,7 +120,7 @@
{
field: 'contactNextTime',
label: '涓嬫鑱旂郴鏃堕棿',
- render: (val) => formatDateTime(val) as string,
+ render: (val) => formatDate(val) as string,
},
{
field: 'remark',
--
Gitblit v1.9.3