Commit 8b8a3477 authored by linxin's avatar linxin

Merge branch 'liuxin' into develop

parents 08676f2a 39c0fe31
...@@ -12,10 +12,7 @@ ...@@ -12,10 +12,7 @@
<div><span></span>{{ sumMoney |currency }}</div> <div><span></span>{{ sumMoney |currency }}</div>
</div> </div>
</div> </div>
<h-content v-if="info.length===0" class="none"> <h-content class="pay-content">
<p>暂无数据</p>
</h-content>
<h-content v-if="info.length!==0" class="pay-content">
<div class="search"> <div class="search">
<img src="@/assets/payment/search.png" alt=""> <img src="@/assets/payment/search.png" alt="">
<input type="text" placeholder="请输入合同号/车架号/承租人名称"> <input type="text" placeholder="请输入合同号/车架号/承租人名称">
...@@ -53,7 +50,7 @@ ...@@ -53,7 +50,7 @@
<span slot="content">{{ money|currency }}</span> <span slot="content">{{ money|currency }}</span>
</item> </item>
</list-item></h-content> </list-item></h-content>
<div v-if="info.length!==0" class="prompt"> <div class="prompt">
<div><img src="@/assets/payment/prompt.png" alt=""></div> <div><img src="@/assets/payment/prompt.png" alt=""></div>
<div> <div>
<p>温馨提示</p> <p>温馨提示</p>
...@@ -61,7 +58,7 @@ ...@@ -61,7 +58,7 @@
<p>由于存在款项到账时差性,“已还金额”字段可能XXX,给您造成的不便,请谅解,谢谢!</p> <p>由于存在款项到账时差性,“已还金额”字段可能XXX,给您造成的不便,请谅解,谢谢!</p>
</div> </div>
</div> </div>
<bottom-tab v-if="info.length!==0"> <bottom-tab>
<tab-button class="footer" @click.native="payDetail()"> <tab-button class="footer" @click.native="payDetail()">
&nbsp;&nbsp; &nbsp;&nbsp;
</tab-button> </tab-button>
......
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
}, },
}, },
activated () { activated () {
this.money = this.pay_rent // this.money = this.pay_rent
}, },
methods: { methods: {
getRent () { getRent () {
......
...@@ -68,8 +68,14 @@ export default { ...@@ -68,8 +68,14 @@ export default {
}, },
computed: {}, computed: {},
watch: {}, watch: {},
activated () { beforeRouteEnter (to, from, next) {
this.money = this.$route.params.sumMoney next(vm => {
if (from.name === 'PaymentFirstPay') {
vm.money = vm.$route.params.money
} else if (from.name === 'PaymentContractRecord') {
vm.money = vm.$route.params.sumMoney
}
})
}, },
methods: { methods: {
isSelect (way) { isSelect (way) {
......
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