From 88e10f5656a0ad5530a9e37892fb327153d9dc8a Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期五, 27 六月 2025 13:25:35 +0800
Subject: [PATCH] feat(eims): 优化保养报表状态展示

---
 eims-ui/apps/web-antd/src/views/eims/fixture/data.tsx |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)

diff --git a/eims-ui/apps/web-antd/src/views/eims/fixture/data.tsx b/eims-ui/apps/web-antd/src/views/eims/fixture/data.tsx
index 8b58bfd..4d5e972 100644
--- a/eims-ui/apps/web-antd/src/views/eims/fixture/data.tsx
+++ b/eims-ui/apps/web-antd/src/views/eims/fixture/data.tsx
@@ -27,6 +27,14 @@
     label: '宸ュ叿鐘舵��'
   },
   {
+    component: 'Select',
+    componentProps: {
+      options: getDictOptions(DictEnum.FIXTURE_BORROW_STATUS)
+    },
+    fieldName: 'borrowStatus',
+    label: '鍊熺敤鐘舵��'
+  },
+  {
     component: 'Input',
     fieldName: 'assetNo',
     label: '璧勪骇缂栧彿'
@@ -82,7 +90,8 @@
     title: '宸ュ叿(娌诲叿)鍚嶇О',
     field: 'fixtureName',
     minWidth: 140,
-    fixed: 'left'
+    fixed: 'left',
+    slots: { default: 'fixtureName' }
   },
 
   {
@@ -101,6 +110,21 @@
     fixed: 'left'
   },
   {
+    title: '鍊熺敤鐘舵��',
+    field: 'borrowStatus',
+    sortable: true,
+    slots: {
+      default: ({ row }) => {
+        if (row.borrowStatus === null || row.borrowStatus === '') {
+          return '';
+        }
+        return renderDict(row.borrowStatus, DictEnum.FIXTURE_BORROW_STATUS);
+      }
+    },
+    minWidth: 100,
+    fixed: 'left'
+  },
+  {
     title: '绫诲瀷',
     field: 'fixtureTypeName',
     minWidth: 100
@@ -112,6 +136,11 @@
     minWidth: 140
   },
   {
+    title: '鍊熺敤浜�',
+    field: 'borrowUserName',
+    minWidth: 100
+  },
+  {
     title: '宸ュ叿缂栫爜',
     field: 'fixtureCode',
     sortable: true,

--
Gitblit v1.9.3