skyouc
2025-04-07 1b5a58ec0da1ae8eb40a66e41dcd23bb7c2b2e94
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 = ({ setBillReload }) => {
const AsnOrderPanel = ({ billReload }) => {
    const record = useRecordContext();
    if (!record) return null;
    const translate = useTranslate();
@@ -26,14 +26,7 @@
    useEffect(() => {
        debouncedHttp({ maktx });
        setBillReload(http)
    }, [asnId, maktx]);
    useEffect(() => {
        setBillReload(http)
    }, []);
    const http = async (parmas) => {
        const res = await request.post('/asnOrderItem/page', { ...parmas, asnId });
@@ -45,9 +38,12 @@
    }
    useEffect(() => {
        billReload.current = http
    }, []);
    const debouncedHttp = useMemo(() => debounce(http, 300), []);
    const columns = [
        {