skyouc
2025-05-28 b047f19a6b34a73e018d7e24fb7ec55db2edf472
rsf-admin/src/page/basicInfo/loc/LocList.jsx
@@ -66,20 +66,20 @@
    '& .column-name': {
    },
    '& .opt': {
        width: 200
        width: 180
    },
    '& .RaDatagrid-headerCell': {
        textAlign: 'left'
    },
    '& .RaDatagrid-rowCell': {
        textAlign: 'left'
    },
    // '& .RaDatagrid-headerCell': {
    //     textAlign: 'left'
    // },
    // '& .RaDatagrid-rowCell': {
    //     textAlign: 'left'
    // },
    '& .type .MuiTypography-root': {
        whiteSpace: 'nowrap',
        overflow: 'hidden',
        textOverflow: 'ellipsis',
        display: 'block',
        width: '200px',
        width: 'auto',
    },
}));
@@ -221,23 +221,25 @@
                    {/* <TextField source="name" label="table.field.loc.name" /> */}
                    {/* <NumberField source="flagLogic" label="table.field.loc.flagLogic" />
                    <TextField source="fucAtrrs" label="table.field.loc.fucAtrrs" />
                    <TextField source="barcode" label="table.field.loc.barcode" /> */}
                    */}
                    {/* <TextField source="unit" label="table.field.loc.unit" /> */}
                    <TextField source="barcode" label="table.field.loc.barcode" />
                    <TextField source="length" label="table.field.loc.length" />
                    <TextField source="width" label="table.field.loc.width" />
                    <TextField source="height" label="table.field.loc.height" />
                    <NumberField source="row" label="table.field.loc.row" />
                    <NumberField source="col" label="table.field.loc.col" />
                    <NumberField source="lev" label="table.field.loc.lev" />
                    <NumberField source="channel" label="table.field.loc.channel" />
                    {/* <NumberField source="channel" label="table.field.loc.channel" />
                    <NumberField source="maxParts" label="table.field.loc.maxParts" />
                    <NumberField source="maxPack" label="table.field.loc.maxPack" />
                    <NumberField source="flagLabelMange" label="table.field.loc.flagLabelMange" />
                    <TextField source="locAttrs" label="table.field.loc.locAttrs" /> */}
                    <TextField source="useStatus$" label="table.field.loc.useStatus" />
                    <TextField source="updateBy$" label="common.field.updateBy"  />
                    <TextField source="updateBy$" label="common.field.updateBy" />
                    <DateField source="updateTime" label="common.field.updateTime" showTime align="left" />
                    <TextField source="createBy$" label="common.field.createBy"  />
                    <TextField source="createBy$" label="common.field.createBy" />
                    <DateField source="createTime" label="common.field.createTime" showTime align="left" />
                    <BooleanField source="statusBool" label="common.field.status" sortable={false} align="left" />
                    <TextField source="memo" label="common.field.memo" sortable={false} />
@@ -249,8 +251,8 @@
                </StyledDatagrid>
                <InitModal
                open={initDialog}
                setOpen={setInitDialog}
                    open={initDialog}
                    setOpen={setInitDialog}
                />
            </List>
            <LocCreate
@@ -263,8 +265,8 @@
                setDrawerVal={setDrawerVal}
            >
            </PageDrawer>
        </Box>
    )
}