From 24bee1a669c3f01f4c3ce7c6f4f4e2e37fe3dfe2 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期六, 10 一月 2026 08:34:40 +0800
Subject: [PATCH] #application-dev

---
 rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx |   58 +++++++++++++++++++++++++++++++---------------------------
 1 files changed, 31 insertions(+), 27 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx b/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
index b8d67b3..57a42ef 100644
--- a/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
+++ b/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
@@ -70,14 +70,6 @@
                                 source="factory"
                                 validate={[required()]}
                                 parse={v => v}
-                            />
-                        </Stack>
-                        <Stack direction='row' gap={2}>
-                            <TextInput
-                                label="table.field.warehouse.name"
-                                source="name"
-                                validate={[required()]}
-                                parse={v => v}
                                 autoFocus
                             />
                         </Stack>
@@ -89,16 +81,23 @@
                                 parse={v => v}
                             />
                         </Stack>
-
+                        <Stack direction='row' gap={2}>
+                            <TextInput
+                                label="table.field.warehouse.name"
+                                source="name"
+                                validate={[required()]}
+                                parse={v => v}                                
+                            />
+                        </Stack>
                         <Stack direction='row' gap={2}>
                             <TextInput
                                 label="table.field.warehouse.address"
                                 source="address"
-                                validate={[required()]}
+                                // validate={[required()]}
                                 parse={v => v}
                             />
                         </Stack>
-                        <Stack direction='row' gap={2}>
+                        {/* <Stack direction='row' gap={2}>
                             <TextInput
                                 label="table.field.warehouse.longitude"
                                 source="longitude"
@@ -126,24 +125,29 @@
                                 label="table.field.warehouse.height"
                                 source="height"
                             />
+                        </Stack> */}
+                        <Stack direction='row' gap={2}>
+                            <SelectInput
+                                label="common.field.status"
+                                source="status"
+                                validate={[required()]}
+                                choices={[
+                                    { id: '1', name: 'common.enums.statusTrue' },
+                                    { id: '0', name: 'common.enums.statusFalse' },
+                                ]}
+                                resettable
+                            />
+                        </Stack>
+                          <Stack direction='row' gap={2}>                           
+                            <TextInput
+                                label="common.field.memo"
+                                source="memo"
+                                // validate={[required()]}
+                                parse={v => v}
+                            />
                         </Stack>
                     </Grid>
-                    <Grid item xs={12} md={4}>
-                        <Typography variant="h6" gutterBottom>
-                            {translate('common.edit.title.common')}
-                        </Typography>
-                        <StatusSelectInput />
-                        <Box mt="2em" />
-                        <TextInput
-                            label="common.field.memo"
-                            source="memo"
-                            parse={v => v}
-                            fullWidth
-                            multiline
-                            minRows={2}
-                            autoFocus
-                        />
-                    </Grid>
+                    
                 </Grid>
             </SimpleForm>
         </Edit >

--
Gitblit v1.9.1