Commit 440a64a5 by wangzhihui

fixed

1 parent 27976fff
...@@ -17,10 +17,16 @@ ...@@ -17,10 +17,16 @@
<span class="price">{{ settleAmount.yunHuoSettleAmount }}</span> <span class="price">{{ settleAmount.yunHuoSettleAmount }}</span>
元, 云获(中赢)-银行卡 元, 云获(中赢)-银行卡
<span class="price">{{ settleAmount.yunHuoZYSettleAmount }}</span> <span class="price">{{ settleAmount.yunHuoZYSettleAmount }}</span>
元, 云获(中赢)-微信, 元, 云获(中赢)-微信
<span class="price">{{ settleAmount.yunHuoWXSettleAmount }}</span> <span class="price">{{ settleAmount.yunHuoWXSettleAmount }}</span>
身边云-银行卡 元,身边云(翔禾)-银行卡
<span class="price">{{ settleAmount.shenBianYunSettleAmount }}</span> <span class="price">{{ settleAmount.shenBianYunXHSettleAmount }}</span>
元,身边云(雅钧)-银行卡
<span class="price">{{ settleAmount.shenBianYunYJSettleAmount }}</span>
元,身边云(博晟)-银行卡
<span class="price">{{ settleAmount.shenBianYunBCSettleAmount }}</span>
元, 身边云(晨景)-银行卡
<span class="price">{{ settleAmount.shenBianYunCJSettleAmount }}</span>
</div> </div>
<div> <div>
<div class="select-wrap flex"> <div class="select-wrap flex">
...@@ -1122,22 +1128,21 @@ export default { ...@@ -1122,22 +1128,21 @@ export default {
}) })
.then(res => { .then(res => {
if (res) { if (res) {
this.baseData.payChannelList = res this.baseData.payChannelList = res
let index = this.baseData.payChannelList.findIndex(item => { let index = this.baseData.payChannelList.findIndex(item => {
return item.channel == 'SHENBIANYUN' return item.channel == 'SHENBIANYUN'
}) })
if(index!=-1){ if (index != -1) {
this.providers = this.baseData.payChannelList.splice(index, 1)[0] this.providers = this.baseData.payChannelList.splice(index, 1)[0]
} }
if(this.baseData.payChannelList.length==0){ if (this.baseData.payChannelList.length == 0) {
this.payForm.channel=this.providers.channel this.payForm.channel = this.providers.channel
this.payForm.channelProvider=this.providers.channelProviderList[0].value this.payForm.channelProvider = this.providers.channelProviderList[0].value
} }
this.$utils.getOptionsList(this, 'payFormData', false, 'channel') this.$utils.getOptionsList(this, 'payFormData', false, 'channel')
//默认选择 //默认选择
if(this.baseData.payChannelList.length>0){ if (this.baseData.payChannelList.length > 0) {
this.payForm.channel = this.baseData.payChannelList[0].channel this.payForm.channel = this.baseData.payChannelList[0].channel
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!