薪资项目管理的可见性必填判断
This commit is contained in:
parent
8fe520e842
commit
f40d403515
|
|
@ -108,8 +108,8 @@ export class SalaryItemStore {
|
|||
message.error(res.errormsg || "接口调用失败!");
|
||||
reject();
|
||||
}
|
||||
}));
|
||||
});
|
||||
})).catch(() => this.loading = false);
|
||||
}).catch(() => this.loading = false);
|
||||
};
|
||||
|
||||
@action
|
||||
|
|
@ -256,6 +256,11 @@ export class SalaryItemStore {
|
|||
message.warning("公式不能为空");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (params.sharedType && !notNull(params.taxAgentIds)) {
|
||||
message.warning("可见性范围不能为空");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue