|
@@ -625,7 +625,9 @@ var productDetail = new Vue({
|
|
|
});
|
|
|
}
|
|
|
// 计算价格
|
|
|
- _self.calculatetTtalPrice();
|
|
|
+ if(this.listQuery.userId>0){
|
|
|
+ this.calculatetTtalPrice();
|
|
|
+ }
|
|
|
},
|
|
|
calculatetTtalPrice: function () { // 计算配套商品总价格
|
|
|
var _self = this;
|
|
@@ -658,7 +660,9 @@ var productDetail = new Vue({
|
|
|
}else{
|
|
|
_self.isProductChecked = false
|
|
|
}
|
|
|
- _self.calculatetTtalPrice();
|
|
|
+ if(this.listQuery.userId>0){
|
|
|
+ this.calculatetTtalPrice();
|
|
|
+ }
|
|
|
},
|
|
|
toBuyCoupon:function (coupon) {// 点击购买按钮事件处理
|
|
|
var _self = this;
|