diff --git a/pages/goods/goods.vue b/pages/goods/goods.vue index dcd213f..d8c4afa 100644 --- a/pages/goods/goods.vue +++ b/pages/goods/goods.vue @@ -323,7 +323,7 @@ }, buy() { let that = this; - if(this.goodsData[0].stockCount == 0){ + if(this.goodsData[0].stockCount == 0 && this.goodsData[0].couponSource !=4){ uni.showToast({ title: '库存不足', icon: "none"