Browse Source

修改

master
nige 3 years ago
parent
commit
55e3ee61dd
  1. 7
      pages/order/scene/index.js

7
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 singlePrice: this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price
}) })
console.log(this.data.product); 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]; this.couponCom = this.selectAllComponents("#coupon")[0];
} }
}, },
@ -137,8 +137,9 @@ Page({
icon: 'none' 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() this.couponCom.setNullCoupon()
} }
app.globalData.couponInfo = null; app.globalData.couponInfo = null;
this.setData({ this.setData({
@ -157,7 +158,7 @@ Page({
this.setData({ this.setData({
coupon: null 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() this.couponCom.setNullCoupon()
} }
app.globalData.couponInfo = null; app.globalData.couponInfo = null;

Loading…
Cancel
Save