diff --git a/pc4mobx/hrmSalary/pages/declareDetail/index.js b/pc4mobx/hrmSalary/pages/declareDetail/index.js index 366ba404..9eaa17fe 100644 --- a/pc4mobx/hrmSalary/pages/declareDetail/index.js +++ b/pc4mobx/hrmSalary/pages/declareDetail/index.js @@ -252,7 +252,8 @@ class Index extends Component { const { taxAgentId, taxCycle: taxYearMonth } = this.state.declareInfo; const payload = { taxDeclareRecordId: getQueryString("id"), - taxAgentId, taxYearMonth: taxYearMonth + "-01" + taxAgentId, taxYearMonth: taxYearMonth + "-01", + reportType: this.state.reportType }; this.setState({ loading: { ...this.state.loading, refreshingPay: true } }); taxPaymentVoucherStatusSync(payload).then(({ status, errormsg }) => { diff --git a/pc4mobx/hrmSalary/pages/employeedeclareDetail/components/employeeDeclareDetailSchemaEditDialog.js b/pc4mobx/hrmSalary/pages/employeedeclareDetail/components/employeeDeclareDetailSchemaEditDialog.js index e8ec44df..bb6f4b44 100644 --- a/pc4mobx/hrmSalary/pages/employeedeclareDetail/components/employeeDeclareDetailSchemaEditDialog.js +++ b/pc4mobx/hrmSalary/pages/employeedeclareDetail/components/employeeDeclareDetailSchemaEditDialog.js @@ -283,8 +283,7 @@ class EmployeeDeclareDetailSchemaEditDialog extends Component { const payload = { ...form.getFormParams(), id: this.props.id, taxAgentId: getQueryString("id"), - taxCycle: this.props.taxCycle, - taxReasons: taxReasons.split(",") + taxCycle: this.props.taxCycle }; this.setState({ loading: true }); getEmployeeSave(payload).then(({ status, errormsg }) => {