From f9a12ecb4ea4b7b103b50634335704140237fef7 Mon Sep 17 00:00:00 2001 From: 朱桂飞 <zhuguifei@zhuguifeideMacBook-Air.local> Date: 星期三, 19 二月 2025 15:11:28 +0800 Subject: [PATCH] 完成工具借用、归还相关 --- eims-ui/apps/web-antd/src/views/eims/fixture/data.tsx | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 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..406f76e 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: '璧勪骇缂栧彿' @@ -101,6 +109,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 +135,11 @@ minWidth: 140 }, { + title: '鍊熺敤浜�', + field: 'borrowUserName', + minWidth: 100 + }, + { title: '宸ュ叿缂栫爜', field: 'fixtureCode', sortable: true, -- Gitblit v1.9.3