Commit ea139f11 authored by 786817560's avatar 786817560

'合同状态修改'

parent 7bea24bf
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-31 09:49:57 * @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-15 10:42:26 * @LastEditTime: 2019-11-18 15:28:49
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 合同查询--记录 * @Description: 合同查询--记录
* @FilePath: * @FilePath:
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div>
<span class="red">已逾期</span> <span class="red">{{ item.con_overdue_status }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div>
<span class="red">已逾期</span> <span class="red">{{ item.con_overdue_status }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div>
<span class="red">已逾期</span> <span class="red">{{ item.con_overdue_status }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div>
<span class="red">已逾期</span> <span class="red">{{ item.con_overdue_status }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ parseFloat(item.finance_amount).toFixed(2) | currency }}</p></div>
<span class="red">已逾期</span> <span class="red">{{ item.con_overdue_status }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-31 09:49:57 * @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-14 17:40:59 * @LastEditTime: 2019-11-18 15:55:12
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 合同查询--明细 * @Description: 合同查询--明细
* @FilePath: * @FilePath:
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</div> </div>
</div> </div>
<div slot="content"> <div slot="content">
<span v-if="item.overdue_times!=undefined" :class="['status','red']">逾期{{ item.overdue_times }}</span> <span v-if="item.overdue_times" :class="['status','red']">逾期{{ item.overdue_times }}</span>
<div class="plan" @click="toRepayPlans(item.contract_id)"> <div class="plan" @click="toRepayPlans(item.contract_id)">
<img src="@/assets/contractRepayment/plan.png" alt=""> <img src="@/assets/contractRepayment/plan.png" alt="">
<span>还款计划</span> <span>还款计划</span>
...@@ -98,7 +98,15 @@ export default { ...@@ -98,7 +98,15 @@ export default {
detailInfo: {}, detailInfo: {},
} }
}, },
computed: {}, computed: {
totalTimes () {
let num = 0
for (let item in this.lists) {
num += item.overdue_times
}
return num
},
},
watch: {}, watch: {},
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment