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