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(); }