| | |
| | | <DateInput label='common.time.before' source="timeEnd" alwaysOn />, |
| | | |
| | | // <TextInput source="uuid" label="table.field.task.uuid" />, |
| | | <ReferenceInput source="busId" label="table.field.task.busId" reference="bus"> |
| | | <AutocompleteInput label="table.field.task.busId" optionText="seqNum" filterToQuery={(val) => ({ seqNum: val })} /> |
| | | <ReferenceInput source="busId" label="table.field.task.busId" reference="bus" > |
| | | <AutocompleteInput label="table.field.task.busId" optionText="busNo" filterToQuery={(val) => ({ seqNum: val })} /> |
| | | </ReferenceInput>, |
| | | <TextInput source="seqNum" label="table.field.task.seqNum" />, |
| | | <NumberInput source="priority" label="table.field.task.priority" />, |
| | |
| | | actions={( |
| | | <TopToolbar> |
| | | <FilterButton /> |
| | | <MyCreateButton onClick={() => { setCreateDialog(true) }} /> |
| | | {/* <MyCreateButton onClick={() => { setCreateDialog(true) }} /> */} |
| | | <SelectColumnsButton preferenceKey='task' /> |
| | | <MyExportButton /> |
| | | </TopToolbar> |
| | |
| | | <TextField source="uuid" label="table.field.task.uuid" /> |
| | | <TextField source="seqNum" label="table.field.task.seqNum" /> |
| | | <ReferenceField source="busId" label="table.field.task.busId" reference="bus" link={false} sortable={false}> |
| | | <TextField source="seqNum" /> |
| | | <TextField source="busNo" /> |
| | | </ReferenceField> |
| | | <ReferenceField source="agvId" label="table.field.task.agvId" reference="agv" link={false} sortable={false}> |
| | | <TextField source="uuid" /> |