浏览代码

fix:财务管理新增重新还款申请

lazy 4 周之前
父节点
当前提交
9652287b4a
共有 1 个文件被更改,包括 3 次插入6 次删除
  1. 3 6
      src/views/financialManagement/index.vue

+ 3 - 6
src/views/financialManagement/index.vue

@@ -121,8 +121,9 @@ export default {
           })
         })
         return
-      }
-      if (row.cashStatus === '1') {
+      } else if (type === 'reApply') {
+        this.handleReapply(row.id)
+      } else if (row.cashStatus === '1') {
         this.$router.push({
           name: 'FinancialManagementAddAccounts',
           params: { id: 'children' },
@@ -151,10 +152,6 @@ export default {
           }
         })
       }
-
-      if (type === 'reApply') {
-        this.handleReapply(row.id)
-      }
     },
     async handleReapply(id) {
       const res = await reApplyPayment(id)