Commit 93c92cdd by liimin

fix: 修复退款金额计算错误并更新售后参数传递

修复退款信息框中错误的退款金额计算方式,从 refundPrice * refundCount 改为直接显示 refundPrice
更新售后按钮点击事件中传递的参数,从 redeemPoints 改为 ___price 以保持数据一致性
1 parent df1a1f50
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</view> </view>
<view class="box-item"> <view class="box-item">
<text class="box-item-title">退款金额</text> <text class="box-item-title">退款金额</text>
<view class="refund">{{refundPrice * refundCount}}积分</view> <view class="refund">{{refundPrice}}积分</view>
</view> </view>
</view> </view>
<popup show="{{showPopup}}" only="{{false}}" title="请选择退款原因" bindconfirm="onConfirmPopup"> <popup show="{{showPopup}}" only="{{false}}" title="请选择退款原因" bindconfirm="onConfirmPopup">
......
...@@ -111,13 +111,13 @@ Component({ ...@@ -111,13 +111,13 @@ Component({
// 售后 // 售后
onAfterSale(e) { onAfterSale(e) {
let { subOrderCode, redeemPoints, goodsSource,goodsSkuCode,___qty, tparReturnOrderCode } = let { subOrderCode, ___price, goodsSource,goodsSkuCode,___qty, tparReturnOrderCode } =
this.data.order; this.data.order;
wx.p.router.go( wx.p.router.go(
"/packageMine/pages/order/afterSale_step_two/afterSale_step_two", "/packageMine/pages/order/afterSale_step_two/afterSale_step_two",
{ {
subOrderCode, subOrderCode,
refundPoints: redeemPoints, refundPoints: ___price,
goodsSource, goodsSource,
applyQty: ___qty, applyQty: ___qty,
goodsSkuCode, goodsSkuCode,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!