非系统人员开发合并

This commit is contained in:
黎永顺 2023-07-12 13:43:15 +08:00
parent 62914e0ed0
commit 38c9d97f54
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ export default class PersonalScope extends Component {
content: `确认删除该条数据吗?`,
onOk: () => {
return new Promise((resolve, reject) => {
return tab == "2" ? this.taxAgentExtRangeDeleteComfirm(resolve, reject, ids) : this.taxAgentRangeDeleteComfirm(resolve, reject, ids, tab);
return tab === "2" ? this.taxAgentExtRangeDeleteComfirm(resolve, reject, ids) : this.taxAgentRangeDeleteComfirm(resolve, reject, ids, tab);
}).catch(() => console.log("出错!"));
}
});
@ -202,7 +202,7 @@ export default class PersonalScope extends Component {
const { includeType } = module;
const { taxAgentRangeSave, taxAgentRangeExtSave } = this.props.taxAgentStore;
this.setState({ submitLoading: true });
if (includeType === 2) {
if (includeType === "2") {
taxAgentRangeExtSave({ taxAgentId, ..._.pick(module, "targetIds") }).then(({ status, errormsg }) => {
this.setState({ submitLoading: false });
if (status) {