This commit is contained in:
tdg930622 2024-12-27 15:42:03 +08:00
parent e429080c42
commit b78bc8cff3

View File

@ -198,7 +198,7 @@
</el-tab-pane>
<el-tab-pane>
<span slot="label"><i v-if="ProofList.length > 0" class="el-icon-s-flag"></i> 回款凭证</span>
<span class="f16">总计待还金额{{ProofStatistics.total}}总计已还金额{{ProofStatistics.payback}}</span>
<span class="f16">总计待还金额{{ProofStatistics.total || 0}}总计已还金额{{ProofStatistics.payback || 0}}</span>
<el-table :data="ProofList" :height="300" >
<el-table-column type="index" label="序号" width="55"></el-table-column>
<el-table-column prop="paybackTime" label="凭证时间" show-overflow-tooltip ></el-table-column>
@ -382,7 +382,10 @@ import { subtract } from "lodash";
RepaymentOptions:[{label:'一次性还款',value:'ALL'},{label:'全部分期',value:'STAGES'},{label:'部分先还加分期',value:'MIX'},{label:'其他',value:'OTHER'}],
//
ProofList:[],
ProofStatistics: {
total: 0,
payback: 0
}
}
},
computed:{
@ -474,6 +477,7 @@ import { subtract } from "lodash";
})
api.gettraceProof_statistics({caseId:this.caseId}).then(res => {
if(!res.code){
console.log(res, '---ProofStatistics')
this.ProofStatistics = res
}
})