Browse Source

屏蔽非本机构数据的审核按钮,显示 详情按钮

zhulu 4 days ago
parent
commit
fb67fea699
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/core/outIn/outInLog/index.vue

+ 2 - 2
src/views/core/outIn/outInLog/index.vue

@@ -272,7 +272,7 @@
             >
             >
               <template slot-scope="scope">
               <template slot-scope="scope">
                 <el-button
                 <el-button
-                  v-if="scope.row.status==0"
+                  v-if="scope.row.status==0 && scope.row.orgId==orgId"
                   size="mini"
                   size="mini"
                   type="text"
                   type="text"
                   icon="el-icon-view"
                   icon="el-icon-view"
@@ -281,7 +281,7 @@
                 >审批
                 >审批
                 </el-button>
                 </el-button>
                 <el-button
                 <el-button
-                  v-if="scope.row.status!=0"
+                  v-if="scope.row.status!=0 || scope.row.orgId!=orgId"
                   size="mini"
                   size="mini"
                   type="text"
                   type="text"
                   icon="el-icon-view"
                   icon="el-icon-view"