From 14681dfe7052cb76eefcc0c17d0a0d708e1ac9dd Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期二, 13 五月 2025 16:31:14 +0800
Subject: [PATCH] 完成移动端基本功能
---
eims-ui/apps/web-antd/src/views/eims/fixture-borrow/data.tsx | 62 +++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/eims-ui/apps/web-antd/src/views/eims/fixture-borrow/data.tsx b/eims-ui/apps/web-antd/src/views/eims/fixture-borrow/data.tsx
index 8edf2c8..354fd9c 100644
--- a/eims-ui/apps/web-antd/src/views/eims/fixture-borrow/data.tsx
+++ b/eims-ui/apps/web-antd/src/views/eims/fixture-borrow/data.tsx
@@ -112,6 +112,68 @@
width: 200
}
];
+export const customColumns: VxeGridProps['columns'] = [
+ { type: 'checkbox', width: 60, fixed: 'left' },
+ {
+ title: '宸ュ叿鍚嶇О',
+ field: 'fixtureName',
+ minWidth: 100,
+ fixed: 'left',
+ slots: { default: 'fixtureName' }
+ },
+ {
+ title: '鍊熺敤鐘舵��',
+ field: 'status',
+ sortable: true,
+ slots: {
+ default: ({ row }) => {
+ if (row.status === null || row.status === '') {
+ return '';
+ }
+ return renderDict(row.status, DictEnum.FIXTURE_BORROW_RECORD_STATUS);
+ }
+ },
+ minWidth: 100,
+ fixed: 'left'
+ },
+ {
+ title: '鍊熺敤閮ㄩ棬',
+ field: 'borrowDeptName',
+ minWidth: 120
+ },
+ {
+ title: '鍊熺敤浜�',
+ field: 'borrowUserName',
+ minWidth: 100
+ },
+ {
+ title: '缁忓姙浜�',
+ field: 'agentUserName',
+ minWidth: 100
+ },
+ {
+ title: '鍊熺敤鏃堕棿',
+ field: 'borrowTime',
+ minWidth: 120
+ },
+ {
+ title: '鍊熺敤鍘熷洜',
+ field: 'borrowReason',
+ minWidth: 140
+ },
+ {
+ title: '棰勮褰掕繕鏃堕棿',
+ field: 'planReturnTime',
+ minWidth: 160
+ },
+ {
+ title: '瀹為檯褰掕繕鏃堕棿',
+ field: 'returnTime',
+ minWidth: 160
+ }
+];
+
+
export const drawerSchema: FormSchemaGetter = () => [
{
--
Gitblit v1.9.3