需求497

This commit is contained in:
zhangguoping 2024-09-30 18:30:51 +08:00
parent 7d2381306a
commit d8f724ae68
6 changed files with 29 additions and 7 deletions

View File

@ -293,8 +293,12 @@
//兑换商品
exchangeGoodsFn () {
if (goodsDetail.available != 1) {
if(this.goodsDetail.available === 23 && this.goodsDetail.available.period_tips_text) {
return this.openErrorDialog(this.goodsDetail.available.period_tips_text)
} else {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
}
}
/* 卡密商品直接兑换 */
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) {

View File

@ -123,8 +123,8 @@
//获取链接携带的参数
let linkId = getQueryString('id');
let keyCode = getQueryString('key');
// linkId = '3438'
// keyCode="AAACm5p65D48ZquM"
linkId = '2360'
keyCode="AAAES5AkbYLpBdjp"
if (!linkId) {//地址栏无携带id
let path = window.location.pathname;

View File

@ -341,8 +341,13 @@
//兑换商品
exchangeGoodsFn () {
if (goodsDetail.available != 1) {
if(this.goodsDetail.available === 23 && this.goodsDetail.available.period_tips_text) {
return this.openErrorDialog(this.goodsDetail.available.period_tips_text)
} else {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
}
// return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
}
/* 卡密商品直接兑换 */
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) {

View File

@ -232,7 +232,11 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
self.openErrorDialog(self.goodInfo.period_tips_text)
} else {
self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
}
this.loading = false;
return;
}

View File

@ -237,7 +237,11 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
self.openErrorDialog(self.goodInfo.period_tips_text)
} else {
self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
}
this.loading = false;
return;
}

View File

@ -244,7 +244,12 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
self.openErrorDialog(self.goodInfo.period_tips_text)
} else {
self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
}
// self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
this.loading = false;
return;
}