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,