feature/V2-dev合并多语言

This commit is contained in:
黎永顺 2023-12-04 13:50:35 +08:00
parent 754e018ccf
commit cce473cfd6
2 changed files with 1 additions and 3 deletions

View File

@ -210,7 +210,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]) : []}
>
@ -231,7 +230,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]) : []}
>