diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index bb104c2..0472109 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -67,7 +67,7 @@ Page({ singlePrice: this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price }) console.log(this.data.product); - if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { + if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && this.data.type!='museum') { this.couponCom = this.selectAllComponents("#coupon")[0]; } }, @@ -137,8 +137,9 @@ Page({ icon: 'none' }) } - if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && !this.data.flag) { + if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && !this.data.flag && this.data.type!='museum') { this.couponCom.setNullCoupon() + } app.globalData.couponInfo = null; this.setData({ @@ -157,7 +158,7 @@ Page({ this.setData({ coupon: null }) - if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { + if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && this.data.type!='museum') { this.couponCom.setNullCoupon() } app.globalData.couponInfo = null;