| | |
| | | useTranslate, |
| | | TextInput, |
| | | NumberInput, |
| | | BooleanInput, |
| | | DateInput, |
| | | SelectInput, |
| | | ReferenceInput, |
| | | ReferenceArrayInput, |
| | |
| | | useRecordContext, |
| | | DeleteButton, |
| | | } from 'react-admin'; |
| | | import { useWatch, useFormContext } from "react-hook-form"; |
| | | import { Stack, Grid, Box, Typography } from '@mui/material'; |
| | | import { EDIT_MODE, REFERENCE_INPUT_PAGESIZE } from '@/config/setting'; |
| | | import EditBaseAside from "../../../components/EditBaseAside"; |
| | |
| | | label="table.field.checkDiff.orderCode" |
| | | source="orderCode" |
| | | parse={v => v} |
| | | autoFocus |
| | | readOnly |
| | | /> |
| | | <SelectInput |
| | | label="table.field.checkDiff.checkType" |
| | |
| | | { id: 0, name: '明盘' }, |
| | | { id: 1, name: '暗盘' }, |
| | | ]} |
| | | readOnly |
| | | /> |
| | | <NumberInput |
| | | label="table.field.checkDiff.areaId" |
| | | source="areaId" |
| | | readOnly |
| | | /> |
| | | <TextInput |
| | | label="table.field.checkDiff.areaName" |
| | | source="areaName" |
| | | parse={v => v} |
| | | readOnly |
| | | /> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <NumberInput |
| | | label="table.field.checkDiff.anfme" |
| | | source="anfme" |
| | | readOnly |
| | | /> |
| | | <NumberInput |
| | | label="table.field.checkDiff.checkQty" |
| | | source="checkQty" |
| | | readOnly |
| | | /> |
| | | <NumberInput |
| | | label="table.field.checkDiff.exceStatus" |
| | | source="exceStatus" |
| | | readOnly |
| | | /> |
| | | </Stack> |
| | | </Grid> |