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/customer/pool/data.ts |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/src/views/crm/customer/pool/data.ts b/src/views/crm/customer/pool/data.ts
index 44bf318..728bf70 100644
--- a/src/views/crm/customer/pool/data.ts
+++ b/src/views/crm/customer/pool/data.ts
@@ -1,8 +1,8 @@
 import type { VbenFormSchema } from '#/adapter/form';
 import type { VxeTableGridOptions } from '#/adapter/vxe-table';
 
-import { DICT_TYPE } from '..\..\..\..\packages\constants\src';
-import { getDictOptions } from '..\..\..\..\packages\effects\hooks\src';
+import { DICT_TYPE } from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
 
 /** 鍒楄〃鐨勬悳绱㈣〃鍗� */
 export function useGridFormSchema(): VbenFormSchema[] {
@@ -60,6 +60,7 @@
 
 export function useGridColumns(): VxeTableGridOptions['columns'] {
   return [
+    { type: 'checkbox', width: 50, fixed: 'left' },
     {
       title: '瀹㈡埛鍚嶇О',
       field: 'name',
@@ -113,7 +114,7 @@
       title: '涓嬫鑱旂郴鏃堕棿',
       field: 'contactNextTime',
       minWidth: 180,
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     {
       title: '澶囨敞',
@@ -133,7 +134,7 @@
       title: '鏈�鍚庤窡杩涙椂闂�',
       field: 'contactLastTime',
       minWidth: 180,
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     {
       title: '鏈�鍚庤窡杩涜褰�',
@@ -144,18 +145,24 @@
       title: '鏇存柊鏃堕棿',
       field: 'updateTime',
       minWidth: 180,
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     {
       title: '鍒涘缓鏃堕棿',
       field: 'createTime',
       minWidth: 180,
-      formatter: 'formatDateTime',
+      formatter: 'formatDate',
     },
     {
       title: '鍒涘缓浜�',
       field: 'creatorName',
       minWidth: 100,
     },
+    {
+      title: '鎿嶄綔',
+      width: 150,
+      fixed: 'right',
+      slots: { default: 'actions' },
+    },
   ];
 }

--
Gitblit v1.9.3