diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/editSalaryCalcSlide.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/editSalaryCalcSlide.js
index 239ccb9e..faf4850e 100644
--- a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/editSalaryCalcSlide.js
+++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/editSalaryCalcSlide.js
@@ -43,7 +43,7 @@ class EditSalaryCalcSlide extends Component {
});
};
renderTitle = () => {
- const { loading } = this.state, { viewAttr } = this.props;
+ const { loading, itemsByGroup } = this.state, { viewAttr } = this.props;
return
@@ -52,7 +52,7 @@ class EditSalaryCalcSlide extends Component {
{
viewAttr === 2 &&
-
+
}
;
diff --git a/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js b/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js
index 91a1a88f..928f715b 100644
--- a/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js
+++ b/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js
@@ -73,9 +73,9 @@ export default class GenerateDeclarationDetail extends React.Component {
render() {
const { loading, pageInfo, columns, dataSource } = this.state;
- const { taxAgentStore: { showOperateBtn } } = this.props;
- const buttons = showOperateBtn ? [
] : [];
+ const { taxAgentStore: { PageAndOptAuth } } = this.props;
+ const buttons = !!PageAndOptAuth.opts.length ? [
] : [];
const pagination = {
...pageInfo,
showTotal: (total) => `共 ${total} 条`,