| | |
| | | }, |
| | | segment: { |
| | | uuid: "uuid", |
| | | groupId: "group no", |
| | | groupId: "group", |
| | | travelId: "travel", |
| | | taskId: "task", |
| | | agvId: "agv", |
| | |
| | | }, |
| | | action: { |
| | | uuid: "uuid", |
| | | groupId: "group no", |
| | | groupId: "group", |
| | | busId: "bus", |
| | | taskId: "task", |
| | | seqNum: "seq num", |
| | |
| | | }, |
| | | segment: { |
| | | uuid: "编号", |
| | | groupId: "组编号", |
| | | groupId: "任务组", |
| | | travelId: "行程", |
| | | taskId: "任务", |
| | | agvId: "车辆", |
| | |
| | | }, |
| | | action: { |
| | | uuid: "编号", |
| | | groupId: "组编号", |
| | | groupId: "任务组", |
| | | busId: "总线", |
| | | taskId: "任务", |
| | | seqNum: "动作号", |
| | |
| | | |
| | | 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>, |
| | |
| | | actions={( |
| | | <TopToolbar> |
| | | <FilterButton /> |
| | | <MyCreateButton onClick={() => { setCreateDialog(true) }} /> |
| | | {/* <MyCreateButton onClick={() => { setCreateDialog(true) }} /> */} |
| | | <SelectColumnsButton preferenceKey='jam' /> |
| | | <MyExportButton /> |
| | | </TopToolbar> |
| | |
| | | <BooleanField source="statusBool" label="common.field.status" sortable={false} /> |
| | | <TextField source="memo" label="common.field.memo" sortable={false} /> |
| | | <WrapperField cellClassName="opt" label="common.field.opt"> |
| | | <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} /> |
| | | {/* <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} /> */} |
| | | <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} /> |
| | | </WrapperField> |
| | | </StyledDatagrid> |