| | |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <AutocompleteInput |
| | | choices={dicts} |
| | | optionText="label" |
| | | <TextInput |
| | | label="table.field.basStation.stationId" |
| | | source="stationId" |
| | | parse={v => v} |
| | | autoFocus |
| | | validate={[required()]} |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <SelectInput |
| | | label="table.field.basStation.type" |
| | | source="type" |
| | | optionValue="value" |
| | | parse={v => v} |
| | | validate={[required()]} /> |
| | | choices={[ |
| | | { id: 0, name: '光电' }, |
| | | { id: 1, name: '无光电' }, |
| | | ]} |
| | | validate={[required()]} |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <SelectInput |