From ded5c2c6594aa59e8fd3b2366806a841a4991c0b Mon Sep 17 00:00:00 2001
From: verou <857149855@qq.com>
Date: 星期五, 11 四月 2025 14:18:41 +0800
Subject: [PATCH] fix:动态字段默认值
---
rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx b/rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx
index 2d234a2..daf37a0 100644
--- a/rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx
+++ b/rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx
@@ -124,7 +124,7 @@
source="longitude"
parse={v => v}
/>
- <TextInput
+ <TextInput
label="table.field.warehouse.latgitude"
source="latgitude"
parse={v => v}
@@ -135,7 +135,7 @@
label="table.field.warehouse.length"
source="length"
/>
- <NumberInput
+ <NumberInput
label="table.field.warehouse.width"
source="width"
/>
@@ -148,10 +148,19 @@
<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%'}>
+ <Grid item xs={6} display="flex" gap={1}>
+ <TextInput
+ label="common.field.memo"
+ source="memo"
+ parse={v => v}
+ fullWidth
+ multiline
+ minRows={2}
+ autoFocus
+ />
+ {/* <Stack direction="column" spacing={1} width={'100%'}>
<MemoInput />
- </Stack>
+ </Stack> */}
</Grid>
</Grid>
</DialogContent>
--
Gitblit v1.9.1