This commit is contained in:
xiaozhiyong
2023-09-19 10:23:27 +08:00
parent efd2b58548
commit ec8982948f

View File

@@ -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] || []