Browse Source

机构管理 地区、行社显示逻辑 控制

zhulu 1 năm trước cách đây
mục cha
commit
c126591807
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/system/dept/index.vue

+ 2 - 2
src/views/system/dept/index.vue

@@ -173,7 +173,7 @@
               width="100"
             >
             <template slot-scope="r">
-                {{ (parseInt(r.row.type)>2 && parseInt(r.row.type) !==9) ? r.row.affiliatedArea :""}}
+                {{ (parseInt(r.row.type || 0)>2 || r.row.underBank===true) ? r.row.affiliatedArea :""}}
               </template>
          </el-table-column>
             <el-table-column
@@ -183,7 +183,7 @@
               width="150"
             >
             <template slot-scope="r">
-                {{ (parseInt(r.row.type)>3 && parseInt(r.row.type) !=9) ? r.row.affiliatedBank :""}}
+                {{ r.row.underBank===true && r.row.type !='3'  ? r.row.affiliatedBank :""}}
               </template>
           </el-table-column>
             <el-table-column