From 2731cae57eddc3c8ea8de2c640df54a3f9f28c39 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 13 十月 2026 15:15:26 +0800
Subject: [PATCH] feat(invoice): 添加发票编辑权限控制
---
src/views/crm/followup/data.ts | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/views/crm/followup/data.ts b/src/views/crm/followup/data.ts
index 9ff3914..03e3375 100644
--- a/src/views/crm/followup/data.ts
+++ b/src/views/crm/followup/data.ts
@@ -6,7 +6,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
-import { formatDateTime } from '@vben/utils';
+import { formatDate } from '@vben/utils';
import { getBusinessPageByCustomer } from '#/api/crm/business';
import { getContactPageByCustomer } from '#/api/crm/contact';
@@ -48,8 +48,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: '璇烽�夋嫨涓嬫鑱旂郴鏃堕棿',
},
rules: 'required',
@@ -128,7 +128,7 @@
{
field: 'createTime',
title: '鍒涘缓鏃堕棿',
- formatter: 'formatDateTime',
+ formatter: 'formatDate',
},
{ field: 'creatorName', title: '璺熻繘浜�' },
{
@@ -143,7 +143,7 @@
{
field: 'nextTime',
title: '涓嬫鑱旂郴鏃堕棿',
- formatter: 'formatDateTime',
+ formatter: 'formatDate',
},
{
field: 'contacts',
@@ -179,7 +179,7 @@
{
field: 'contactLastTime',
label: '鏈�鍚庤窡杩涙椂闂�',
- render: (val) => formatDateTime(val) as string,
+ render: (val) => formatDate(val) as string,
},
{
field: 'creatorName',
@@ -188,12 +188,12 @@
{
field: 'createTime',
label: '鍒涘缓鏃堕棿',
- render: (val) => formatDateTime(val) as string,
+ render: (val) => formatDate(val) as string,
},
{
field: 'updateTime',
label: '鏇存柊鏃堕棿',
- render: (val) => formatDateTime(val) as string,
+ render: (val) => formatDate(val) as string,
},
];
}
--
Gitblit v1.9.3