【营销计划-C端】1个商品,暂停,过期,页面展示修改
This commit is contained in:
parent
457d1a7261
commit
bbd483a01d
|
@ -49,7 +49,7 @@
|
|||
<div class="swiper-pagination"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ipt-acc" style="position: relative;z-index: 999;">
|
||||
<div class="ipt-acc" style="position: relative;z-index: 999;" @click="bindAvailable">
|
||||
<p v-if="acctype=='tel'"><span>账号:</span><input :type="acctype"
|
||||
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
||||
:disabled="goodsDetail.available!=1"
|
||||
|
@ -178,6 +178,12 @@
|
|||
})
|
||||
},
|
||||
methods: {
|
||||
bindAvailable(){
|
||||
if(goodsDetail.available!=1){
|
||||
this.openErrorDialog(product_status(goodsDetail.available,goodsDetail));
|
||||
return
|
||||
}
|
||||
},
|
||||
openErrorDialog(tip) {
|
||||
this.maskshow = true;
|
||||
this.popboxtype = '提示';
|
||||
|
@ -213,9 +219,8 @@
|
|||
},
|
||||
//兑换商品
|
||||
exchangeGoodsFn() {
|
||||
console.log(217,this.goodsDetail);
|
||||
if(this.goodsDetail.available!=1){
|
||||
this.openErrorDialog(product_status(this.goodsDetail.available,this.goodsDetail));
|
||||
if(goodsDetail.available!=1){
|
||||
this.openErrorDialog(product_status(goodsDetail.available,goodsDetail));
|
||||
return
|
||||
}
|
||||
if (!this.account) {
|
||||
|
|
Loading…
Reference in New Issue