Commit 94baa4bc authored by zhangjianguo's avatar zhangjianguo

Merge branch 'master' of http://gitlab.oytour.com/viitto/mallapp

parents 93586833 03e6b3f1
...@@ -108,8 +108,8 @@ export default { ...@@ -108,8 +108,8 @@ export default {
data: { data: {
Source: 1, Source: 1,
OpenId: obj.OpenId, OpenId: obj.OpenId,
Name: obj.nickName, Name: obj.Name,
Photo: obj.avatarUrl, Photo: obj.Photo,
Moblie: '', Moblie: '',
SuperiorId: 0 SuperiorId: 0
} }
......
...@@ -283,7 +283,11 @@ export default { ...@@ -283,7 +283,11 @@ export default {
}, },
onLoad(option) { onLoad(option) {
this.opTionObj = option; this.opTionObj = option;
this.id = option.GoodsId ? option.GoodsId : 29; //40887 59512 46942 if(option&&option.id){
this.id = option.id ? option.id : 29; //40887 59512 46942
}else{
this.id = option.GoodsId ? option.GoodsId : 29; //40887 59512 46942
}
this.init(); this.init();
this.mc = this.$uiConfig.mainColor; this.mc = this.$uiConfig.mainColor;
this.secondary = this.$uiConfig.secondary; this.secondary = this.$uiConfig.secondary;
...@@ -484,7 +488,7 @@ export default { ...@@ -484,7 +488,7 @@ export default {
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
font-size: 16px; font-size: 16px;
height: 40px; height: 45px;
} }
.goods .g-info .g-price-box { .goods .g-info .g-price-box {
display: flex; display: flex;
......
...@@ -475,10 +475,11 @@ export default { ...@@ -475,10 +475,11 @@ export default {
}, },
changeUseInt(e) { changeUseInt(e) {
this.userInt = e.value; this.userInt = e.value;
this.formData.list.forEach(x => { // this.formData.list.forEach(x => {
x.use_integral = this.userInt ? 1 : 0; // x.use_integral = this.userInt ? 1 : 0;
this.formData.Use_Integral = this.userInt ? 1 : 0; // this.formData.Use_Integral = this.userInt ? 1 : 0;
}); // });
this.formdata.Use_Integral = this.userInt ? 1 : 0;
this.init(); this.init();
}, },
initPage() { initPage() {
...@@ -575,7 +576,7 @@ export default { ...@@ -575,7 +576,7 @@ export default {
x.delivery.send_type_name = y.name; x.delivery.send_type_name = y.name;
} }
}); });
this.goodPrice += parseFloat(x.total_goods_original_price); this.goodPrice += parseFloat(x.total_goods_price);
this.expressPrice += parseFloat(x.express_price); this.expressPrice += parseFloat(x.express_price);
this.couponPrice += parseFloat(x.coupon.coupon_discount || 0.0); this.couponPrice += parseFloat(x.coupon.coupon_discount || 0.0);
if (x.integral.can_use) { if (x.integral.can_use) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment