|  |  | 
 |  |  |  | 
 |  |  | const filters = [ | 
 |  |  |     <SearchInput source="condition" alwaysOn />, | 
 |  |  |     <TextField source="warehouseId" label="table.field.warehouseAreas.wareId" alwaysOn />, | 
 |  |  |     <TextField source="warehouseId" label="table.field.warehouseAreas.wareId" />, | 
 |  |  |     <TextInput source="uuid" label="table.field.warehouseAreas.uuid" />, | 
 |  |  |     <TextInput source="name" label="table.field.warehouseAreas.name" />, | 
 |  |  |     <TextInput source="code" label="table.field.warehouseAreas.code" />, | 
 |  |  | 
 |  |  |                     preferenceKey='warehouseAreas' | 
 |  |  |                     bulkActionButtons={ | 
 |  |  |                         <> | 
 |  |  |                             <BatchButton /> | 
 |  |  |                             <WareButton /> | 
 |  |  |                             <MixButton /> | 
 |  |  |                             <StatusButton /> | 
 |  |  |                             <BulkDeleteButton mutationMode={OPERATE_MODE} /> | 
 |  |  |                         </> | 
 |  |  |                     } | 
 |  |  | 
 |  |  | export default WarehouseAreasList; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | const BatchButton = () => { | 
 |  |  | const MixButton = () => { | 
 |  |  |     const record = useRecordContext(); | 
 |  |  |     const notify = useNotify(); | 
 |  |  |     const refresh = useRefresh(); | 
 |  |  | 
 |  |  |  | 
 |  |  |     return ( | 
 |  |  |         <> | 
 |  |  |             <Button onClick={() => setCreateDialog(true)} label={"toolbar.batch"}> | 
 |  |  |             <Button onClick={() => setCreateDialog(true)} label={"toolbar.batchMix"}> | 
 |  |  |                 <EditIcon /> | 
 |  |  |             </Button> | 
 |  |  |  | 
 |  |  |             <BatchModal | 
 |  |  |                 open={createDialog} | 
 |  |  |                 setOpen={setCreateDialog} | 
 |  |  |                 fieldType={'flagMix'} | 
 |  |  |             /> | 
 |  |  |         </> | 
 |  |  |  | 
 |  |  |     ) | 
 |  |  | } | 
 |  |  |  | 
 |  |  | const WareButton = () => { | 
 |  |  |     const record = useRecordContext(); | 
 |  |  |     const notify = useNotify(); | 
 |  |  |     const refresh = useRefresh(); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     const [createDialog, setCreateDialog] = useState(false); | 
 |  |  |  | 
 |  |  |     return ( | 
 |  |  |         <> | 
 |  |  |             <Button onClick={() => setCreateDialog(true)} label={"toolbar.batchWarehouse"}> | 
 |  |  |                 <EditIcon /> | 
 |  |  |             </Button> | 
 |  |  |  | 
 |  |  |             <BatchModal | 
 |  |  |                 open={createDialog} | 
 |  |  |                 setOpen={setCreateDialog} | 
 |  |  |                 fieldType={'wareId'} | 
 |  |  |             /> | 
 |  |  |         </> | 
 |  |  |  | 
 |  |  |     ) | 
 |  |  | } | 
 |  |  |  | 
 |  |  | const StatusButton = () => { | 
 |  |  |     const record = useRecordContext(); | 
 |  |  |     const notify = useNotify(); | 
 |  |  |     const refresh = useRefresh(); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     const [createDialog, setCreateDialog] = useState(false); | 
 |  |  |  | 
 |  |  |     return ( | 
 |  |  |         <> | 
 |  |  |             <Button onClick={() => setCreateDialog(true)} label={"toolbar.batchStatus"}> | 
 |  |  |                 <EditIcon /> | 
 |  |  |             </Button> | 
 |  |  |  | 
 |  |  |             <BatchModal | 
 |  |  |                 open={createDialog} | 
 |  |  |                 setOpen={setCreateDialog} | 
 |  |  |                 fieldType={'status'} | 
 |  |  |             /> | 
 |  |  |         </> | 
 |  |  |  |