|
@@ -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;
|