skyouc
2025-09-17 e6cf7f032bee1cef9c49258746da44d66ca85c6c
rsf-admin/src/page/stockManage/locRevise/LocsReviseDetl.jsx
@@ -24,6 +24,7 @@
import SelectMatnrInfo from "./SelectMatnrInfo";
import SaveIcon from '@mui/icons-material/Save';
import request from '@/utils/request';
import "./asnOrder.css";
const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
    '& .css-1vooibu-MuiSvgIcon-root': {
@@ -100,6 +101,7 @@
    const getData = async (matnr) => {
        setIsLoading(true)
        const res = await request.post(`/reviseLogItem/page`, {
        // const res = await request.post(`/locItem/page`, {
            locCode: record?.locCode,
            matnrCode: matnr,
            current: page?.page,
@@ -152,7 +154,7 @@
                    backgroundColor: 'background.paper',
                    zIndex: 1000
                }}>
                    {translate("common.action.newAddMats")}
                    {translate("common.button.edit")}
                    <Box sx={{ position: 'absolute', top: 8, right: 8, zIndex: 1001 }}>
                        <DialogCloseButton onClose={handleClose} />
                    </Box>
@@ -176,7 +178,7 @@
                            </Grid>
                            <Box sx={{ display: 'flex', flexDirection: 'column', gap: 3, justifyContent: 'flex-end' }}>
                                <Grid item md={8} sx={{ justifyContent: 'flex-end', display: 'flex' }}>
                                    <Button variant="text" onClick={handleAdd}>{translate("page.whMat.title.add")}</Button>
                                    <Button variant="contained" onClick={handleAdd} >{translate("page.whMat.title.add")}</Button>
                                </Grid>
                            </Box>
                        </Box>
@@ -231,13 +233,6 @@
            editable: false,
        },
        {
            field: 'batch',
            headerName: translate('table.field.locItem.batch'),
            minWidth: 100,
            flex: 1,
            editable: true,
        },
        {
            field: 'anfme',
            headerName: translate('table.field.locItem.anfme') + "*",
            minWidth: 100,
@@ -251,6 +246,15 @@
            type: 'number',
            flex: 1,
            editable: true,
            headerClassName: "custom",
        },
        {
            field: 'batch',
            headerName: translate('table.field.locItem.batch'),
            minWidth: 100,
            flex: 1,
            editable: true,
            headerClassName: "custom",
        },
        {
            field: 'spec',