Просмотр исходного кода

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

zhulu 1 год назад
Родитель
Сommit
c126591807
1 измененных файлов с 2 добавлено и 2 удалено
  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