zhouhao 2 vuotta sitten
vanhempi
commit
f90a2e5f18

+ 2 - 2
src/views/supply/apply/apply_list.vue

@@ -381,7 +381,7 @@
               <template slot-scope="scope">
                 <el-popconfirm
                   v-if="
-                    $checkBtnRole('apply', $route.meta.roles) && (!isCustomer && scope.row.type!==2) &&
+                    $checkBtnRole('apply', $route.meta.roles) && !isCustomer  &&
                     ((!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'SAVE') || (
                       scope.row.automaticStatus &&
@@ -433,7 +433,7 @@
                 </el-button>
                 <el-button
                   v-if="
-                    $checkBtnRole('edit', $route.meta.roles) && (!isCustomer && scope.row.type!==2) &&
+                    $checkBtnRole('edit', $route.meta.roles) && !isCustomer  &&
                       ((!scope.row.automaticStatus &&
                       (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') &&
                       scope.row.type === 2) ||

+ 2 - 2
src/views/supply/apply/engin_list.vue

@@ -410,7 +410,7 @@
               <template slot-scope="scope">
                 <el-popconfirm
                   v-if="
-                   $checkBtnRole('apply', $route.meta.roles) && (!isCustomer && scope.row.type!==2) &&
+                   $checkBtnRole('apply', $route.meta.roles) && !isCustomer &&
                    ( (!scope.row.automaticStatus &&
                     scope.row.examineStatus === 'SAVE' ) ||
                       (scope.row.automaticStatus &&
@@ -461,7 +461,7 @@
                 </el-button>
                 <el-button
                   v-if="
-                  $checkBtnRole('edit', $route.meta.roles) && (!isCustomer && scope.row.type!==2) &&
+                  $checkBtnRole('edit', $route.meta.roles) && !isCustomer  &&
                     ((!scope.row.automaticStatus &&
                       (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') &&
                       scope.row.type === 2 ) ||