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/followup/data.ts |   27 ++++++++++++++++-----------
 1 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/src/views/crm/followup/data.ts b/src/views/crm/followup/data.ts
index 0c505b8..03e3375 100644
--- a/src/views/crm/followup/data.ts
+++ b/src/views/crm/followup/data.ts
@@ -4,9 +4,9 @@
 import type { VxeTableGridOptions } from '#/adapter/vxe-table';
 import type { DescriptionItemSchema } from '#/components/description';
 
-import { DICT_TYPE } from '..\..\..\packages\constants\src';
-import { getDictOptions } from '..\..\..\packages\effects\hooks\src';
-import { formatDateTime } from '..\..\..\packages\utils\src';
+import { DICT_TYPE } from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
+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',
@@ -66,9 +66,14 @@
       component: 'ImageUpload',
     },
     {
-      fieldName: 'fileUrls',
+      fieldName: 'blobIds',
       label: '闄勪欢',
       component: 'FileUpload',
+      componentProps: {
+        valueKey: 'id',
+        maxNumber: 10,
+        multiple: true,
+      },
     },
     {
       fieldName: 'contactIds',
@@ -123,7 +128,7 @@
     {
       field: 'createTime',
       title: '鍒涘缓鏃堕棿',
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     { field: 'creatorName', title: '璺熻繘浜�' },
     {
@@ -138,7 +143,7 @@
     {
       field: 'nextTime',
       title: '涓嬫鑱旂郴鏃堕棿',
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     {
       field: 'contacts',
@@ -174,7 +179,7 @@
     {
       field: 'contactLastTime',
       label: '鏈�鍚庤窡杩涙椂闂�',
-      render: (val) => formatDateTime(val) as string,
+      render: (val) => formatDate(val) as string,
     },
     {
       field: 'creatorName',
@@ -183,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