| | |
| | | {translate('common.edit.title.main')} |
| | | </Typography> |
| | | <Grid container rowSpacing={2} columnSpacing={2}> |
| | | <Grid item display="flex" gap={2}> |
| | | <Grid item xs={12} display="flex" gap={2}> |
| | | <ReferenceInput |
| | | source="warehouseId" |
| | | reference="warehouse" |
| | |
| | | parse={v => v} |
| | | validate={required()} |
| | | /> |
| | | <NumberInput |
| | | label="table.field.loc.length" |
| | | source="length" |
| | | /> |
| | | |
| | | <NumberInput |
| | | label="table.field.loc.width" |
| | | source="width" |
| | | /> |
| | | |
| | | <NumberInput |
| | | label="table.field.loc.height" |
| | | source="height" |
| | | /> |
| | | </Grid> |
| | | <Grid item display="flex" gap={1}> |
| | | <ReferenceArrayInput source="typeIds" reference="locType" > |
| | | <SelectArrayInput label="table.field.loc.type" /> |
| | | </ReferenceArrayInput> |
| | | <TextInput |
| | | label="table.field.loc.unit" |
| | | source="unit" |
| | | parse={v => v} |
| | | /> |
| | | <DictionarySelect |
| | | label={translate("table.field.loc.useStatus")} |
| | | name="useStatus" |
| | |
| | | size="small" |
| | | dictTypeCode="sys_loc_use_stas" |
| | | /> |
| | | {/* <NumberInput |
| | | label="table.field.loc.length" |
| | | source="length" |
| | | /> |
| | | <NumberInput |
| | | label="table.field.loc.width" |
| | | source="width" |
| | | /> |
| | | <NumberInput |
| | | label="table.field.loc.height" |
| | | source="height" |
| | | /> */} |
| | | </Grid> |
| | | <Grid item xs={12} display="flex" gap={1}> |
| | | <ReferenceArrayInput source="typeIds" reference="locType" > |
| | | <SelectArrayInput label="table.field.loc.type" /> |
| | | </ReferenceArrayInput> |
| | | {/* <TextInput |
| | | label="table.field.loc.unit" |
| | | source="unit" |
| | | parse={v => v} |
| | | /> */} |
| | | <NumberInput |
| | | label="table.field.loc.channel" |
| | | source="channel" |
| | | /> |
| | | <NumberInput |
| | | label="table.field.loc.row" |
| | | source="row" |
| | | validate={required()} |
| | | /> |
| | | |
| | | <NumberInput |
| | | label="table.field.loc.col" |
| | | source="col" |
| | | validate={required()} |
| | | /> |
| | | |
| | | <NumberInput |
| | | label="table.field.loc.lev" |
| | | source="lev" |