Commit edf77cc9 authored by linxin's avatar linxin

add

parent 43afd004
...@@ -185,7 +185,10 @@ ...@@ -185,7 +185,10 @@
</item> </item>
<item> <item>
<div slot="name" class="required">年利率</div> <div slot="name" class="required">年利率</div>
<input slot="content" v-model="saveInfo.int_rate_n" readonly placeholder="%"> <RateInput
v-if="!isReadOnly" slot="content" v-model="saveInfo.int_rate_n"
placeholder="%"/>
<span v-if="isReadOnly" slot="content">{{ saveInfo.int_rate_n }}</span>
</item> </item>
<item v-if="!isReadOnly" :showArrow="true" @click.native="selectPayWay"> <item v-if="!isReadOnly" :showArrow="true" @click.native="selectPayWay">
<div slot="name" class="required">支付方式</div> <div slot="name" class="required">支付方式</div>
...@@ -294,8 +297,8 @@ ...@@ -294,8 +297,8 @@
<span>{{ item.int_rate_n }}</span> <span>{{ item.int_rate_n }}</span>
</p> </p>
<p> <p>
<!-- <span>&nbsp;&nbsp;&nbsp;</span> <span>首付款比例</span>
<span>{{ item.lease_times }}</span> --> <span>{{ item.down_payment_ratio_n }}</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -692,6 +695,8 @@ export default { ...@@ -692,6 +695,8 @@ export default {
hlsPopup.showLongCenter('支付方式不能为空!') hlsPopup.showLongCenter('支付方式不能为空!')
} else if (!vm.saveInfo.residual_value) { } else if (!vm.saveInfo.residual_value) {
hlsPopup.showLongCenter('留购价不能为空!') hlsPopup.showLongCenter('留购价不能为空!')
} else if (!vm.saveInfo.int_rate_n) {
hlsPopup.showLongCenter('年利率不能为空!')
} else { } else {
let url = process.env.basePath + 'prj_lease_info_save' let url = process.env.basePath + 'prj_lease_info_save'
vm.saveInfo.down_payment_ratio = (vm.saveInfo.down_payment_ratio_n.replace('%', '') / 100).toFixed(2) vm.saveInfo.down_payment_ratio = (vm.saveInfo.down_payment_ratio_n.replace('%', '') / 100).toFixed(2)
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<img src="@/assets/homePage/hot.png" class="hot"> <img src="@/assets/homePage/hot.png" class="hot">
<div class="center"><span class="firsts">经销商</span> <span class="seconds">{{ list.bp_name }}</span></div> <div class="center"><span class="firsts">经销商</span> <span class="seconds">{{ list.bp_name }}</span></div>
<div class="center"><span class="firsts">设备识别号</span> <span class="seconds">{{ list.product_code }}</span></div> <div class="center"><span class="firsts">设备识别号</span> <span class="seconds">{{ list.product_code }}</span></div>
<div class="center"><span class="firsts">地址</span> <span class="seconds">{{ list.province_id_n + list.city_id_n + list.district_id_n }}</span></div> <div class="center"><span class="firsts">地址</span> <span class="seconds">{{ list.province_id_n === list.city_id_n?list.city_id_n + list.district_id_n:list.province_id_n + list.city_id_n + list.district_id_n }}</span></div>
</div> </div>
</item> </item>
</list-item> </list-item>
...@@ -79,7 +79,6 @@ export default { ...@@ -79,7 +79,6 @@ export default {
guessingList: [], guessingList: [],
} }
}, },
computed: {},
watch: {}, watch: {},
created () { created () {
this.getLocation() this.getLocation()
...@@ -396,7 +395,7 @@ export default { ...@@ -396,7 +395,7 @@ export default {
margin-top: 6px; margin-top: 6px;
display: flex; display: flex;
.firsts { .firsts {
width: 66px; width: 76px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: rgba(56,63,69,0.60); color: rgba(56,63,69,0.60);
......
...@@ -305,7 +305,7 @@ export default { ...@@ -305,7 +305,7 @@ export default {
flex-direction: row; flex-direction: row;
margin-top: 8px; margin-top: 8px;
.firsts1 { .firsts1 {
width: 60px; width: 85px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
......
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