| | |
| | | |
| | | const filters = [ |
| | | // <SearchInput source="condition" alwaysOn />, |
| | | <TextInput source="groupId" label="table.field.segment.groupId" alwaysOn/>, |
| | | <ReferenceInput source="agvId" label="table.field.segment.agvId" reference="agv" alwaysOn> |
| | | <AutocompleteInput label="table.field.segment.agvId" optionText="uuid" filterToQuery={(val) => ({ uuid: val })} /> |
| | | </ReferenceInput>, |
| | |
| | | <DateInput label='common.time.before' source="timeEnd" alwaysOn />, |
| | | |
| | | <TextInput source="uuid" label="table.field.segment.uuid" />, |
| | | <TextInput source="groupId" label="table.field.segment.groupId" />, |
| | | <NumberInput source="travelId" label="table.field.segment.travelId" />, |
| | | <ReferenceInput source="endNode" label="table.field.segment.endNode" reference="code"> |
| | | <AutocompleteInput label="table.field.segment.endNode" optionText="data" filterToQuery={(val) => ({ data: val })} /> |
| | |
| | | <> |
| | | <StyledDatagrid |
| | | preferenceKey='segment' |
| | | bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} |
| | | bulkActionButtons={false} |
| | | rowClick={(id, resource, record) => false} |
| | | expand={() => <SegmentPanel />} |
| | | expandSingle={true} |