From b0d60afc11147f678a8a86a775a5a3061fd36d1d Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Mon, 13 Oct 2025 16:14:09 +0800 Subject: [PATCH] =?UTF-8?q?release/3.0.1.2504.01-=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hrmSalary/pages/payroll/payrollDetail/payrollDetail.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollDetail.js b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollDetail.js index a0c9e495..afa1ed7e 100644 --- a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollDetail.js +++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/payrollDetail.js @@ -60,7 +60,8 @@ class PayrollDetail extends Component { render() { const { salarySendDetailBaseInfo, showSearchAd, conditions, isQuery, showTotalCell } = this.state; - const { taxAgentStore: { showOperateBtn } } = this.props; + const { taxAgentStore: { PageAndOptAuth } } = this.props; + const showOperateBtn = PageAndOptAuth.opts.includes("admin"); const { salaryMonth, template } = salarySendDetailBaseInfo; const dropMenuDatas = [ { @@ -110,4 +111,4 @@ class PayrollDetail extends Component { } } -export default PayrollDetail; +export default PayrollDetail; \ No newline at end of file