From 384e2196a02471d972cb4516e70ffc0540729d9c Mon Sep 17 00:00:00 2001
From: lbq <1065079612@qq.com>
Date: 星期六, 07 二月 2026 10:53:15 +0800
Subject: [PATCH] 优化基础信息界面属性
---
rsf-admin/src/page/basicInfo/basContainer/BasContainerCreate.jsx | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/basContainer/BasContainerCreate.jsx b/rsf-admin/src/page/basicInfo/basContainer/BasContainerCreate.jsx
index 5132283..4c1180e 100644
--- a/rsf-admin/src/page/basicInfo/basContainer/BasContainerCreate.jsx
+++ b/rsf-admin/src/page/basicInfo/basContainer/BasContainerCreate.jsx
@@ -99,11 +99,12 @@
<TextInput
label="table.field.basContainer.codeType"
source="codeType"
+ validate={[required()]}
parse={v => v}
/>
</Grid>
<Grid item xs={6} display="flex" gap={1}>
- <ReferenceArrayInput source="areaIds" reference="warehouseAreas">
+ <ReferenceArrayInput source="areas" reference="warehouseAreas" sort={{ field: 'sort', order: 'ASC' }}>
<SelectArrayInput
label="table.field.basStation.crossZoneArea"
optionText="name"
@@ -114,14 +115,14 @@
</ReferenceArrayInput>
</Grid>
- <Grid item xs={6} display="flex" gap={1}>
+ {/* <Grid item xs={6} display="flex" gap={1}>
<StatusSelectInput />
</Grid>
<Grid item xs={12} display="flex" gap={1}>
<Stack direction="column" spacing={1} width={'100%'}>
<MemoInput />
</Stack>
- </Grid>
+ </Grid> */}
</Grid>
</DialogContent>
<DialogActions sx={{ position: 'sticky', bottom: 0, backgroundColor: 'background.paper', zIndex: 1000 }}>
--
Gitblit v1.9.1