From f111164783bf012cc88afbf89dfb32bc392f2242 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Fri, 27 Dec 2024 14:09:55 +0800 Subject: [PATCH] =?UTF-8?q?release/2.18.2.2412.02-=E4=B8=AA=E7=A8=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dataAcquisition/otherDeduct/detailSettingsDialog.js | 5 +++-- .../pages/dataAcquisition/otherDeduct/taxSetDialog.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/otherDeduct/detailSettingsDialog.js b/pc4mobx/hrmSalary/pages/dataAcquisition/otherDeduct/detailSettingsDialog.js index 84627b47..47c31fcb 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/otherDeduct/detailSettingsDialog.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/otherDeduct/detailSettingsDialog.js @@ -62,7 +62,7 @@ class DetailSettingsDialog extends Component { this.setState({ loading: false }); if (status) { message.success(getLabel(111, "操作成功!")); - this.props.onCancel(this.props.onSuccess()); + this.props.onCancel(this.props.onSuccess); } else { message.error(errormsg); } @@ -148,7 +148,8 @@ class DetailSettingsDialog extends Component { }; return ( (pre += cur.items.length), 0) * 47 + 33 }} buttons={[ , diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/otherDeduct/taxSetDialog.js b/pc4mobx/hrmSalary/pages/dataAcquisition/otherDeduct/taxSetDialog.js index 5025d4b4..821442b1 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/otherDeduct/taxSetDialog.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/otherDeduct/taxSetDialog.js @@ -127,9 +127,9 @@ class TaxSetDialog extends Component { - this.setState({ + this.setState({ detailSettingsDialog: { ...detailSettingsDialog, visible: false, id: "" } - })} onSuccess={this.getList}/> + }, () => callback && callback())} onSuccess={this.getList}/> );