| | |
| | | }, |
| | | })); |
| | | |
| | | const locUseStatusChoices = typeof localStorage !== 'undefined' |
| | | ? (JSON.parse(localStorage.getItem('sys_dicts') || '[]')).filter((d) => d.dictTypeCode === 'sys_loc_use_stas') |
| | | : []; |
| | | |
| | | const filters = [ |
| | | <SearchInput source="condition" alwaysOn />, |
| | | <AutocompleteInput |
| | | source="useStatus" |
| | | label="table.field.loc.useStatus" |
| | | choices={locUseStatusChoices} |
| | | optionText="label" |
| | | optionValue="value" |
| | | resettable |
| | | />, |
| | | <NumberInput source="locId" label="table.field.locItem.locId" />, |
| | | <TextInput source="locCode" label="table.field.locItem.locCode" />, |
| | | <NumberInput source="matnrId" label="table.field.locItem.matnrId" />, |