|
@@ -420,10 +420,12 @@ var shoppingConfirm = new Vue({
|
|
|
var _self = this;
|
|
|
if(_self.balance.isFreight){
|
|
|
_self.hanldUserBeans = _self.freightBeansMoney*100;
|
|
|
- console.log('freightBeansMoney',_self.freightBeansMoney);
|
|
|
if(_self.payInfo.freePostFlag == 1){
|
|
|
- _self.payInfo.orderShouldPayFee = _self.totalPrice + _self.payInfo.freight - _self.freightBeansMoney;
|
|
|
- console.log('最终支付金额',_self.payInfo.orderShouldPayFee)
|
|
|
+ console.log('商品总价-------->',_self.totalPrice);
|
|
|
+ console.log('邮费------------>',_self.payInfo.freight);
|
|
|
+ console.log('采美豆换算金额--->',_self.freightBeansMoney);
|
|
|
+ _self.payInfo.orderShouldPayFee = (_self.totalPrice*10 + _self.payInfo.freight*10 - _self.freightBeansMoney*10)/10;
|
|
|
+ console.log('最终支付金额---->',_self.payInfo.orderShouldPayFee)
|
|
|
}else{
|
|
|
_self.payInfo.orderShouldPayFee = _self.totalPrice ;
|
|
|
}
|