diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index 33c2587..4fb83a5 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -87,18 +87,19 @@ - - + + 积分抵扣 - 0 - 0 + - {{availIntegal}} + {{availIntegal}}/{{user.gold || 0}} + @@ -330,7 +331,7 @@ priceValue: [0, 0], // 积分可以指定默认值 changePrice: '', //滑动值 isDiscount: true, - availIntegal: '', // 可用积分 + availIntegal: 0, // 可用积分 isUse: true, // 是否禁用状态 rechargeDes: '', // 支付详情 rebateIntegral: '', //返回积分 @@ -470,6 +471,7 @@ this.oilPirce = res.return_data.oilCard.amount; } this.getUserNormalDiscountList(); + this.getThirdPartyByDetail(); uni.setStorage({ key: "user", data: res.return_data @@ -544,7 +546,7 @@ this.saveprice = res.return_data.discountPrice; this.orderPrice = res.return_data.salesPrice; this.getRebateIntegral(); - this.getThirdPartyByDetail(); + // this.getThirdPartyByDetail(); } }) }, @@ -1149,10 +1151,10 @@ .deductionPrice).toFixed(2); } if (this.paytheprice == 0) { - if(this.paytype!=8){ + // if(this.paytype!=8){ this.isUse = false; this.paytype = ''; - } + // } } else { this.isUse = true; }