zjj
2025-07-09 f6121e26208fd4c06080e9ba7913d4755b3fd612
rsf-admin/src/page/warehouseAreas/WarehouseAreasList.jsx
@@ -59,6 +59,17 @@
    '& .opt': {
        width: 200
    },
    '& .RaDatagrid-cell': {
        whiteSpace: 'nowrap',
        overflow: 'visible',
        textOverflow: 'unset',
        maxWidth: 'none'
    },
    '& .MuiTableCell-root': {
        whiteSpace: 'nowrap',
        overflow: 'visible',
        textOverflow: 'unset'
    }
}));
const filters = [
@@ -141,24 +152,28 @@
                    </TopToolbar>
                )}
                perPage={DEFAULT_PAGE_SIZE}
            >
                <StyledDatagrid
            >
                <StyledDatagrid
                    preferenceKey='warehouseAreas'
                    bulkActionButtons={
                        <>
                            <WareButton />
                            {/* <WareButton />
                            <MixButton />
                            <StatusButton />
                            <StatusButton /> */}
                            <BulkDeleteButton mutationMode={OPERATE_MODE} />
                        </>
                    }
                    rowClick={(id, resource, record) => false}
                    omit={['id', 'createTime', 'createBy', 'memo']}
                    omit={['id', 'createTime', 'createBy', 'memo','statusBool','flagMix$','flagLabelMange$','shipperId$','supplierId']}
                >
                    <NumberField source="id" />
                    {/* <TextField source="uuid" label="table.field.warehouseAreas.uuid" /> */}
                    <TextField source="name" label="table.field.warehouseAreas.name" />
                    <TextField source="code" label="table.field.warehouseAreas.code" />
                    <TextField source="name" label="table.field.warehouseAreas.name" />
                    <TextField source="type$" label="table.field.warehouseAreas.type"/>
                    {/* <ReferenceField source="shipperId" label="table.field.warehouseAreas.shipperId" reference="shipper" link={false} sortable={false}>
                        <TextField source="name" />
@@ -184,6 +199,7 @@
                        <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} />
                    </WrapperField>
                </StyledDatagrid>
            </List>
            <WarehouseAreasCreate
                open={createDialog}