| | |
| | | <TextInput |
| | | label="table.field.locArea.name" |
| | | source="name" |
| | | validate={[required()]} |
| | | parse={v => v} |
| | | autoFocus |
| | | /> |
| | |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <NumberInput |
| | | label="table.field.locArea.areaId" |
| | | <ReferenceInput |
| | | source="areaId" |
| | | /> |
| | | reference="warehouseAreas" |
| | | > |
| | | <AutocompleteInput |
| | | label="table.field.locArea.areaId" |
| | | optionText="name" |
| | | validate={[required()]} |
| | | filterToQuery={(val) => ({ name: val })} |
| | | /> |
| | | </ReferenceInput> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | {/* <Grid item xs={6} display="flex" gap={1}> |
| | | <ReferenceInput |
| | | source="locId" |
| | | reference="loc" |
| | |
| | | filterToQuery={(val) => ({ warehouseId: val })} |
| | | /> |
| | | </ReferenceInput> |
| | | </Grid> |
| | | </Grid> */} |
| | | |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <StatusSelectInput /> |