|  |  |  | 
|---|
|  |  |  | import * as Common from '@/utils/common'; | 
|---|
|  |  |  | import WarehouseAreaField from "./WarehouseAreaField"; | 
|---|
|  |  |  | import CrossZoneAreaField from "./CrossZoneAreaField"; | 
|---|
|  |  |  | import ContainerTypesField from "./ContainerTypesField"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({ | 
|---|
|  |  |  | '& .css-1vooibu-MuiSvgIcon-root': { | 
|---|
|  |  |  | 
|---|
|  |  |  | const [createDialog, setCreateDialog] = useState(false); | 
|---|
|  |  |  | const [drawerVal, setDrawerVal] = useState(false); | 
|---|
|  |  |  | const [areaFieldDialog, setAreaFieldDialog] = useState(false); | 
|---|
|  |  |  | const [areaFieldDialog2, setAreaFieldDialog2] = useState(false); | 
|---|
|  |  |  | return ( | 
|---|
|  |  |  | <Box display="flex"> | 
|---|
|  |  |  | <List | 
|---|
|  |  |  | 
|---|
|  |  |  | render={record => record.inAble === 1 ? '是' : '否'} | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <NumberField source="containerType$" label="table.field.basStation.containerType" /> | 
|---|
|  |  |  | <WrapperField cellClassName="containerType" label="table.field.basStation.containerType"> | 
|---|
|  |  |  | <ContainerTypesField | 
|---|
|  |  |  | open={areaFieldDialog2} | 
|---|
|  |  |  | setOpen={setAreaFieldDialog2} | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | </WrapperField> | 
|---|
|  |  |  | <TextField source="barcode" label="table.field.basStation.barcode" /> | 
|---|
|  |  |  | <FunctionField | 
|---|
|  |  |  | source="autoTransfer" | 
|---|