更新
This commit is contained in:
@@ -254,7 +254,6 @@
|
|||||||
this.otherUser = 'kl'
|
this.otherUser = 'kl'
|
||||||
}
|
}
|
||||||
this.otherUserInfo = otherUserInfo
|
this.otherUserInfo = otherUserInfo
|
||||||
// console.log('+++++',option)
|
|
||||||
this.showtitles = oilItem.listTag
|
this.showtitles = oilItem.listTag
|
||||||
this.siteId = option.siteId
|
this.siteId = option.siteId
|
||||||
this.activeChannelCode = option.activeChannelCode
|
this.activeChannelCode = option.activeChannelCode
|
||||||
@@ -317,16 +316,8 @@
|
|||||||
oilCardNature: activeCard.oilCardType, //类型:String 必有字段 备注:油卡性质
|
oilCardNature: activeCard.oilCardType, //类型:String 必有字段 备注:油卡性质
|
||||||
accountCardCode: activeCard.accountCardCode //类型:String 必有字段 备注:油卡卡号
|
accountCardCode: activeCard.accountCardCode //类型:String 必有字段 备注:油卡卡号
|
||||||
}
|
}
|
||||||
// console.log('这里是二维码参数',data2)
|
|
||||||
qrApi.getOilQrCode(data2).then(res => {
|
qrApi.getOilQrCode(data2).then(res => {
|
||||||
// console.log('这里是二维码返回处+',res,'+')
|
|
||||||
if (res.code === 20000) {
|
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
|
this.val = res.data.codeStr
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -346,30 +337,21 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getUserCard() {
|
getUserCard() {
|
||||||
// console.log('%c look that ↓','color:red;font-size:50px')
|
|
||||||
// console.log(uni.getStorageSync('oilItem'),'*-*-*-*-')
|
|
||||||
accountApi.getNewUserAccount({
|
accountApi.getNewUserAccount({
|
||||||
siteId: uni.getStorageSync('oilItem').siteId
|
siteId: uni.getStorageSync('oilItem').siteId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 20000) {
|
if (res.code == 20000) {
|
||||||
if (this.cardList.length) {
|
if (res.data.length) {
|
||||||
let staging = res.data.filter(item => item.companyType != 5)
|
let staging = res.data.filter(item => item.companyType != 5)
|
||||||
let target = this.sortHandler(staging)
|
let target = this.sortHandler(staging)
|
||||||
this.cardList = target
|
this.cardList = target
|
||||||
// this.getMoneyDetail(this.cardList[0])
|
|
||||||
} else this.cardList = []
|
} else this.cardList = []
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
toSiteDetail(id) {
|
toSiteDetail(id) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: `/BagStation/pages/stationDetail/stationDetail?siteId=${id}&customerJump=false`,
|
url: `/BagStation/pages/stationDetail/stationDetail?siteId=${id}&customerJump=false`
|
||||||
fail: (err) => {
|
|
||||||
// console.log(err)
|
|
||||||
},
|
|
||||||
success: () => {
|
|
||||||
// console.log('err')
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
openPlugin() {
|
openPlugin() {
|
||||||
|
|||||||
Reference in New Issue
Block a user