bug 673
This commit is contained in:
parent
bc98d6fa08
commit
18cb093e45
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue