Merge branch 'release/2.9.42309.01' into release/2.9.42309.01-个税

This commit is contained in:
黎永顺 2023-09-21 15:48:40 +08:00
commit 79546aaf63
4 changed files with 13 additions and 7 deletions

View File

@ -158,9 +158,9 @@ class SalaryStatisticsDetailShareLogDialog extends Component {
title={
<div>
<p>{getLabel(111, "1、分享状态为成功且撤回状态为空时可操作撤回")}</p>
<p>{getLabel(111, "2、撤回后不可重新分享")}</p>
<p>{getLabel(111, "3、分享状态为失败可操作重新分享")}</p>
<p>{getLabel(111, "4、重新分享以当前分享记录的分享报表、有效时间、渠道和说明重新分享分享后自动刷新分享时间和分享状态")}</p>
{/*<p>{getLabel(111, "2、撤回后不可重新分享")}</p>*/}
{/*<p>{getLabel(111, "3、分享状态为失败可操作重新分享")}</p>*/}
{/*<p>{getLabel(111, "4、重新分享以当前分享记录的分享报表、有效时间、渠道和说明重新分享分享后自动刷新分享时间和分享状态")}</p>*/}
</div>
}
/>

View File

@ -384,7 +384,7 @@ export default class SalaryItem extends React.Component {
onCancel={() => this.setState({
syncSalarySetDialog: {
...this.state.syncSalarySetDialog,
visible: false, id: "", title: ""
visible: false, title: ""
}
})}
/>

View File

@ -409,8 +409,14 @@ class AdjustTable extends Component {
if (_.isEmpty(errorMessage)) {
this.setState({
dataSource: _.map(this.state.dataSource, it => {
if (record.target === it.target && record.uuid === it.uuid) {
return { ...it, status: true, id: successIds[0] };
if (record.id === it.id || (!it.id && record.uuid === it.uuid)) {
return {
...it, status: true, id: successIds[0],
targetOptions: _.map([_.find(targetOptions, o => o.employeeId == target)], v => ({
key: v.target.toString(),
showname: v.username
}))
};
}
return { ...it };
})

View File

@ -69,7 +69,7 @@ class AdjustmentDefaultSlide extends Component {
dataIndex: "categoryType", title: "统计调差福利类型(单位)",
render: (text, record) => {
return (
<span>{_.map(record.categoryTypeOptions, it => it.showname).join(",")}</span>
<span>{_.map(_.filter(record.categoryTypeOptions, o => (record.categoryType.split(",").includes(o.key))), it => it.showname).join(",")}</span>
);
}
},