verou
2025-04-08 15ccee0acb232f937b98c0225b8884b99efbb87c
fix:0408修改
4个文件已修改
32 ■■■■■ 已修改文件
rsf-admin/src/i18n/zh.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
rsf-admin/src/page/asnOrder/AsnOrderList.jsx 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rsf-admin/src/page/asnOrder/AsnOrderModal.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rsf-admin/src/page/asnOrder/AsnOrderPanel.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rsf-admin/src/i18n/zh.js
@@ -557,7 +557,7 @@
                asnCode: "主单编码",
                platItemId: "erp标识",
                poDetlId: "PO单标识",
                poCode: "PO单编码",
                poDetlCode: "PO单编码",
                fieldsIndex: "字段索引",
                matnrId: "物料标识",
                matnrCode: "物料编码",
rsf-admin/src/page/asnOrder/AsnOrderList.jsx
@@ -53,7 +53,7 @@
import TaskIcon from '@mui/icons-material/Task';
import CloseIcon from '@mui/icons-material/Close';
import request from '@/utils/request';
import DictionarySelect from "../components/DictionarySelect";
const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
  '& .css-1vooibu-MuiSvgIcon-root': {
@@ -68,7 +68,7 @@
    width: 320
  },
  '& .status': {
    width: 90
    width: 100
  },
}));
@@ -91,15 +91,12 @@
  />,
  <TextInput label="common.field.memo" source="memo" />,
  <SelectInput
    label="common.field.status"
    source="status"
    choices={[
      { id: '1', name: 'common.enums.statusTrue' },
      { id: '0', name: 'common.enums.statusFalse' },
    ]}
    resettable
  <DictionarySelect
    label='common.field.status'
    name="exceStatus"
    dictTypeCode="sys_asn_exce_status"
  />,
]
const AsnOrderList = () => {
rsf-admin/src/page/asnOrder/AsnOrderModal.jsx
@@ -73,6 +73,7 @@
            requestGetHead()
            requestGetBody()
        }
        setDisabled(false)
    }, [open])
    const handleClose = (event, reason) => {
@@ -98,6 +99,14 @@
            [name]: value
        }));
    };
    const resetData = () => {
        setFormData({
            type: '',
            wkType: '',
        })
        setTableData([])
    }
    const setFinally = () => {
        const rows = tableRef.current.state.editRows;
@@ -126,6 +135,7 @@
                setOpen(false);
                refresh();
                billReload?.current()
                resetData()
            } else {
                notify(res.data.msg);
            }
@@ -139,7 +149,7 @@
                setOpen(false);
                refresh();
                billReload?.current()
                resetData()
            } else {
                notify(res.data.msg);
            }
rsf-admin/src/page/asnOrder/AsnOrderPanel.jsx
@@ -157,6 +157,7 @@
            <DataGrid
                sx={{ width: 'calc(100vw - 280px)' }}
                size="small"
                rows={rows}
                columns={columns}