Browse Source

收款方式解绑功能

pull/97/head
pengda 1 month ago
parent
commit
ac5c282eb3
  1. 38
      src/components/site/addSiteStep/step2.vue

38
src/components/site/addSiteStep/step2.vue

@ -499,37 +499,49 @@ export default {
}) })
}, },
changeSelectWeixin(item) { changeSelectWeixin(item) {
if(this.bindWxpayId === item.payid){
this.bindWxpayId = 0
this.selectWxpay = null
return true
}
this.bindWxpayId = item.payid; this.bindWxpayId = item.payid;
this.selectWxpay = item; this.selectWxpay = item;
console.log(this.bindWxpayId, 'bindWxpayId');
console.log(this.selectWxpay, 'selectWxpay');
this.selectedItem = { ...item };
console.log(this.selectedItem, 'this.selectedItem====');
}, },
changeSelectAlipay(item) { changeSelectAlipay(item) {
if(this.bindAlipayId === item.payid){
this.bindAlipayId = 0
this.selectAlipay = null
return true
}
this.bindAlipayId = item.payid; this.bindAlipayId = item.payid;
this.selectAlipay = item; this.selectAlipay = item;
this.selectedItem = { ...item };
}, },
changeSelectTaobao(item) { changeSelectTaobao(item) {
if(this.bindTaobaoId === item.payid){
this.bindTaobaoId = 0
this.selectTaobao = null
return true
}
this.bindTaobaoId = item.payid; this.bindTaobaoId = item.payid;
this.selectTaobao = item; this.selectTaobao = item;
this.selectedItem = { ...item };
}, },
changeSelectJindong(item) { changeSelectJindong(item) {
if(this.bindJdId === item.payid){
this.bindJdId = 0
this.selectJd = null
return true
}
this.bindJdId = item.payid; this.bindJdId = item.payid;
this.selectJd = item; this.selectJd = item;
this.selectedItem = { ...item };
}, },
changeSelectPdd(item) { changeSelectPdd(item) {
if(this.bindPddId === item.payid){
this.bindPddId = 0
this.selectPdd = null
return true
}
this.bindPddId = item.payid; this.bindPddId = item.payid;
this.selectPdd = item; this.selectPdd = item;
this.selectedItem = { ...item };
}, },
goBindPay(type) { goBindPay(type) {
this.addPayType = type; this.addPayType = type;

Loading…
Cancel
Save