From 747c450bd0e2fe8b989e2ba514f35c58625b8a01 Mon Sep 17 00:00:00 2001
From: lbq <1065079612@qq.com>
Date: 星期五, 23 一月 2026 16:24:59 +0800
Subject: [PATCH] 库存字段顺序优化

---
 rsf-admin/src/page/locPreview/LocPreviewEdit.jsx |   55 ++++++++++++++++++++++++++-----------------------------
 1 files changed, 26 insertions(+), 29 deletions(-)

diff --git a/rsf-admin/src/page/locPreview/LocPreviewEdit.jsx b/rsf-admin/src/page/locPreview/LocPreviewEdit.jsx
index 5033a64..424a37c 100644
--- a/rsf-admin/src/page/locPreview/LocPreviewEdit.jsx
+++ b/rsf-admin/src/page/locPreview/LocPreviewEdit.jsx
@@ -112,34 +112,6 @@
                                         validate={required()}
                                         readOnly
                                     />
-                                    <NumberInput
-                                        label="table.field.loc.length"
-                                        source="length"
-                                        readOnly
-                                    />
-
-                                    <NumberInput
-                                        label="table.field.loc.width"
-                                        source="width"
-                                        readOnly
-                                    />
-
-                                    <NumberInput
-                                        label="table.field.loc.height"
-                                        source="height"
-                                        readOnly
-                                    />
-                                </Grid>
-                                <Grid item display="flex" gap={1}>
-                                    <ReferenceArrayInput source="typeIds" reference="locType" >
-                                        <SelectArrayInput label="table.field.loc.type"  readOnly/>
-                                    </ReferenceArrayInput>
-                                    <TextInput
-                                        label="table.field.loc.unit"
-                                        source="unit"
-                                        parse={v => v}
-                                        readOnly
-                                    />
                                     <DictionarySelect
                                         label={translate("table.field.loc.useStatus")}
                                         name="useStatus"
@@ -148,13 +120,38 @@
                                         dictTypeCode="sys_loc_use_stas"
                                         readOnly
                                     />
+                                    {/* <ReferenceArrayInput source="typeIds" reference="locType" >
+                                        <SelectArrayInput label="table.field.loc.type"  readOnly/>
+                                    </ReferenceArrayInput>
+                                    <TextInput
+                                        label="table.field.loc.unit"
+                                        source="unit"
+                                        parse={v => v}
+                                        readOnly
+                                    /> */}
+                                </Grid>
+                                <Grid item display="flex" gap={1}>
+                                    <NumberInput
+                                        label="table.field.loc.length"
+                                        source="length"
+                                        readOnly
+                                    />
+                                    <NumberInput
+                                        label="table.field.loc.width"
+                                        source="width"
+                                        readOnly
+                                    />
+                                    <NumberInput
+                                        label="table.field.loc.height"
+                                        source="height"
+                                        readOnly
+                                    />
                                     <NumberInput
                                         label="table.field.loc.row"
                                         source="row"
                                         validate={required()}
                                         readOnly
                                     />
-
                                     <NumberInput
                                         label="table.field.loc.col"
                                         source="col"

--
Gitblit v1.9.1