From 8edff8a9f69f462a68856bd63d51255936c53693 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 26 九月 2024 16:30:47 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/loc/LocEdit.jsx |   32 ++++++++++++++------------------
 1 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/zy-acs-flow/src/page/loc/LocEdit.jsx b/zy-acs-flow/src/page/loc/LocEdit.jsx
index 3c29e97..8658d03 100644
--- a/zy-acs-flow/src/page/loc/LocEdit.jsx
+++ b/zy-acs-flow/src/page/loc/LocEdit.jsx
@@ -141,15 +141,14 @@
                         </Stack>
                         <Stack direction='row' gap={2}>
                             <ReferenceInput
-                                source="locSts"
-                                reference="locSts"
+                                source="locType"
+                                reference="locType"
                                 perPage={REFERENCE_INPUT_PAGESIZE}
                             >
                                 <AutocompleteInput
-                                    label="table.field.loc.locSts"
+                                    label="table.field.loc.locType"
                                     optionText="name"
                                     filterToQuery={(val) => ({ name: val })}
-                                    validate={required()}
                                 />
                             </ReferenceInput>
                             <NumberInput
@@ -169,26 +168,23 @@
                                 parse={v => v}
                             />
                         </Stack>
-                        <Stack direction='row' gap={2}>
-                            
-                        </Stack>
-
                     </Grid>
                     <Grid item xs={12} md={4}>
                         <Typography variant="h6" gutterBottom>
                             {translate('common.edit.title.common')}
                         </Typography>
                         <ReferenceInput
-                                source="locType"
-                                reference="locType"
-                                perPage={REFERENCE_INPUT_PAGESIZE}
-                            >
-                                <AutocompleteInput
-                                    label="table.field.loc.locType"
-                                    optionText="name"
-                                    filterToQuery={(val) => ({ name: val })}
-                                />
-                            </ReferenceInput>
+                            source="locSts"
+                            reference="locSts"
+                            perPage={REFERENCE_INPUT_PAGESIZE}
+                        >
+                            <AutocompleteInput
+                                label="table.field.loc.locSts"
+                                optionText="name"
+                                filterToQuery={(val) => ({ name: val })}
+                                validate={required()}
+                            />
+                        </ReferenceInput>
                         <StatusSelectInput />
                         <Box mt="2em" />
                         <MemoInput />

--
Gitblit v1.9.1