更新
This commit is contained in:
@@ -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] || []
|
||||||
|
|||||||
Reference in New Issue
Block a user