| | |
| | | |
| | | const CheckDiffList = () => { |
| | | const translate = useTranslate(); |
| | | |
| | | const [createDialog, setCreateDialog] = useState(false); |
| | | const [drawerVal, setDrawerVal] = useState(false); |
| | | |
| | |
| | | <NumberField source="anfme" label="table.field.checkDiff.anfme" /> |
| | | <NumberField source="checkQty" label="table.field.checkDiff.checkQty" /> |
| | | {/* <NumberField source="exceStatus" label="table.field.checkDiff.exceStatus" /> */} |
| | | <NumberField source="updateBy¥" label="common.field.updateBy" /> |
| | | <NumberField source="createBy$" label="common.field.updateBy" /> |
| | | <NumberField source="updateBy$" label="common.field.updateBy" /> |
| | | <NumberField source="createBy$" label="common.field.createBy" /> |
| | | <DateField source="updateTime" label="common.field.updateTime" showTime /> |
| | | <DateField source="createTime" label="common.field.createTime" showTime /> |
| | | <BillStatusField cellClassName="status" source="exceStatus" label="table.field.checkOrder.exceStatus" /> |
| | |
| | | <WrapperField cellClassName="opt" label="common.field.opt"> |
| | | <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} /> |
| | | {/* <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} /> */} |
| | | <CheckButton /> |
| | | </WrapperField> |
| | | </StyledDatagrid> |
| | | </List> |
| | |
| | | } |
| | | |
| | | export default CheckDiffList; |
| | | |
| | | const CheckButton = () => { |
| | | const record = useRecordContext(); |
| | | const handleEditClick = (btn) => { |
| | | btn.stopPropagation() |
| | | |
| | | } |
| | | |
| | | return ( |
| | | <ConfirmButton label={"ra.action.approved"} startIcon={<ApiOutlinedIcon />} onConfirm={handleEditClick} size={"small"} /> |
| | | ) |
| | | } |