瀏覽代碼

融信详情最终还款明细

peixh 3 年之前
父節點
當前提交
b58b427c0f
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      front-vue/src/views/service/credit/creditDetail.vue

+ 5 - 3
front-vue/src/views/service/credit/creditDetail.vue

@@ -465,9 +465,11 @@ export default {
              
         }).then(() =>{
             getRepayment(this.zfrId).then((response)=>{
-            this.forms = response.data[0];
-            this.forms.zfrApplyStatus = this.selectDictLabel(this.applyStatusOptions,this.forms.zfrApplyStatus)
-            this.list = response.data;
+                if(response.data &&response.data.length> 0){
+                    this.forms = response.data[0];
+                    this.forms.zfrApplyStatus = this.selectDictLabel(this.applyStatusOptions,this.forms.zfrApplyStatus)
+                    this.list = response.data;
+                }
             })
             this.getDicts("zc_zfr_apply_status").then((response) => {
                 this.applyStatusOptions = response.data;