Commit 7aca929c authored by linxin's avatar linxin

fixed:修改bug

parent 96d12c53
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,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">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</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>
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,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">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</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>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,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">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</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>
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,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">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</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>
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,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">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</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>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div class="center"> <div class="center">
<div><span>合同金额</span><p>{{ item.total_price|currency }}</p></div> <div><span>合同金额</span><p>{{ item.total_price|currency }}</p></div>
<div><span>已还金额</span><p class="bold">{{ item.recivied_amount|currency }}</p></div> <div><span>已还金额</span><p class="bold">{{ item.recivied_amount|currency }}</p></div>
<span class="red">逾期{{ item.overdue_days }}</span> <span class="red">逾期{{ item.overdue_times }}</span>
<section @click="toRepayDetails(item.project_id)"> <section @click="toRepayDetails(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</item> </item>
<item> <item>
<div slot="name">经销商</div> <div slot="name">经销商</div>
<div slot="content">{{ detailInfo.agent_bp_name }}代理商</div> <div slot="content">{{ detailInfo.bp_agent_name }}代理商</div>
</item> </item>
<item> <item>
<div slot="name">承租人</div> <div slot="name">承租人</div>
......
...@@ -367,7 +367,7 @@ export default { ...@@ -367,7 +367,7 @@ export default {
}, },
checkType () { checkType () {
this.hlsPopup.showActionSheet({ this.hlsPopup.showActionSheet({
buttonArray: this.user_bp_status === 'NEW' ? ['修改头像'] : ['修改头像', '用户信息', '角色切换'], buttonArray: this.bp_id === undefined ? ['修改头像'] : ['修改头像', '用户信息', '角色切换'],
callback: (index) => { callback: (index) => {
if (index === 0) { if (index === 0) {
hlsPopup.showLongCenter('修改头像功能敬请期待!') hlsPopup.showLongCenter('修改头像功能敬请期待!')
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
> >
<div class="card-info"> <div class="card-info">
<span class="name">{{ item.bank_full_name }}</span> <span class="name">{{ item.bank_full_name }}</span>
<span class="card-type">{{ item.bank_card_type }}</span> <span class="card-type">{{ selectType(item.bank_card_type) }}</span>
<span class="number">卡号</span> <span class="number">卡号</span>
<span class="card-number">**** **** **** {{ selectLast (item) }}</span> <span class="card-number">**** **** **** {{ selectLast (item) }}</span>
</div> </div>
...@@ -66,6 +66,15 @@ export default { ...@@ -66,6 +66,15 @@ export default {
} }
}, },
methods: { methods: {
selectType (e) {
if (e === '0') {
return '未知类型'
} else if (e === '1') {
return '信用卡'
} else if (e === '2') {
return '储蓄卡'
}
},
sendFlag (isClear) { sendFlag (isClear) {
this.showModalValue = true this.showModalValue = true
this.$emit('getInfo', this.showModalValue, isClear) this.$emit('getInfo', this.showModalValue, isClear)
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
> >
<div class="card-info" > <div class="card-info" >
<span class="name">{{ item.bank_full_name }}</span> <span class="name">{{ item.bank_full_name }}</span>
<span class="card-type">{{ item.bank_card_type }}</span> <span class="card-type">{{ selectType(item.bank_card_type) }}</span>
<span class="number">卡号</span> <span class="number">卡号</span>
<span class="card-number">**** **** **** {{ selectLast (item) }}</span> <span class="card-number">**** **** **** {{ selectLast (item) }}</span>
</div> </div>
...@@ -73,6 +73,15 @@ export default { ...@@ -73,6 +73,15 @@ export default {
} }
}, },
methods: { methods: {
selectType (e) {
if (e === '0') {
return '未知类型'
} else if (e === '1') {
return '信用卡'
} else if (e === '2') {
return '储蓄卡'
}
},
sendFlag (isClear) { sendFlag (isClear) {
this.showModalValue = true this.showModalValue = true
this.$emit('getInfo', this.showModalValue, isClear) this.$emit('getInfo', this.showModalValue, isClear)
......
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