| | |
| | | validate={required()} |
| | | readOnly |
| | | /> |
| | | <NumberInput |
| | | label="table.field.loc.length" |
| | | source="length" |
| | | readOnly |
| | | /> |
| | | |
| | | <NumberInput |
| | | label="table.field.loc.width" |
| | | source="width" |
| | | readOnly |
| | | /> |
| | | |
| | | <NumberInput |
| | | label="table.field.loc.height" |
| | | source="height" |
| | | readOnly |
| | | /> |
| | | </Grid> |
| | | <Grid item display="flex" gap={1}> |
| | | <ReferenceArrayInput source="typeIds" reference="locType" > |
| | | <SelectArrayInput label="table.field.loc.type" readOnly/> |
| | | </ReferenceArrayInput> |
| | | <TextInput |
| | | label="table.field.loc.unit" |
| | | source="unit" |
| | | parse={v => v} |
| | | readOnly |
| | | /> |
| | | <DictionarySelect |
| | | label={translate("table.field.loc.useStatus")} |
| | | name="useStatus" |
| | |
| | | dictTypeCode="sys_loc_use_stas" |
| | | readOnly |
| | | /> |
| | | {/* <ReferenceArrayInput source="typeIds" reference="locType" > |
| | | <SelectArrayInput label="table.field.loc.type" readOnly/> |
| | | </ReferenceArrayInput> |
| | | <TextInput |
| | | label="table.field.loc.unit" |
| | | source="unit" |
| | | parse={v => v} |
| | | readOnly |
| | | /> */} |
| | | </Grid> |
| | | <Grid item display="flex" gap={1}> |
| | | <NumberInput |
| | | label="table.field.loc.length" |
| | | source="length" |
| | | readOnly |
| | | /> |
| | | <NumberInput |
| | | label="table.field.loc.width" |
| | | source="width" |
| | | readOnly |
| | | /> |
| | | <NumberInput |
| | | label="table.field.loc.height" |
| | | source="height" |
| | | readOnly |
| | | /> |
| | | <NumberInput |
| | | label="table.field.loc.row" |
| | | source="row" |
| | | validate={required()} |
| | | readOnly |
| | | /> |
| | | |
| | | <NumberInput |
| | | label="table.field.loc.col" |
| | | source="col" |