chen.lin
昨天 c67e3d0295858a61122354a15dec8835044bac0d
rsf-admin/src/page/orders/outStock/SelectMatnrModal.jsx
@@ -54,6 +54,7 @@
import SaveIcon from '@mui/icons-material/Save';
import MatnrInfoModal from "./MatnrInfoModal";
import request from '@/utils/request';
import { formatQuantity, hasMoreThan6Decimals } from '@/utils/common';
import "./asnOrder.css";
const SelectMatnrModal = (props) => {
@@ -123,6 +124,10 @@
    const handleSubmit = async () => {
        setFinally();
        if (tabelData.some((item) => hasMoreThan6Decimals(item.anfme))) {
            notify('最多6位小数', { type: 'error' });
            return;
        }
        setDisabled(true);
        try {
            if (asnId === 0) {
@@ -435,7 +440,7 @@
            minWidth: 100,
            flex: 1,
            editable: true,
            valueFormatter: (val) => val < 0 ? 0 : val,
            valueFormatter: (val) => formatQuantity(val != null && val >= 0 ? val : 0),
            headerClassName: "custom",
        },
        {