tijiao
This commit is contained in:
@@ -872,7 +872,7 @@ export default {
|
||||
if (res.code == 0) {
|
||||
console.log(
|
||||
"res.code at line 53899999999999999999999999999999999:",
|
||||
res
|
||||
res,
|
||||
);
|
||||
this.vipPrice = res.discountAmount;
|
||||
// console.log('需要的运费', res.result)
|
||||
@@ -935,12 +935,13 @@ export default {
|
||||
this.jfNumberShow = this.jfNumber.toFixed(2);
|
||||
}
|
||||
|
||||
this.actualPayment =Number(
|
||||
this.actualPayment = Number(
|
||||
this.totalPrice -
|
||||
this.jfNumber -
|
||||
this.districtAmount -
|
||||
this.vipPrice +
|
||||
this.freightNum).toFixed(2);
|
||||
this.jfNumber -
|
||||
this.districtAmount -
|
||||
this.vipPrice +
|
||||
this.freightNum,
|
||||
).toFixed(2);
|
||||
|
||||
if (this.actualPayment == 0) {
|
||||
this.isDefaultCurrency = true;
|
||||
@@ -949,7 +950,7 @@ export default {
|
||||
}
|
||||
console.log(
|
||||
"this.isDefaultCurrency at line 692:",
|
||||
this.isDefaultCurrency
|
||||
this.isDefaultCurrency,
|
||||
);
|
||||
this.$forceUpdate();
|
||||
});
|
||||
@@ -1202,20 +1203,24 @@ export default {
|
||||
that.actualPayment = that.totalPrice.toFixed(2);
|
||||
} else {
|
||||
that.jfNumberShow = that.jfNumber.toFixed(2);
|
||||
that.actualPayment = Number(that.totalPrice - that.jfNumber).toFixed(2);
|
||||
that.actualPayment = Number(that.totalPrice - that.jfNumber).toFixed(
|
||||
2,
|
||||
);
|
||||
}
|
||||
that.actualPayment =Number(
|
||||
that.actualPayment = Number(
|
||||
that.actualPayment +
|
||||
that.freightNum -
|
||||
that.districtAmount -
|
||||
that.vipPrice).toFixed(2);
|
||||
that.freightNum -
|
||||
that.districtAmount -
|
||||
that.vipPrice,
|
||||
).toFixed(2);
|
||||
} else {
|
||||
that.actualPayment =Number(
|
||||
that.actualPayment = Number(
|
||||
that.totalPrice +
|
||||
that.freightNum -
|
||||
couponAmount -
|
||||
that.districtAmount -
|
||||
that.vipPrice).toFixed(2);
|
||||
that.freightNum -
|
||||
couponAmount -
|
||||
that.districtAmount -
|
||||
that.vipPrice,
|
||||
).toFixed(2);
|
||||
}
|
||||
|
||||
if (this.actualPayment == 0 && !this.isShowAddress) {
|
||||
@@ -1254,7 +1259,7 @@ export default {
|
||||
this.orderModalShowInfo = v;
|
||||
console.log(
|
||||
"this.orderModalShowInfo at line 727:",
|
||||
this.orderModalShowInfo
|
||||
this.orderModalShowInfo,
|
||||
);
|
||||
this.orderModalShow = true;
|
||||
if (this.orderModalShowInfo.type == "remark") {
|
||||
@@ -1406,7 +1411,7 @@ export default {
|
||||
// });
|
||||
// }, 1000)
|
||||
}
|
||||
}
|
||||
},
|
||||
);
|
||||
} else if (this.payType == 1) {
|
||||
// 微信支付
|
||||
|
||||
Reference in New Issue
Block a user