| | |
| | | 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.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" |
| | |
| | | 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()} |
| | | /> |
| | |
| | | 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}> |