From 20c49b92d889f94cc72511f2c47c3f3394b3c01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Wed, 22 Mar 2023 15:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=96=AA=E8=B5=84=E9=A1=B9=E7=9B=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=96=B0=E5=BB=BA=E8=87=AA=E5=AE=9A=E4=B9=89=E8=96=AA?= =?UTF-8?q?=E8=B5=84=E9=A1=B9=E7=9B=AE=EF=BC=8C=E9=80=89=E6=8B=A9=E5=85=AC?= =?UTF-8?q?=E5=BC=8F=EF=BC=88=E5=85=AC=E5=BC=8F=E5=86=85=E5=AE=B9=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=EF=BC=89=E4=BF=9D=E5=AD=98=E5=90=8E=EF=BC=8C=E5=85=AC?= =?UTF-8?q?=E5=BC=8F=E5=86=85=E8=96=AA=E8=B5=84=E9=A1=B9=E7=9B=AE=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=97=A0=E6=B3=95=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js b/pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js index a2295b59..3bf2d4a9 100644 --- a/pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js +++ b/pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js @@ -39,7 +39,7 @@ export default class FormalFormModal extends React.Component { const { salaryItemStore } = this.props; const { salaryAcctImportTemplateParam, setSearchFields, detailFormual } = salaryItemStore; setSearchFields([]); - if (this.props.formulaId) { + if (!!this.props.formulaId && this.props.formulaId != 0) { detailFormual(this.props.formulaId).then(data => { this.setState({ value: data.formula,