From ffd6e2c5ccbfb5b680bafffa776a5dfa953a75b7 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Thu, 10 Nov 2022 14:29:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5)=EF=BC=9A=E7=82=B9=E5=87=BB=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=9C=89=E6=97=A0=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- coupon/details.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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