Browse Source

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

zhulu 4 ngày trước cách đây
mục cha
commit
fb67fea699
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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"