Commit b2f2eb75 authored by 黄媛媛's avatar 黄媛媛

11

parent 7d2044df
...@@ -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