pull/12/head
xiaozhiyong 1 year ago
parent efd2b58548
commit ec8982948f
  1. 7
      pages/tabbar/home/home.vue

@ -880,6 +880,13 @@
if (result.qrcodeText) { if (result.qrcodeText) {
let accountResult = await accountApi.getUserAccount() let accountResult = await accountApi.getUserAccount()
if (accountResult.data.length) { if (accountResult.data.length) {
if (accountResult.data[0].oilCardType != 3) {
uni.showToast({
title: '非外请油卡不支持赠送金额',
icon: 'none'
})
return
}
accountApi.checkQrStr(result.giveCustomerId, result.qrcodeText).then( accountApi.checkQrStr(result.giveCustomerId, result.qrcodeText).then(
res => { res => {
let currentCard = accountResult.data[0] || [] let currentCard = accountResult.data[0] || []

Loading…
Cancel
Save