From f0bb114ba37709cbe1aa55047fbf0c57cc07ab9d Mon Sep 17 00:00:00 2001
From: 朱桂飞 <zhuguifei@zhuguifeideMacBook-Air.local>
Date: 星期四, 20 二月 2025 15:54:42 +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