| | |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={4}> |
| | | <TextInput |
| | | label={translate("table.field.deviceSite.deviceSite")} |
| | | name="deviceSites" |
| | | placeholder={translate('common.action.inputPlaceholder')} |
| | | size="small" |
| | | // type="number" |
| | | <ReferenceInput |
| | | source="deviceSites" |
| | | reference="basStation" |
| | | > |
| | | <SelectInput |
| | | label="table.field.deviceSite.deviceSite" |
| | | optionText="stationName" |
| | | /> |
| | | </ReferenceInput> |
| | | </Grid> |
| | | <Grid item xs={4}> |
| | | <TextInput |
| | | label={translate("table.field.deviceSite.site")} |
| | | name="site" |
| | | placeholder={translate('common.action.inputPlaceholder')} |
| | | size="small" |
| | | // type="number" |
| | | <ReferenceInput |
| | | source="site" |
| | | reference="basStation" |
| | | > |
| | | <SelectInput |
| | | label="table.field.deviceSite.site" |
| | | optionText="stationName" |
| | | /> |
| | | </ReferenceInput> |
| | | |
| | | </Grid> |
| | | <Grid item xs={4}> |
| | | <TextInput |
| | |
| | | // type="number" |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <ReferenceInput source="areaIdStart" label="table.field.deviceBind.typeId" reference="warehouseAreas" filter={{}}> |
| | | <AutocompleteInput optionValue="id" optionText="name" label={translate('table.field.deviceSite.areaIdStart')} /> |
| | | </ReferenceInput> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <ReferenceInput source="areaIdEnd" label="table.field.deviceBind.typeId" reference="warehouseAreas" filter={{}}> |
| | | <AutocompleteInput optionValue="id" optionText="name" label={translate('table.field.deviceSite.areaIdEnd')} /> |
| | | </ReferenceInput> |
| | | </Grid> |
| | | <Grid item xs={4}> |
| | | <SelectInput |
| | | label="table.field.deviceSite.flagInit" |