Commit 426a2540 authored by linxin's avatar linxin

fix

parent ede9f16b
...@@ -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="请输入合同号/车架号/承租人名称">
...@@ -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>
...@@ -127,6 +124,7 @@ export default { ...@@ -127,6 +124,7 @@ export default {
} }
}, },
deep: true, deep: true,
immediate: true,
}, },
}, },
...@@ -150,10 +148,10 @@ export default { ...@@ -150,10 +148,10 @@ export default {
}) })
}, },
createData () { createData () {
let obj = {}
let pushList = [] let pushList = []
this.info.forEach(i => { this.info.forEach(i => {
i.con_lists.forEach(j => { i.con_lists.forEach(j => {
let obj = {}
obj.bp_id = window.sessionStorage.getItem('bp_id') obj.bp_id = window.sessionStorage.getItem('bp_id')
obj.amount = j.amount obj.amount = j.amount
obj.contract_id = j.contract_id obj.contract_id = j.contract_id
...@@ -460,10 +458,5 @@ export default { ...@@ -460,10 +458,5 @@ export default {
height: 40px; height: 40px;
margin: 4px 2% 0 2%; margin: 4px 2% 0 2%;
} }
.none{
display:flex;
justify-content: center;
align-items: center;
}
} }
</style> </style>
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