From 6f5a86b74457f2fdad3caa63f3378e81624d47d2 Mon Sep 17 00:00:00 2001
From: lbq <1065079612@qq.com>
Date: 星期三, 11 二月 2026 08:22:14 +0800
Subject: [PATCH] 优化基础信息页面字段
---
rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx | 31 +++++++++++++++----------------
1 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx b/rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx
index 092025f..8e9407d 100644
--- a/rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx
+++ b/rsf-admin/src/page/basicInfo/basStation/BasStationList.jsx
@@ -131,18 +131,28 @@
bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
rowClick={(id, resource, record) => false}
expandSingle={true}
- omit={['id', 'createTime', 'createBy', 'memo', 'updateBy', 'autoTransfer']}
+ omit={['id', 'createTime', 'createBy', 'createBy$', 'memo', 'updateBy$', 'updateTime', 'autoTransfer', 'isCrossZone', 'isWcs', 'area$', 'memo']}
>
<NumberField source="id" />
- {/* <TextField source="type$" label="table.field.basStation.type" /> */}
+ {/* <TextField source="type$" label="table.field.basStation.type" /> */}
+ <TextField source="stationName" label="table.field.basStation.stationName" />
+ <TextField source="stationId" label="table.field.basStation.stationId" />
<FunctionField
source="type"
label="table.field.basStation.type"
render={record => record.type === 1 ? '鏅�氱珯鐐�' : '鏅鸿兘绔欑偣'}
/>
- <TextField source="stationName" label="table.field.basStation.stationName" />
- <TextField source="stationId" label="table.field.basStation.stationId" />
<TextField source="useStatus$" label="table.field.basStation.useStatus" />
+ <WrapperField cellClassName="containerType" label="table.field.basStation.containerType">
+ <ChipArrayField
+ source="containerTypes$"
+ apiEndpoint="/dictData/many/{ids}"
+ labelField="label"
+ dialogTitle={translate('table.field.basStation.containerType')}
+ initialDisplayCount={1}
+ placeholderText="{count} 涓尯鍩�"
+ />
+ </WrapperField>
<TextField source="barcode" label="table.field.basStation.barcode" />
<FunctionField
source="inAble"
@@ -165,7 +175,6 @@
open={areaFieldDialog}
setOpen={setAreaFieldDialog}
/> */}
-
<ChipArrayField
source="areaIds"
apiEndpoint="/warehouseAreas/many/{ids}"
@@ -180,16 +189,6 @@
label="table.field.basStation.isWcs"
render={record => record.inAble === 1 ? '鏄�' : '鍚�'}
/>
- <WrapperField cellClassName="containerType" label="table.field.basStation.containerType">
- <ChipArrayField
- source="containerTypes$"
- apiEndpoint="/dictData/many/{ids}"
- labelField="label"
- dialogTitle={translate('table.field.basStation.containerType')}
- initialDisplayCount={1}
- placeholderText="{count} 涓尯鍩�"
- />
- </WrapperField>
<FunctionField
source="autoTransfer"
label="table.field.basStation.autoTransfer"
@@ -199,7 +198,7 @@
<DateField source="updateTime" label="common.field.updateTime" showTime />
<TextField source="createBy$" label="common.field.createBy" />
<DateField source="createTime" label="common.field.createTime" showTime />
- <BooleanField source="statusBool" label="common.field.status" sortable={false} />
+ {/* <BooleanField source="statusBool" label="common.field.status" sortable={false} /> */}
<TextField source="memo" label="common.field.memo" sortable={false} />
<WrapperField cellClassName="opt" label="common.field.opt">
<EditButton sx={{ padding: '1px', fontSize: '.75rem' }} />
--
Gitblit v1.9.1