diff --git a/pc4mobx/hrmSalary/components/mobileTemplate/index.js b/pc4mobx/hrmSalary/components/mobileTemplate/index.js index 7d2106ce..4d1de8c2 100644 --- a/pc4mobx/hrmSalary/components/mobileTemplate/index.js +++ b/pc4mobx/hrmSalary/components/mobileTemplate/index.js @@ -16,6 +16,7 @@ class Index extends Component { render() { const { theme, background, tip, tipPosi, itemTypeList, title } = this.props; const { onlyOneGrup, showData } = dealTemplate(itemTypeList, "mobile"); + console.log(dealTemplate(itemTypeList, "mobile")); return (
{title || getLabel(111, "薪酬预览")}
@@ -31,7 +32,7 @@ class Index extends Component { {/*}*/} { - !onlyOneGrup && tipPosi === "1" && tip && + !onlyOneGrup && tipPosi.toString() === "1" && tip &&
{tip}
}
@@ -46,7 +47,7 @@ class Index extends Component { }
{ - (onlyOneGrup && tipPosi === "1" && tip) && (
+ (onlyOneGrup && tipPosi.toString() === "1" && tip) && (
{getLabel(111, "发放说明")}
{tip}
) @@ -62,7 +63,7 @@ class Index extends Component { }) } { - (onlyOneGrup && tipPosi === "2" && tip) && (
+ (onlyOneGrup && tipPosi.toString() === "2" && tip) && (
{getLabel(111, "发放说明")}
{tip}
) @@ -73,7 +74,7 @@ class Index extends Component { }
{ - !onlyOneGrup && tipPosi === "2" && tip && + !onlyOneGrup && tipPosi.toString() === "2" && tip &&
{tip}
} {this.props.children}