hotfix/2.9.9.2312.01

This commit is contained in:
黎永顺 2023-12-01 17:22:34 +08:00
parent 78aaac8115
commit 04ab495c25
2 changed files with 1 additions and 3 deletions

View File

@ -211,7 +211,6 @@ export default class MobilePayroll extends React.Component {
<div className="templatePreview">
<div className="contentWrapper">
<PhoneTemplate
isPreview
salaryTemplateShowSet={JSON.stringify(mySalaryBillData.salaryTemplate)}
salaryItemSet={!_.isEmpty(salaryGroups) ? JSON.stringify([employeeInformation, ...salaryGroups]) : []}
>
@ -232,7 +231,6 @@ export default class MobilePayroll extends React.Component {
<div className="templatePreview">
<div className="contentWrapper">
<ComputerTemplate
isPreview
salaryTemplateShowSet={JSON.stringify(mySalaryBillData.salaryTemplate)}
salaryItemSet={!_.isEmpty(salaryGroups) ? JSON.stringify([employeeInformation, ...salaryGroups]) : JSON.stringify([])}
>

View File

@ -94,7 +94,7 @@ class MySalaryView extends Component {
<div style={{ height: "100%", overflow: "auto" }}>
<div className="templatePreview">
<ComputerTemplate
isPreview isMsgPreview
isMsgPreview
salaryTemplateShowSet={salaryTemplateShowSet ? JSON.stringify(salaryTemplateShowSet) : []}
salaryItemSet={!_.isEmpty(salaryGroups) ? JSON.stringify([employeeInformation, ...salaryGroups]) : []}
>