From 44153e246cc041180f8544e05d81f5432b14a808 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期三, 04 三月 2026 07:52:45 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/agvModel/AgvModelCreate.jsx |   54 ++++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 46 insertions(+), 8 deletions(-)

diff --git a/zy-acs-flow/src/page/agvModel/AgvModelCreate.jsx b/zy-acs-flow/src/page/agvModel/AgvModelCreate.jsx
index 365b716..2b28c0e 100644
--- a/zy-acs-flow/src/page/agvModel/AgvModelCreate.jsx
+++ b/zy-acs-flow/src/page/agvModel/AgvModelCreate.jsx
@@ -108,19 +108,33 @@
                                         validate={required()}
                                     />
                                 </Grid>
-                                <Grid item xs={6} display="flex" gap={1}>
+                                <Grid item xs={4} display="flex" gap={1}>
                                     <NumberInput
                                         label="table.field.agvModel.length"
                                         source="length"
                                     />
                                 </Grid>
-                                <Grid item xs={6} display="flex" gap={1}>
+                                <Grid item xs={4} display="flex" gap={1}>
+                                    <NumberInput
+                                        label="table.field.agvModel.headOffset"
+                                        source="headOffset"
+                                        validate={required()}
+                                    />
+                                </Grid>
+                                <Grid item xs={4} display="flex" gap={1}>
+                                    <NumberInput
+                                        label="table.field.agvModel.tailOffset"
+                                        source="tailOffset"
+                                        validate={required()}
+                                    />
+                                </Grid>
+                                <Grid item xs={4} display="flex" gap={1}>
                                     <NumberInput
                                         label="table.field.agvModel.width"
                                         source="width"
                                     />
                                 </Grid>
-                                <Grid item xs={6} display="flex" gap={1}>
+                                <Grid item xs={4} display="flex" gap={1}>
                                     <NumberInput
                                         label="table.field.agvModel.height"
                                         source="height"
@@ -157,12 +171,14 @@
                                     <NumberInput
                                         label="table.field.agvModel.lowBattery"
                                         source="lowBattery"
+                                        validate={required()}
                                     />
                                 </Grid>
                                 <Grid item xs={6} display="flex" gap={1}>
                                     <NumberInput
                                         label="table.field.agvModel.quaBattery"
                                         source="quaBattery"
+                                        validate={required()}
                                     />
                                 </Grid>
                                 <Grid item xs={6} display="flex" gap={1}>
@@ -183,8 +199,8 @@
                                         label="table.field.agvModel.allDirection"
                                         source="allDirection"
                                         choices={[
-                                            { id: 0, name: '鍚�' },
-                                            { id: 1, name: '鏄�' },
+                                            { id: 0, name: 'common.enums.false' },
+                                            { id: 1, name: 'common.enums.true' },
                                         ]}
                                         validate={required()}
                                     />
@@ -196,17 +212,39 @@
                                         parse={v => v}
                                     />
                                 </Grid>
-                                <Grid item xs={6} display="flex" gap={1}>
+                                {/* <Grid item xs={6} display="flex" gap={1}>
                                     <TextInput
                                         label="table.field.agvModel.mqttTopic"
                                         source="mqttTopic"
                                         parse={v => v}
                                     />
+                                </Grid> */}
+                                <Grid item xs={6} display="flex" gap={1}>
+                                    <SelectInput
+                                        label="table.field.agvModel.needUndocking"
+                                        source="needUndocking"
+                                        choices={[
+                                            { id: 0, name: 'common.enums.false' },
+                                            { id: 1, name: 'common.enums.true' },
+                                        ]}
+                                        validate={required()}
+                                    />
+                                </Grid>
+                                <Grid item xs={6} display="flex" gap={1}>
+                                    <SelectInput
+                                        label="table.field.agvModel.backupAction"
+                                        source="backupAction"
+                                        choices={[
+                                            { id: 0, name: 'common.enums.false' },
+                                            { id: 1, name: 'common.enums.true' },
+                                        ]}
+                                        validate={required()}
+                                    />
                                 </Grid>
 
-                                <Grid item xs={6} display="flex" gap={1}>
+                                {/* <Grid item xs={6} display="flex" gap={1}>
                                     <StatusSelectInput />
-                                </Grid>
+                                </Grid> */}
                                 <Grid item xs={12} display="flex" gap={1}>
                                     <Stack direction="column" spacing={1} width={'100%'}>
                                         <MemoInput />

--
Gitblit v1.9.1