|
|
@@ -52,7 +52,7 @@
|
|
|
<view>{{ detailInfo.status==1?'待确认' :detailInfo.status==2?'待发货' :detailInfo.status==3?'待入库' :detailInfo.status==4?'已入库' :'已取消' }}</view>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 累计退款 = 当天 tkPrice + 隔天 nextDayTkPrice -->
|
|
|
+ <!-- 累计退款 = 当天 tkPrice + 跨天 nextDayTkPrice -->
|
|
|
<view v-if="detailInfo.refund == 2 || Number(detailInfo.nextDayTkPrice)>0" class="order-info_box">
|
|
|
<view style="color:red;font-weight:bold;">累计退款:</view>
|
|
|
<view style="color:red;font-weight:bold;font-size:30upx;">¥{{ totalRefundPrice }}</view>
|
|
|
@@ -204,7 +204,7 @@
|
|
|
<div class="tui-title">总金额</div>
|
|
|
<div class="detail-price_box" style="font-size: 30upx;">¥{{ detailInfo.prePrice ? parseFloat(detailInfo.prePrice) : 0 }}</div>
|
|
|
</tui-list-cell>
|
|
|
- <!-- 金额明细里只展示当天退款(tkPrice),隔天不减实付故不进此行 -->
|
|
|
+ <!-- 金额明细里只展示当天退款(tkPrice),跨天不减实付故不进此行 -->
|
|
|
<tui-list-cell v-if="sameDayRefundPrice > 0" class="line-cell" :hover="false">
|
|
|
<div class="tui-title">当天售后</div>
|
|
|
<div class="detail-price_box red" style="font-size:30upx">-¥{{ sameDayRefundPrice }}</div>
|
|
|
@@ -217,7 +217,7 @@
|
|
|
<div class="tui-title">实际金额</div>
|
|
|
<div class="detail-price_box" style="font-size:32upx;color:#3385FF;">¥{{ detailInfo.realPrice ? parseFloat(detailInfo.realPrice) : 0 }}</div>
|
|
|
</tui-list-cell>
|
|
|
- <!-- 隔天退款不改 realPrice;最终金额 = 实际金额 - 隔天退款 -->
|
|
|
+ <!-- 跨天退款不改 realPrice;最终金额 = 实际金额 - 跨天退款 -->
|
|
|
<tui-list-cell v-if="Number(detailInfo.nextDayTkPrice) > 0" class="line-cell" :hover="false">
|
|
|
<div class="tui-title">跨天售后</div>
|
|
|
<div class="detail-price_box red" style="font-size:30upx;">-¥{{ nextDayRefundPrice }}</div>
|
|
|
@@ -374,13 +374,13 @@ export default {
|
|
|
sameDayRefundPrice() {
|
|
|
return parseFloat(Number(this.detailInfo.tkPrice || 0).toFixed(2))
|
|
|
},
|
|
|
- /** 隔天退款:nextDayTkPrice(不改 realPrice) */
|
|
|
+ /** 跨天退款:nextDayTkPrice(不改 realPrice) */
|
|
|
nextDayRefundPrice() {
|
|
|
return parseFloat(Number(this.detailInfo.nextDayTkPrice || 0).toFixed(2))
|
|
|
},
|
|
|
/**
|
|
|
- * 最终金额:实际金额 realPrice - 隔天退款
|
|
|
- * 隔天退款不改实付口径,用差值展示净额
|
|
|
+ * 最终金额:实际金额 realPrice - 跨天退款
|
|
|
+ * 跨天退款不改实付口径,用差值展示净额
|
|
|
*/
|
|
|
finalPriceAfterNextDayRefund() {
|
|
|
const real = Number(this.detailInfo.realPrice) || 0
|
|
|
@@ -388,7 +388,7 @@ export default {
|
|
|
const final = real - next
|
|
|
return parseFloat((final > 0 ? final : 0).toFixed(2))
|
|
|
},
|
|
|
- /** 累计退款:当天 tkPrice + 隔天 nextDayTkPrice */
|
|
|
+ /** 累计退款:当天 tkPrice + 跨天 nextDayTkPrice */
|
|
|
totalRefundPrice() {
|
|
|
const tk = Number(this.detailInfo.tkPrice || 0)
|
|
|
const next = Number(this.detailInfo.nextDayTkPrice || 0)
|