pull/9/head
xiaozhiyong 2 years ago
parent b0a89c5a98
commit 27e90b27b8
  1. 22
      BagStation/pages/stationDetail/stieQr.vue

@ -254,7 +254,6 @@
this.otherUser = 'kl'
}
this.otherUserInfo = otherUserInfo
// console.log('+++++',option)
this.showtitles = oilItem.listTag
this.siteId = option.siteId
this.activeChannelCode = option.activeChannelCode
@ -317,16 +316,8 @@
oilCardNature: activeCard.oilCardType, //String
accountCardCode: activeCard.accountCardCode //String
}
// console.log('',data2)
qrApi.getOilQrCode(data2).then(res => {
// console.log('+',res,'+')
if (res.code === 20000) {
// console.log(res.data)
// console.log(this.otherUser,'++++++++++++++++++++')
// if(this.otherUser = 'kl'){
// this.val = res.data.codeStr+"&"+this.otherUser
// return
// }
this.val = res.data.codeStr
}
})
@ -346,30 +337,21 @@
})
},
getUserCard() {
// console.log('%c look that ','color:red;font-size:50px')
// console.log(uni.getStorageSync('oilItem'),'*-*-*-*-')
accountApi.getNewUserAccount({
siteId: uni.getStorageSync('oilItem').siteId
}).then(res => {
if (res.code == 20000) {
if (this.cardList.length) {
if (res.data.length) {
let staging = res.data.filter(item => item.companyType != 5)
let target = this.sortHandler(staging)
this.cardList = target
// this.getMoneyDetail(this.cardList[0])
} else this.cardList = []
}
})
},
toSiteDetail(id) {
uni.redirectTo({
url: `/BagStation/pages/stationDetail/stationDetail?siteId=${id}&customerJump=false`,
fail: (err) => {
// console.log(err)
},
success: () => {
// console.log('err')
}
url: `/BagStation/pages/stationDetail/stationDetail?siteId=${id}&customerJump=false`
})
},
openPlugin() {

Loading…
Cancel
Save