| | |
| | | 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': { |
| | |
| | | <NumberField source="height" label="table.field.sta.height" /> |
| | | <NumberField source="depth" label="table.field.sta.depth" /> |
| | | <NumberField source="angle" label="table.field.sta.angle" /> |
| | | <NumberField source="actDir" label="table.field.sta.actDir" /> |
| | | <FunctionField |
| | | label="table.field.sta.actDir" |
| | | render={(record) => getCompDirectLabel(translate, record?.actDir)} |
| | | /> |
| | | <NumberField source="inboundWait" label="table.field.sta.inboundWait" /> |
| | | <NumberField source="outboundWait" label="table.field.sta.outboundWait" /> |
| | | {/* <TextField source="autoing" label="table.field.sta.autoing" /> |