| | |
| | | const translate = useTranslate(); |
| | | const [createDialog, setCreateDialog] = useState(false); |
| | | const [drawerVal, setDrawerVal] = useState(false); |
| | | // const dict = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_task_type' && dict.group == 3)) || []; |
| | | |
| | | |
| | | const filters = [ |
| | | <SearchInput source="condition" alwaysOn />, |
| | | <DateInput label='common.time.before' source="dayTime" alwaysOn />, |
| | | // <AutocompleteInput optionText="label" |
| | | // choices={dict} |
| | | // optionValue="value" |
| | | // label="table.field.stockStatistic.taskType" |
| | | // filter |
| | | // source="taskType" |
| | | // alwaysOn />, |
| | | <TextInput source="maktx" label="table.field.locItem.maktx" />, |
| | | <TextInput source="matnrCode" label="table.field.locItem.matnrCode" alwaysOn/>, |
| | | <TextInput source="batch" label="table.field.locItem.batch" />, |
| | |
| | | omit={['id', 'memo']} |
| | | > |
| | | <NumberField source="id" key="id-key"/> |
| | | {/* <TextField source="taskType$" label="table.field.stockStatistic.taskType" /> */} |
| | | <TextField source="dayTime" label="table.field.stockStatistic.dayTime" /> |
| | | <TextField source="matnrCode" label="table.field.locItem.matnrCode" /> |
| | | <TextField source="maktx" label="table.field.locItem.maktx" /> |