verou
2025-04-03 0d42706148e164656334d3dbd284daf4f2bf1b30
rsf-admin/src/page/asnOrder/AsnOrderPanel.jsx
@@ -15,7 +15,7 @@
import { DataGrid } from '@mui/x-data-grid';
import PrintModal from './PrintModal';
import { width } from "@mui/system";
const AsnOrderPanel = () => {
const AsnOrderPanel = ({ setBillReload }) => {
    const record = useRecordContext();
    if (!record) return null;
    const translate = useTranslate();
@@ -26,7 +26,13 @@
    useEffect(() => {
        debouncedHttp({ maktx });
        setBillReload(http)
    }, [asnId, maktx]);
    useEffect(() => {
        setBillReload(http)
    }, []);
    const http = async (parmas) => {
@@ -37,6 +43,7 @@
            notify(res.data.msg);
        }
    }
    const debouncedHttp = useMemo(() => debounce(http, 300), []);
@@ -104,7 +111,8 @@
        },
        {
            field: 'trackCode',
            headerName: translate('table.field.asnOrderItem.barcode')
            headerName: translate('table.field.asnOrderItem.barcode'),
            width: 150
        },
        {
            field: 'prodTime',