Browse Source

确认订单修改bug

zhengjinyi 4 years ago
parent
commit
75cbd81c40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/static/js/shopping/confirm.js

+ 1 - 1
src/main/resources/static/js/shopping/confirm.js

@@ -428,7 +428,7 @@ var shoppingConfirm = new Vue({
                         console.log('商品总价-------->',_self.totalPrice);
                         console.log('邮费------------>',_self.payInfo.freight);
                         console.log('采美豆换算金额--->',_self.freightBeansMoney);
-                        _self.payInfo.orderShouldPayFee = ((_self.totalPrice + _self.payInfo.freight)*100 - _self.freightBeansMoney*100)/100;
+                        _self.payInfo.orderShouldPayFee = (_self.totalPrice*100 + _self.payInfo.freight*100 - _self.freightBeansMoney*100)/100;
                         console.log('最终支付金额---->',_self.payInfo.orderShouldPayFee)
                     }
                 }else{