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/clue/data.ts | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/views/crm/clue/data.ts b/src/views/crm/clue/data.ts
index 5f202ff..857622c 100644
--- a/src/views/crm/clue/data.ts
+++ b/src/views/crm/clue/data.ts
@@ -3,9 +3,9 @@
import { markRaw } from 'vue';
-import { DICT_TYPE } from '..\..\..\packages\constants\src';
-import { getDictOptions } from '..\..\..\packages\effects\hooks\src';
-import { useUserStore } from '..\..\..\packages\stores\src';
+import { DICT_TYPE } from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
+import { useUserStore } from '@vben/stores';
import { getSimpleUserList } from '#/api/system/user';
import { AreaCascader } from '#/components/area';
@@ -143,8 +143,8 @@
component: 'DatePicker',
componentProps: {
showTime: true,
- format: 'YYYY-MM-DD HH:mm:ss',
- valueFormat: 'x',
+ format: 'YYYY-MM-DD',
+ valueFormat: 'YYYY-MM-DD HH:mm:ss',
placeholder: '璇烽�夋嫨涓嬫鑱旂郴鏃堕棿',
},
},
@@ -209,6 +209,7 @@
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
+ format: 'YYYY-MM-DD',
allowClear: true,
placeholder: ['寮�濮嬫棩鏈�', '缁撴潫鏃ユ湡'],
},
@@ -278,7 +279,7 @@
{
field: 'contactNextTime',
title: '涓嬫鑱旂郴鏃堕棿',
- formatter: 'formatDateTime',
+ formatter: 'formatDate',
minWidth: 180,
},
{
@@ -289,7 +290,7 @@
{
field: 'contactLastTime',
title: '鏈�鍚庤窡杩涙椂闂�',
- formatter: 'formatDateTime',
+ formatter: 'formatDate',
minWidth: 180,
},
{
@@ -310,13 +311,13 @@
{
field: 'updateTime',
title: '鏇存柊鏃堕棿',
- formatter: 'formatDateTime',
+ formatter: 'formatDate',
minWidth: 180,
},
{
field: 'createTime',
title: '鍒涘缓鏃堕棿',
- formatter: 'formatDateTime',
+ formatter: 'formatDate',
minWidth: 180,
},
{
--
Gitblit v1.9.3