需求497
This commit is contained in:
parent
7d2381306a
commit
d8f724ae68
|
@ -293,7 +293,11 @@
|
|||
//兑换商品
|
||||
exchangeGoodsFn () {
|
||||
if (goodsDetail.available != 1) {
|
||||
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
/* 卡密商品直接兑换 */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -341,7 +341,12 @@
|
|||
//兑换商品
|
||||
exchangeGoodsFn () {
|
||||
if (goodsDetail.available != 1) {
|
||||
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
|
||||
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));
|
||||
}
|
||||
|
||||
/* 卡密商品直接兑换 */
|
||||
|
|
|
@ -232,7 +232,11 @@
|
|||
this.loading = true;
|
||||
let self = this;
|
||||
if (self.goodInfo.available != 1) {
|
||||
self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -237,7 +237,11 @@
|
|||
this.loading = true;
|
||||
let self = this;
|
||||
if (self.goodInfo.available != 1) {
|
||||
self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -244,7 +244,12 @@
|
|||
this.loading = true;
|
||||
let self = this;
|
||||
if (self.goodInfo.available != 1) {
|
||||
self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue