薪资项目管理新建自定义薪资项目,选择公式(公式内容为空)保存后,公式内薪资项目为空无法引用
This commit is contained in:
parent
09ee398bfc
commit
20c49b92d8
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue