Pārlūkot izejas kodu

fix:修改资方授信列表表格刷新按钮展示时机

lazy 2 mēneši atpakaļ
vecāks
revīzija
80c9d12810

+ 6 - 1
src/views/capitalFinancingManage/capitalAuth/index.vue

@@ -250,12 +250,17 @@ export default {
         }
 
         if (category === 'delayAuth' && rowPower) {
-          if (rowPower.includes(row.creditStatus) || !row.creditStatus) {
+          if (!row.creditStatus) return false
+          if (rowPower.includes(row.creditStatus)) {
             return true
           }
           return false
         }
 
+        if (category === 'refreshAuth') {
+          if (!row.creditStatus) return false
+        }
+
         return true
       }
     },