| | |
| | | parse={v => v} |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <NumberInput |
| | | label="table.field.deviceBind.typeId" |
| | | source="typeId" |
| | | /> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <ReferenceInput source="typeId" label="table.field.deviceBind.typeId" reference="warehouseAreas" filter={{}}> |
| | | <AutocompleteInput optionValue="id" optionText="name" label="table.field.deviceBind.typeId" /> |
| | | </ReferenceInput> |
| | | </Grid> |
| | | <Grid item xs={6} display="flex" gap={1}> |
| | | <TextInput |
| | |
| | | /> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <NumberInput |
| | | label="table.field.deviceBind.typeId" |
| | | source="typeId" |
| | | /> |
| | | <ReferenceInput source="typeId" label="table.field.deviceBind.typeId" reference="warehouseAreas" filter={{}}> |
| | | <AutocompleteInput optionValue="id" optionText="name" label="table.field.deviceBind.typeId" /> |
| | | </ReferenceInput> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <TextInput |
| | |
| | | String shallowLoc = LocUtils.getDeepLoc(slaveProperties, locMast1.getCode()); |
| | | Loc locMast2 = locService.getOne(new LambdaQueryWrapper<Loc>() |
| | | .eq(Loc::getCode, shallowLoc) |
| | | .eq(Loc::getUseStatus, "O") |
| | | .eq(Loc::getUseStatus, LocUseStatusType.Empty_Slot.type) |
| | | .eq(Loc::getAreaId,area) |
| | | ); |
| | | if (!Cools.isEmpty(locMast2)) { |