This commit is contained in:
zhangguoping 2024-10-28 10:36:11 +08:00
parent bc98d6fa08
commit 18cb093e45
5 changed files with 9 additions and 9 deletions

View File

@ -231,7 +231,7 @@
methods: {
bindAvailable () {
if (goodsDetail.available != 1) {
if(goodsDetail.available === 23 && goodsDetail.period_tips_text) {
if(goodsDetail.available === 23 || goodsDetail.period_tips_text) {
return this.openErrorDialog(goodsDetail.period_tips_text)
} else {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
@ -300,7 +300,7 @@
//兑换商品
exchangeGoodsFn () {
if (goodsDetail.available != 1) {
if(this.goodsDetail.available === 23 && this.goodsDetail.period_tips_text) {
if(this.goodsDetail.available === 23 || this.goodsDetail.period_tips_text) {
return this.openErrorDialog(this.goodsDetail.period_tips_text)
} else {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));

View File

@ -59,7 +59,7 @@
<p>
<span>账号:</span>
<span class="j-input"
style="color: #b1bbc3;height:0.32rem;padding-right: 0.1rem;line-height: 0.32rem;display: inline-block;width: 80%;">{{placeholder}}</span>
style="color: #b1bbc3;height:0.32rem;padding-right: 0.1rem;line-height: 0.32rem;display: inline-block;width: 80%;">{{goodsDetail.account?account:placeholder}}</span>
</p>
<p v-if="goodInfo.is_e_card">
@ -73,7 +73,7 @@
<p v-else>
<span>再次输入:</span>
<span class="j-input"
style="color: #b1bbc3;height:0.32rem;padding-right: 0.1rem;line-height: 0.32rem;display: inline-block;width: 80%;">{{placeholder}}</span>
style="color: #b1bbc3;height:0.32rem;padding-right: 0.1rem;line-height: 0.32rem;display: inline-block;width: 80%;">{{goodsDetail.account?reaccount:placeholder}}</span>
</p>
</div>
@ -279,7 +279,7 @@
methods: {
bindAvailable () {
if (goodsDetail.available != 1) {
if(goodsDetail.available === 23 && goodsDetail.period_tips_text) {
if(goodsDetail.available === 23 || goodsDetail.period_tips_text) {
return this.openErrorDialog(goodsDetail.period_tips_text)
} else {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
@ -348,7 +348,7 @@
//兑换商品
exchangeGoodsFn () {
if (goodsDetail.available != 1) {
if(this.goodsDetail.available === 23 && this.goodsDetail.period_tips_text) {
if(this.goodsDetail.available === 23 || this.goodsDetail.period_tips_text) {
return this.openErrorDialog(this.goodsDetail.period_tips_text)
} else {
return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));

View File

@ -232,7 +232,7 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
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));

View File

@ -237,7 +237,7 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
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));

View File

@ -244,7 +244,7 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
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));