|
@@ -65,7 +65,7 @@
|
|
<uni-icons type="close" size="28" @click="showBank = false"></uni-icons>
|
|
<uni-icons type="close" size="28" @click="showBank = false"></uni-icons>
|
|
</view>
|
|
</view>
|
|
<view class="bankList flex" @click="bankSelect(item)" v-if="bankList.length > 0"
|
|
<view class="bankList flex" @click="bankSelect(item)" v-if="bankList.length > 0"
|
|
- v-for="item,index in bankList">
|
|
|
|
|
|
+ v-for="(item,index) in bankList">
|
|
<view class="infoTpl">
|
|
<view class="infoTpl">
|
|
<view class="tplName flex_item">
|
|
<view class="tplName flex_item">
|
|
<image src="/static/image/bank.png" class="typeTipImg" v-if="item.type == 'bank'"
|
|
<image src="/static/image/bank.png" class="typeTipImg" v-if="item.type == 'bank'"
|
|
@@ -191,15 +191,16 @@
|
|
item.name = item.name + ' ' + item.phone
|
|
item.name = item.name + ' ' + item.phone
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- obj.bankList = data.map((re) => {
|
|
|
|
|
|
+ let onArr = [];
|
|
|
|
+ obj.bankList = data.filter((re) => {
|
|
if (re.type == 'bank' && obj.infoChecked.sell_bank_open == "1") {
|
|
if (re.type == 'bank' && obj.infoChecked.sell_bank_open == "1") {
|
|
- return re
|
|
|
|
|
|
+ return true
|
|
}
|
|
}
|
|
if (re.type == 'wx' && obj.infoChecked.sell_weixin_open == "1") {
|
|
if (re.type == 'wx' && obj.infoChecked.sell_weixin_open == "1") {
|
|
- return re
|
|
|
|
|
|
+ return true
|
|
}
|
|
}
|
|
if (re.type == 'alipay' && obj.infoChecked.sell_alipay_open == "1") {
|
|
if (re.type == 'alipay' && obj.infoChecked.sell_alipay_open == "1") {
|
|
- return re
|
|
|
|
|
|
+ return true
|
|
}
|
|
}
|
|
});
|
|
});
|
|
// 保存信息
|
|
// 保存信息
|