소스 검색

确认订单修改bug

zhengjinyi 4 년 전
부모
커밋
eada5e7ddf
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;