diff --git a/coupon/details.html b/coupon/details.html index 875152b..58be9ef 100644 --- a/coupon/details.html +++ b/coupon/details.html @@ -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