浏览代码

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

zhulu 3 天之前
父节点
当前提交
fb67fea699
共有 1 个文件被更改,包括 2 次插入2 次删除
  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">
                 <el-button
-                  v-if="scope.row.status==0"
+                  v-if="scope.row.status==0 && scope.row.orgId==orgId"
                   size="mini"
                   type="text"
                   icon="el-icon-view"
@@ -281,7 +281,7 @@
                 >审批
                 </el-button>
                 <el-button
-                  v-if="scope.row.status!=0"
+                  v-if="scope.row.status!=0 || scope.row.orgId!=orgId"
                   size="mini"
                   type="text"
                   icon="el-icon-view"