feature/2.10.1.2401.01-最优年终奖计税方案
This commit is contained in:
parent
eec52e34c1
commit
6f7b21ce5b
|
|
@ -203,6 +203,16 @@ class Index extends Component {
|
|||
this.getList(this.props);
|
||||
} else {
|
||||
message.error(errormsg || "操作失败");
|
||||
this.setState({
|
||||
dataSource: _.map(this.state.dataSource, item => {
|
||||
if (item.id === id) {
|
||||
return {
|
||||
...item, isUse: item.isUse
|
||||
};
|
||||
}
|
||||
return { ...item };
|
||||
})
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue