#
zjj
2025-05-24 b6222dd7f740ad57aef7e37774364e3c9c01cf7a
rsf-admin/src/page/work/outBound/OutBoundList.jsx
@@ -222,7 +222,8 @@
            width: 100,
            type: 'number',
            editable: true,
            headerClassName: "custom",
            headerClassName: "custom",
        },
        {
            field: 'anfme',
@@ -315,6 +316,12 @@
    const processRowUpdate = (newRow, oldRow) => {
        // 确保outQty不小于0
        if (newRow.outQty <= 0) {
            notify(translate('request.error.qty_not_negative'), { type: 'error', messageArgs: { _: translate('request.error.qty_not_negative') } });
            return oldRow; // 如果小于0,保持原值不变
        }
        const rows = tabelData.map((r) =>
            r.id === newRow.id ? { ...newRow } : r
        )