diff --git a/src/views/finance/components/examineRegistration.vue b/src/views/finance/components/examineRegistration.vue index 9e4fea3..50282a7 100644 --- a/src/views/finance/components/examineRegistration.vue +++ b/src/views/finance/components/examineRegistration.vue @@ -15,6 +15,16 @@
合同金额
{{moneyFormat(contract.money)}} (元)
+
+
+
已申请金额
+
{{totalApplyMoney()}} (元)
+
+
+
已申请笔数
+
{{payment.length}}
+
+
已付金额
@@ -162,11 +172,17 @@ export default { planTypes:[], payTable:[ { - label:'支付金额', + label:'申请金额', prop:'apply_money', sortable:false, align:'right' }, + { + label:'已付金额', + prop:'act_money', + sortable: false, + align:'right' + }, { label:'时间', prop:'created_at', @@ -243,6 +259,14 @@ export default { } }, methods: { + //合计申请金额 + totalApplyMoney(){ + let total = 0.00 + this.payment.map(item => { + total += Number(item.apply_money) + }) + return total.toFixed(2) + }, //资金列支渠道选择后变化 moneyWayChange(){ let page = this.plansSelect.page