|  |  | 
 |  |  |   ReferenceInput, | 
 |  |  |   AutocompleteInput, | 
 |  |  |   Button, | 
 |  |  |   BulkDeleteButton,  | 
 |  |  |   BulkDeleteButton, | 
 |  |  |   useRedirect, | 
 |  |  | } from 'react-admin'; | 
 |  |  | import { styled } from '@mui/material/styles'; | 
 |  |  | 
 |  |  |   <DictionarySelect | 
 |  |  |     label='table.field.checkOrder.exceStatus' | 
 |  |  |     name="exceStatus" | 
 |  |  |     dictTypeCode="sys_asn_exce_status" | 
 |  |  |     dictTypeCode="sys_check_exce_status" | 
 |  |  |     alwaysOn | 
 |  |  |   />, | 
 |  |  | ] | 
 |  |  | 
 |  |  |       > | 
 |  |  |         <StyledDatagrid | 
 |  |  |           preferenceKey='check' | 
 |  |  |           bulkActionButtons={() => <BulkDeleteButton mutationMode="pessimistic"/>} | 
 |  |  |           bulkActionButtons={() => <BulkDeleteButton mutationMode="pessimistic" />} | 
 |  |  |           rowClick={false} | 
 |  |  |           expandSingle={true} | 
 |  |  |           omit={['id', 'createTime', 'createBy', 'memo', 'rleStatus$']} | 
 |  |  |         > | 
 |  |  |           <NumberField source="id" /> | 
 |  |  |           <TextField source="code" label="table.field.checkOrder.code" /> | 
 |  |  |           <TextField source="type$" label="table.field.checkOrder.type" /> | 
 |  |  |           <TextField cellClassName="wkType" source="checkType$" label="table.field.checkOrder.checkType" /> | 
 |  |  |           {/* <TextField source="type$" label="table.field.checkOrder.type" /> */} | 
 |  |  |           <TextField cellClassName="wkType" source="wkType$" label="table.field.checkOrder.type" /> | 
 |  |  |           <TextField  source="checkType$" label="table.field.checkOrder.checkType" /> | 
 |  |  |           <NumberField source="anfme" label="table.field.checkOrder.anfme" /> | 
 |  |  |           <NumberField source="workQty" label="table.field.checkOrder.workQty" /> | 
 |  |  |           <NumberField source="qty" label="table.field.checkOrder.qty" /> | 
 |  |  | 
 |  |  |         drawerVal={drawerVal} | 
 |  |  |         setDrawerVal={setDrawerVal} | 
 |  |  |       > | 
 |  |  |         <CheckOrderPub record={select} open={drawerVal} setOpen={setDrawerVal}  /> | 
 |  |  |       </PageEditDrawer>  | 
 |  |  |         <CheckOrderPub record={select} open={drawerVal} setOpen={setDrawerVal} /> | 
 |  |  |       </PageEditDrawer> | 
 |  |  |     </Box > | 
 |  |  |   ) | 
 |  |  | } |