From 4cc644945bda98e1ec30828944796ce2fb96e698 Mon Sep 17 00:00:00 2001
From: yangyang
Date: 星期五, 21 三月 2025 07:58:59 +0800
Subject: [PATCH] #修改 1. 逻辑分区绑定 2. 物料代码优化
---
rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx b/rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx
index 2d234a2..82d24d1 100644
--- a/rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx
+++ b/rsf-admin/src/page/basicInfo/warehouse/WarehouseCreate.jsx
@@ -94,14 +94,14 @@
/>
</Grid>
- <Grid item xs={6} display="flex" gap={1}>
+ {/* <Grid item xs={6} display="flex" gap={1}>
<TextInput
label="table.field.warehouse.code"
source="code"
validate={[required()]}
parse={v => v}
/>
- </Grid>
+ </Grid> */}
<Grid item xs={6} display="flex" gap={1}>
<TextInput
label="table.field.warehouse.name"
@@ -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,20 @@
<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
+ {...props}
+ />
+ {/* <Stack direction="column" spacing={1} width={'100%'}>
<MemoInput />
- </Stack>
+ </Stack> */}
</Grid>
</Grid>
</DialogContent>
--
Gitblit v1.9.1