Browse Source

确认订单修改bug

zhengjinyi 4 năm trước cách đây
mục cha
commit
eada5e7ddf
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/main/resources/static/js/shopping/confirm.js

+ 2 - 0
src/main/resources/static/js/shopping/confirm.js

@@ -157,6 +157,7 @@ var shoppingConfirm = new Vue({
                             }else{
                                 _self.isBeansShow = false;
                             }
+                            _self.changeDeductibleFreight();
                             break;
                     }
 
@@ -429,6 +430,7 @@ var shoppingConfirm = new Vue({
                     console.log('最终支付金额---->',_self.payInfo.orderShouldPayFee)
                 }else{
                     _self.payInfo.orderShouldPayFee = _self.totalPrice ;
+                    _self.hanldUserBeans = 0
                 }
             }else{
                 _self.payInfo.orderShouldPayFee = _self.totalPrice + _self.payInfo.freight;