From 611a0834acfe07a7f5bc576e80b563674124c2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Tue, 2 Jan 2024 15:56:29 +0800 Subject: [PATCH] =?UTF-8?q?hotfix/2.9.9.2312.02-=E4=B8=AA=E7=A8=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/declare/declare.js | 2 +- pc4mobx/hrmSalary/pages/declareDetail/components/paymentBtn.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/declare/declare.js b/pc4mobx/hrmSalary/pages/declare/declare.js index e64e38d7..1b05c827 100644 --- a/pc4mobx/hrmSalary/pages/declare/declare.js +++ b/pc4mobx/hrmSalary/pages/declare/declare.js @@ -26,7 +26,7 @@ class Calculate extends Component { taxAgentName: "", dateRange: [ moment(new Date()).startOf("year").format("YYYY-MM"), - moment(new Date()).startOf("month").format("YYYY-MM") + moment(new Date()).endOf("month").format("YYYY-MM") ] }, isRefresh: false, declareDaialog: { visible: false, title: "" } diff --git a/pc4mobx/hrmSalary/pages/declareDetail/components/paymentBtn.js b/pc4mobx/hrmSalary/pages/declareDetail/components/paymentBtn.js index 428344c8..191e8d1a 100644 --- a/pc4mobx/hrmSalary/pages/declareDetail/components/paymentBtn.js +++ b/pc4mobx/hrmSalary/pages/declareDetail/components/paymentBtn.js @@ -82,7 +82,7 @@ class PaymentBtn extends Component { const { taxCycle: taxYearMonth, taxAgentId } = this.props.declareInfo; const payload = { taxDeclareRecordId: getQueryString("id"), - taxAgentId, taxYearMonth + taxAgentId, taxYearMonth: taxYearMonth + "-01" }; this.setState({ paymentDialog: {