| | |
| | | ReferenceArrayInput, |
| | | AutocompleteInput, |
| | | DeleteButton, |
| | | FunctionField, |
| | | } from 'react-admin'; |
| | | import { Box, Typography, Card, Stack } from '@mui/material'; |
| | | import { styled } from '@mui/material/styles'; |
| | |
| | | import { PAGE_DRAWER_WIDTH, OPERATE_MODE, DEFAULT_PAGE_SIZE } from '@/config/setting'; |
| | | import * as Common from '@/utils/common'; |
| | | import rowSx from "./rowSx"; |
| | | import { getCompDirectLabel } from "../loc/compDirect"; |
| | | |
| | | const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({ |
| | | '& .css-1vooibu-MuiSvgIcon-root': { |
| | |
| | | expand={() => <StaPanel />} |
| | | expandSingle={true} |
| | | rowSx={rowSx(drawerVal || null)} |
| | | omit={['id', 'uuid', 'name', 'offset', 'zpallet', 'depth' |
| | | omit={['id', 'uuid', 'name', 'offset', 'zpallet', 'depth', 'capacity' |
| | | , 'updateTime', 'updateBy', 'createTime', 'createBy', 'memo']} |
| | | > |
| | | <NumberField source="id" /> |
| | |
| | | <NumberField source="rsvInCnt" label="table.field.sta.rsvInCnt" /> |
| | | <NumberField source="rsvOutCnt" label="table.field.sta.rsvOutCnt" /> |
| | | <NumberField source="offset" label="table.field.sta.offset" /> |
| | | <NumberField source="height" label="table.field.sta.height" /> |
| | | <NumberField source="height" label="table.field.sta.height" sortable={false} /> |
| | | <NumberField source="depth" label="table.field.sta.depth" /> |
| | | <NumberField source="angle" label="table.field.sta.angle" /> |
| | | <NumberField source="inboundWait" label="table.field.sta.inboundWait" /> |
| | | <NumberField source="outboundWait" label="table.field.sta.outboundWait" /> |
| | | <NumberField source="angle" label="table.field.sta.angle" sortable={false} /> |
| | | <FunctionField |
| | | label="table.field.sta.actDir" |
| | | render={(record) => getCompDirectLabel(translate, record?.actDir)} |
| | | sortable={false} |
| | | /> |
| | | <NumberField source="inboundWait" label="table.field.sta.inboundWait" sortable={false} /> |
| | | <NumberField source="outboundWait" label="table.field.sta.outboundWait" sortable={false} /> |
| | | {/* <TextField source="autoing" label="table.field.sta.autoing" /> |
| | | <TextField source="loading" label="table.field.sta.loading" /> |
| | | <TextField source="inEnable" label="table.field.sta.inEnable" /> |