From 70e48d619a16d9b4dabe87f4af8c410346623d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Mon, 1 Apr 2024 13:56:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=89=BE=E5=BF=97=E5=90=88=E5=B9=B6=E4=B8=AA?= =?UTF-8?q?=E7=A8=8E-=E4=B8=AA=E7=A8=8E=E7=94=B3=E6=8A=A5=E8=A1=A8?= =?UTF-8?q?=E4=B8=8E=E4=BA=BA=E5=91=98=E4=BF=A1=E6=81=AF=E6=8A=A5=E9=80=81?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9D=83=E9=99=90=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../declare/components/declareTablelist/index.js | 2 +- pc4mobx/hrmSalary/pages/declare/declare.js | 10 ++++++---- .../components/taxDeclarationInfo.js | 6 ++++-- pc4mobx/hrmSalary/pages/declareDetail/index.js | 15 +++++++++------ .../pages/employeedeclareDetail/index.js | 12 +++++++----- 5 files changed, 27 insertions(+), 18 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/declare/components/declareTablelist/index.js b/pc4mobx/hrmSalary/pages/declare/components/declareTablelist/index.js index f80b51a5..f5df7059 100644 --- a/pc4mobx/hrmSalary/pages/declare/components/declareTablelist/index.js +++ b/pc4mobx/hrmSalary/pages/declare/components/declareTablelist/index.js @@ -86,7 +86,7 @@ class Index extends Component { } return { ...o, width }; }) - }); + }, ()=> props.onChangeAZOperate(canOperate)); } }).catch(() => this.setState({ loading: false })); }; diff --git a/pc4mobx/hrmSalary/pages/declare/declare.js b/pc4mobx/hrmSalary/pages/declare/declare.js index 2c6fa625..6da513ae 100644 --- a/pc4mobx/hrmSalary/pages/declare/declare.js +++ b/pc4mobx/hrmSalary/pages/declare/declare.js @@ -31,14 +31,15 @@ class Calculate extends Component { ] }, isRefresh: false, declareDaialog: { visible: false, title: "" }, - logDialogVisible: false, filterConditions: "[]" + logDialogVisible: false, filterConditions: "[]", + azOperate: false//艾志二开操作按钮的权限 }; this.handleDebounce = null; } renderCalculateOpts = () => { const { taxAgentStore: { showOperateBtn } } = this.props; - const { queryParams, isRefresh } = this.state; + const { queryParams, isRefresh, azOperate } = this.state; let calculateOpts = [