vincentlu
2026-01-05 583b31d46bb8abbee7410d29ca229120ee589cba
zy-acs-flow/src/page/agvModel/AgvModelEdit.jsx
@@ -85,15 +85,9 @@
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <NumberInput
                                label="table.field.agvModel.backpack"
                                source="backpack"
                            />
                            <NumberInput
                                label="table.field.agvModel.length"
                                source="length"
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <NumberInput
                                label="table.field.agvModel.width"
                                source="width"
@@ -111,6 +105,17 @@
                            <NumberInput
                                label="table.field.agvModel.diameter"
                                source="diameter"
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <TextInput
                                label="table.field.agvModel.password"
                                source="password"
                                parse={v => v}
                            />
                            <NumberInput
                                label="table.field.agvModel.backpack"
                                source="backpack"
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
@@ -139,11 +144,15 @@
                                source="protocol"
                                parse={v => v}
                            />
                            <TextInput
                            {/* <TextInput
                                label="table.field.agvModel.mqttTopic"
                                source="mqttTopic"
                                parse={v => v}
                            />
                            /> */}
                        </Stack>
                        <Stack direction='row' gap={2}>
                        </Stack>
                    </Grid>
                    <Grid item xs={12} md={4}>
@@ -154,14 +163,27 @@
                            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' },
                            ]}
                        />
                        <TextInput
                            label="table.field.agvModel.password"
                            source="password"
                            parse={v => v}
                        <SelectInput
                            label="table.field.agvModel.needUndocking"
                            source="needUndocking"
                            choices={[
                                { id: 0, name: 'common.enums.false' },
                                { id: 1, name: 'common.enums.true' },
                            ]}
                            validate={required()}
                        />
                        <SelectInput
                            label="table.field.agvModel.backupAction"
                            source="backupAction"
                            choices={[
                                { id: 0, name: 'common.enums.false' },
                                { id: 1, name: 'common.enums.true' },
                            ]}
                            validate={required()}
                        />
                        <StatusSelectInput />
                        <Box mt="2em" />