From 8af5445ac00c5c5f4698b6df744cc42c71ec39ce Mon Sep 17 00:00:00 2001 From: chenqiang Date: Fri, 29 Dec 2023 18:04:01 +0800 Subject: [PATCH] =?UTF-8?q?fix():=20=E8=A7=A3=E5=86=B3=E6=80=BB=E6=94=B6?= =?UTF-8?q?=E5=85=A5=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FinancialMgm/FinancialReport/PaySummaryReport/loadable.jsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/FinancialMgm/FinancialReport/PaySummaryReport/loadable.jsx b/src/pages/FinancialMgm/FinancialReport/PaySummaryReport/loadable.jsx index 6e19fdc..b693af4 100644 --- a/src/pages/FinancialMgm/FinancialReport/PaySummaryReport/loadable.jsx +++ b/src/pages/FinancialMgm/FinancialReport/PaySummaryReport/loadable.jsx @@ -403,7 +403,12 @@ function PaySummaryReport() { ); }; //获取页面显示数据 - const getData = (data) => { + const getData = (data) => + setData({ + data: [], + total: 0, + }); + { setLoading(false); ajax.ElectInvoice.getPaySummaryReport({ ...data, @@ -427,7 +432,7 @@ function PaySummaryReport() { setLoading(true); } ); - }; + } useEffect(() => { sessionStorage.setItem( "FormData_PaySummaryReport",