From e02b8f0be2be8fa978e59520329c0705e60e2adf Mon Sep 17 00:00:00 2001 From: xixi <123@qq.com> Date: Wed, 11 Sep 2024 16:50:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0pdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CorrectionModal/CorrectionModal.tsx | 4 ++++ src/components/RefunModal/RefunModal.tsx | 4 ++++ src/route/index/Index.tsx | 16 ++++++++-------- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/components/CorrectionModal/CorrectionModal.tsx b/src/components/CorrectionModal/CorrectionModal.tsx index a236528..c1f9208 100644 --- a/src/components/CorrectionModal/CorrectionModal.tsx +++ b/src/components/CorrectionModal/CorrectionModal.tsx @@ -96,6 +96,10 @@ export default function CorrectionModal(props: any) { } // 提交表单 const onFinish = (values: any) => { + dispath({ + type: 'newCorrection', + val: true + }) // console.log('Form values:', values); // console.log(refunArray); diff --git a/src/components/RefunModal/RefunModal.tsx b/src/components/RefunModal/RefunModal.tsx index 90f6da1..ba8b2c7 100644 --- a/src/components/RefunModal/RefunModal.tsx +++ b/src/components/RefunModal/RefunModal.tsx @@ -100,6 +100,10 @@ export default function RefunModal(props: any) { // 提交表单 const onFinish = (values: any) => { // console.log('Form values:', values); + dispath({ + type: 'newRefun', + val: true + }) post({ messageApi, url: `/api/proj/refund/apply/save`, diff --git a/src/route/index/Index.tsx b/src/route/index/Index.tsx index a6f1306..a9fe084 100644 --- a/src/route/index/Index.tsx +++ b/src/route/index/Index.tsx @@ -1307,10 +1307,10 @@ export default function Index() {