From fb54e22e3f254e8a6a48eda5fbcfe107554bf32d Mon Sep 17 00:00:00 2001 From: DOUDOU <877258667@qq.com> Date: Tue, 8 Nov 2022 10:45:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E7=9A=84=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/yieldReport/produce_order.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/modules/yieldReport/produce_order.vue b/src/views/modules/yieldReport/produce_order.vue index af74f91..19c8b8d 100644 --- a/src/views/modules/yieldReport/produce_order.vue +++ b/src/views/modules/yieldReport/produce_order.vue @@ -2131,11 +2131,11 @@ export default { //获取按钮的权限数据 getButtonAuthData(){ - let updateFlag = this.isAuth(this.menuId+":update"); + let updateFlag = this.isAuth(this.menuId+":revise"); let fullControFlag = this.isAuth(this.menuId+":fullContro"); let deleteFlag = this.isAuth(this.menuId+":remove"); //处理页面的权限数据 - this.authEdit = !updateFlag ||!fullControFlag; + this.authEdit = !updateFlag && !fullControFlag; this.authAdd = !fullControFlag; this.authDelete = !deleteFlag; } @@ -2189,7 +2189,7 @@ export default { //获取按钮的权限 - //this.getButtonAuthData(); + this.getButtonAuthData(); }