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