瀏覽代碼

退货申请单权限

zhouhao 2 年之前
父節點
當前提交
8284a0d1b9
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 5 0
      src/views/supply/apply/apply_list.vue
  2. 5 0
      src/views/supply/apply/engin_list.vue

+ 5 - 0
src/views/supply/apply/apply_list.vue

@@ -384,6 +384,7 @@
                     $checkBtnRole('apply', $route.meta.roles) &&
                    ( !scope.row.automaticStatus &&
                     scope.row.examineStatus === 'SAVE') ||
+                     $checkBtnRole('apply', $route.meta.roles) &&
                     ( scope.row.automaticStatus &&
                       scope.row.examineStatus === 'SAVE' &&
                       scope.row.type == 2)
@@ -399,6 +400,7 @@
                     $checkBtnRole('apply', $route.meta.roles) &&
                     (!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'WAIT') ||
+                     $checkBtnRole('apply', $route.meta.roles) &&
                     (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'WAIT' &&
                       scope.row.type == 2)
@@ -414,6 +416,7 @@
                     $checkBtnRole('examine', $route.meta.roles) &&
                     (!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'OK') ||
+                     $checkBtnRole('apply', $route.meta.roles) &&
                     (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'OK' &&
                       scope.row.type == 2)
@@ -442,6 +445,7 @@
                       (!scope.row.automaticStatus &&
                       (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') &&
                       scope.row.type === 2) )||
+                       $checkBtnRole('apply', $route.meta.roles) &&
                     (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'SAVE' &&
                       scope.row.type == 2)
@@ -456,6 +460,7 @@
                     $checkBtnRole('examine', $route.meta.roles) &&
                     (!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'WAIT') ||
+                     $checkBtnRole('apply', $route.meta.roles) &&
                     (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'WAIT' &&
                       scope.row.type == 2)

+ 5 - 0
src/views/supply/apply/engin_list.vue

@@ -409,6 +409,7 @@
                                       $checkBtnRole('apply', $route.meta.roles) &&
                     (!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'SAVE' )||
+                     $checkBtnRole('apply', $route.meta.roles) &&
                     (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'SAVE' &&
                       scope.row.type == 2)
@@ -424,6 +425,7 @@
                                       $checkBtnRole('apply', $route.meta.roles) &&
                     (!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'WAIT') ||
+                     $checkBtnRole('apply', $route.meta.roles) &&
                       (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'OK' &&
                       scope.row.type == 2)
@@ -439,6 +441,7 @@
                     $checkBtnRole('examine', $route.meta.roles) &&
                     (!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'OK') ||
+                     $checkBtnRole('apply', $route.meta.roles) &&
                       (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'OK' &&
                       scope.row.type == 2)
@@ -467,6 +470,7 @@
                        (!scope.row.automaticStatus &&
                       (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') &&
                       scope.row.type === 2) ||
+                       $checkBtnRole('apply', $route.meta.roles) &&
                       (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'SAVE' &&
                       scope.row.type == 2)
@@ -481,6 +485,7 @@
                   $checkBtnRole('examine', $route.meta.roles) &&
                     (!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'WAIT') ||
+                     $checkBtnRole('apply', $route.meta.roles) &&
                      (scope.row.automaticStatus &&
                       scope.row.examineStatus === 'WAIT' &&
                       scope.row.type == 2)