feature/2.14.4.2406.02-工资单发放预览

This commit is contained in:
黎永顺 2024-06-17 17:20:01 +08:00
parent e0b6dc4585
commit 4ebb3a422e
1 changed files with 13 additions and 5 deletions

View File

@ -323,6 +323,9 @@ export default class PayrollGrant extends React.Component {
onClick={() => this.handleWithdraw({ ids: [record.id] })}>
撤回
</a>
<a href="javascript:void(0);" style={{ marginRight: 10 }}>
预览
</a>
{
salarySendDetailBaseInfo.showPdfBtn &&
<a
@ -367,11 +370,16 @@ export default class PayrollGrant extends React.Component {
}
} else if (salarySendDetailBaseInfo.canSend) {
return (
<a
href="javascript:void(0);"
onClick={() => this.handleGrant({ ids: [record.id] })}>
发放
</a>
<React.Fragment>
<a
href="javascript:void(0);" style={{ marginRight: 10 }}
onClick={() => this.handleGrant({ ids: [record.id] })}>
发放
</a>
<a href="javascript:void(0);">
预览
</a>
</React.Fragment>
);
}
}