소스 검색

余额抵扣逻辑调整

zhengjinyi 3 년 전
부모
커밋
474f576211
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/main/resources/static/js/user-center/order/detail.js
  2. 1 1
      src/main/resources/static/js/user-center/order/list.js

+ 1 - 1
src/main/resources/static/js/user-center/order/detail.js

@@ -167,7 +167,7 @@ var orderPage = new Vue({
             var _self = this;
             OrderApi.OrderPaymentValidation({orderId:_self.orderId},function(response){
                 if(response.code == 0){
-                    var data = _self.payModelData = response.data
+                    var data = _self.payModelData = response.data;
                     if(data.balanceFlag == 1){// 0可以走余额抵扣,1不能走余额抵扣
                         window.location.href = '/pay/caimei-paylist.html?&orderId='+_self.orderId;
                     }else{

+ 1 - 1
src/main/resources/static/js/user-center/order/list.js

@@ -244,7 +244,7 @@ var orderPage = new Vue({
             _self.orderIdentificationId = '#'+orderId+'#';
             OrderApi.OrderPaymentValidation({orderId:orderId},function(response){
                 if(response.code == 0){
-                    var data = _self.payModelData = response.data
+                    var data = _self.payModelData = response.data;
                     if(data.balanceFlag == 1){// 0可以走余额抵扣,1不能走余额抵扣
                         window.location.href = '/pay/caimei-paylist.html?&orderId='+orderId;
                     }else{