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

---
 zy-acs-flow/src/page/code/CodeEdit.jsx |   26 +++++++++++---------------
 1 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/zy-acs-flow/src/page/code/CodeEdit.jsx b/zy-acs-flow/src/page/code/CodeEdit.jsx
index dd58e78..c3af119 100644
--- a/zy-acs-flow/src/page/code/CodeEdit.jsx
+++ b/zy-acs-flow/src/page/code/CodeEdit.jsx
@@ -63,19 +63,28 @@
                         <Typography variant="h6" gutterBottom>
                             {translate('common.edit.title.main')}
                         </Typography>
-                        <Stack direction='row' gap={2}>
+                        {/* <Stack direction='row' gap={2}>
                             <TextInput
                                 label="table.field.code.uuid"
                                 source="uuid"
                                 parse={v => v}
                                 autoFocus
                             />
-                        </Stack>
+                        </Stack> */}
                         <Stack direction='row' gap={2}>
                             <TextInput
                                 label="table.field.code.data"
                                 source="data"
                                 parse={v => v}
+                                validate={required()}
+                            />
+                            <SelectInput
+                                label="table.field.code.concer"
+                                source="concer"
+                                choices={[
+                                    { id: '1', name: 'common.enums.true' },
+                                    { id: '0', name: 'common.enums.false' },
+                                ]}
                                 validate={required()}
                             />
                         </Stack>
@@ -84,22 +93,9 @@
                                 label="table.field.code.x"
                                 source="x"
                             />
-                        </Stack>
-                        <Stack direction='row' gap={2}>
                             <NumberInput
                                 label="table.field.code.y"
                                 source="y"
-                            />
-                        </Stack>
-                        <Stack direction='row' gap={2}>
-                            <SelectInput
-                                label="table.field.code.concer"
-                                source="concer"
-                                choices={[
-                                    { id: 1, name: '鏄�' },
-                                    { id: 0, name: '鍚�' },
-                                ]}
-                                validate={required()}
                             />
                         </Stack>
                         <Stack direction='row' gap={2}>

--
Gitblit v1.9.1