From 97304f6bb74875063755e53721d44b2f2a587cc5 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 15 三月 2025 17:32:41 +0800
Subject: [PATCH] #修改 1. mybatis Map驼峰不转换问题修复 2. 字段修改导致接口显示问题修复
---
rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx b/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
index de45085..2e1dee5 100644
--- a/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
+++ b/rsf-admin/src/page/basicInfo/warehouse/WarehouseEdit.jsx
@@ -65,6 +65,14 @@
</Typography>
<Stack direction='row' gap={2}>
<TextInput
+ label="table.field.warehouse.factory"
+ source="factory"
+ validate={[required()]}
+ parse={v => v}
+ />
+ </Stack>
+ <Stack direction='row' gap={2}>
+ <TextInput
label="table.field.warehouse.name"
source="name"
validate={[required()]}
@@ -76,17 +84,11 @@
<TextInput
label="table.field.warehouse.code"
source="code"
- parse={v => v}
- />
- </Stack>
- <Stack direction='row' gap={2}>
- <TextInput
- label="table.field.warehouse.factory"
- source="factory"
validate={[required()]}
parse={v => v}
/>
</Stack>
+
<Stack direction='row' gap={2}>
<TextInput
label="table.field.warehouse.address"
@@ -101,8 +103,6 @@
source="longitude"
parse={v => v}
/>
- </Stack>
- <Stack direction='row' gap={2}>
<TextInput
label="table.field.warehouse.latgitude"
source="latgitude"
@@ -110,24 +110,22 @@
/>
</Stack>
<Stack direction='row' gap={2}>
+
+ </Stack>
+ <Stack direction='row' gap={2}>
<NumberInput
label="table.field.warehouse.length"
source="length"
/>
- </Stack>
- <Stack direction='row' gap={2}>
<NumberInput
label="table.field.warehouse.width"
source="width"
/>
- </Stack>
- <Stack direction='row' gap={2}>
<NumberInput
label="table.field.warehouse.height"
source="height"
/>
</Stack>
-
</Grid>
<Grid item xs={12} md={4}>
<Typography variant="h6" gutterBottom>
--
Gitblit v1.9.1