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: {