diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordList.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordList.js index 550dd048..27409fb5 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordList.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordList.js @@ -117,7 +117,7 @@ class WelfareRecordList extends Component { const i18n = { "共": getLabel(18609, "共"), "条": getLabel(18256, "条"), "总计": getLabel(523, "总计"), "已归档": getLabel(18800, "已归档"), - "未归档": getLabel(17999, "已归档"), "操作": getLabel(30585, "操作"), + "未归档": getLabel(17999, "未归档"), "操作": getLabel(30585, "操作"), "核算": getLabel(538780, "核算"), "归档": getLabel(251, "归档"), "查看": getLabel(33564, "查看"), "重新核算": getLabel(542637, "重新核算"), "删除": getLabel(535052, "删除"), "操作日志": getLabel(545781, "操作日志") diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfarePlan/components/welfarePlanList/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfarePlan/components/welfarePlanList/index.js index 3729a231..8b661ed0 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfarePlan/components/welfarePlanList/index.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfarePlan/components/welfarePlanList/index.js @@ -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 }; + }) + }); } }); },