Browse Source

bug修复,详情页快捷进入编辑页权限问题

chenrui 3 years ago
parent
commit
1558e0b143
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/allocationManagement/transferOut/detail.vue

+ 1 - 1
src/views/allocationManagement/transferOut/detail.vue

@@ -92,7 +92,7 @@ export default {
   },
   },
   computed: {
   computed: {
     isEdit () {
     isEdit () {
-      return (this.basicInfoData && this.basicInfoData.state == 'WAIT_SUBMIT') || (this.basicInfoData && this.basicInfoData.state == 'WAIT_AUDIT')
+      return this.basicInfoData && ((this.basicInfoData.state == 'WAIT_SUBMIT') || (this.basicInfoData.state == 'WAIT_AUDIT') || (this.basicInfoData.state == 'AUDIT_REJECT')) && $hasPermissions('M_transferOut_edit')
     },
     },
     columns () {
     columns () {
       const arr = [
       const arr = [