|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const filters = [ | 
|---|
|  |  |  | // <SearchInput source="condition" alwaysOn />, | 
|---|
|  |  |  | <TextInput source="groupId" label="table.field.action.groupId" alwaysOn resettable />, | 
|---|
|  |  |  | <ReferenceInput source="agvId" label="table.field.action.agvId" reference="agv" alwaysOn> | 
|---|
|  |  |  | <AutocompleteInput label="table.field.action.agvId" optionText="uuid" filterToQuery={(val) => ({ uuid: val })} /> | 
|---|
|  |  |  | </ReferenceInput>, | 
|---|
|  |  |  | <TextInput source="groupId" label="table.field.action.groupId" alwaysOn resettable />, | 
|---|
|  |  |  | <ReferenceInput source="busId" label="table.field.action.busId" reference="bus"> | 
|---|
|  |  |  | <AutocompleteInput label="table.field.action.busId" optionText="busNo" filterToQuery={(val) => ({ seqNum: val })} /> | 
|---|
|  |  |  | </ReferenceInput>, | 
|---|
|  |  |  | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <StyledDatagrid | 
|---|
|  |  |  | preferenceKey='action' | 
|---|
|  |  |  | bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} | 
|---|
|  |  |  | bulkActionButtons={false} | 
|---|
|  |  |  | rowClick={(id, resource, record) => false} | 
|---|
|  |  |  | expand={() => <ActionPanel />} | 
|---|
|  |  |  | expandSingle={true} | 
|---|
|  |  |  | 
|---|
|  |  |  | <TextField source="seqNum" /> | 
|---|
|  |  |  | </ReferenceField> | 
|---|
|  |  |  | {/* <TextField source="seqNum" label="table.field.action.seqNum" /> */} | 
|---|
|  |  |  | <NumberField source="priority" label="table.field.action.priority" sortable={false} /> | 
|---|
|  |  |  | <NumberField source="priority" label="table.field.action.priority" sortable={false} sx={{ fontWeight: 'bold' }} /> | 
|---|
|  |  |  | {/* <TextField source="name" label="table.field.action.name" /> */} | 
|---|
|  |  |  | <ReferenceField source="actionType" label="table.field.action.actionType" reference="actionType" link={false} sortable={false}> | 
|---|
|  |  |  | <TextField source="name" /> | 
|---|