fix(商品详情页):点击账号判断有无订单
This commit is contained in:
parent
324ab3129b
commit
ffd6e2c5cc
|
@ -315,8 +315,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
modelPop,
|
modelPop
|
||||||
payPop
|
|
||||||
},
|
},
|
||||||
|
|
||||||
created () {
|
created () {
|
||||||
|
@ -338,7 +337,10 @@
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
bindAvailable () {
|
bindAvailable () {
|
||||||
console.log(347,goodsDetail);
|
if (goodsDetail.wait_pay_order == 1) {
|
||||||
|
this.openErrorDialog('您有未支付的订单');
|
||||||
|
return
|
||||||
|
}
|
||||||
if (goodsDetail.available != 1) {
|
if (goodsDetail.available != 1) {
|
||||||
this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
|
this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue