|
|
@@ -233,9 +233,10 @@
|
|
|
<view>过期时间:</view>
|
|
|
<view>{{detailInfo.deadline?detailInfo.deadline.substr(5,11):''}}</view>
|
|
|
</view>
|
|
|
- <view v-if="detailInfo.refundLog == 1" class="order-info_box" style="margin-top:40upx;">
|
|
|
+ <!-- 累计退款 = tkPrice + nextDayTkPrice;不单独展示隔天冲销 -->
|
|
|
+ <view v-if="detailInfo.refundLog == 1 || Number(detailInfo.nextDayTkPrice) > 0" class="order-info_box" style="margin-top:40upx;">
|
|
|
<view>累计退款:</view>
|
|
|
- <view style="color:red;font-weight:bold;font-size:30upx;">{{parseFloat(detailInfo.tkPrice)}}</view>
|
|
|
+ <view style="color:red;font-weight:bold;font-size:30upx;">{{ totalTkPrice }}</view>
|
|
|
<view class="price" v-if="detailInfo.refundLog==1">
|
|
|
<button @click="pageTo({url: '/pagesOrder/refundList',query: {orderSn: detailInfo.orderSn}})" style="color:red;border: 1upx solid red;" class="admin-button-com">售后记录</button>
|
|
|
</view>
|
|
|
@@ -386,7 +387,7 @@
|
|
|
<div class="detail-price_box" style="font-size: 28upx">¥{{ parseFloat(detailInfo.orderPrice) }}</div>
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell v-if="detailInfo.tkPrice > 0" class="line-cell" :hover="false">
|
|
|
- <div class="tui-title">退款金额</div>
|
|
|
+ <div class="tui-title">当天退款</div>
|
|
|
<div class="detail-price_box" style="font-size: 28upx">
|
|
|
<text v-if="Number(detailInfo.refundSendCost)>0">(含运费{{detailInfo.refundSendCost?parseFloat(detailInfo.refundSendCost):0}}元)</text>
|
|
|
<text v-if="Number(detailInfo.refundPackCost)>0">(含打包费{{detailInfo.refundPackCost?parseFloat(detailInfo.refundPackCost):0}}元)</text>
|
|
|
@@ -442,7 +443,7 @@
|
|
|
<view class="detail-price_box" style="font-size: 28upx;" v-else>0</view>
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell v-if="detailInfo.tkPrice > 0" class="line-cell" :hover="false">
|
|
|
- <div class="tui-title">退款金额</div>
|
|
|
+ <div class="tui-title">当天退款</div>
|
|
|
<div class="detail-price_box" style="font-size: 28upx">
|
|
|
<text v-if="Number(detailInfo.refundSendCost)>0">(含运费{{detailInfo.refundSendCost?parseFloat(detailInfo.refundSendCost):0}}元)</text>
|
|
|
<text v-if="Number(detailInfo.refundPackCost)>0">(含打包费{{detailInfo.refundPackCost?parseFloat(detailInfo.refundPackCost):0}}元)</text>
|
|
|
@@ -792,6 +793,12 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters({ loginInfo: "getLoginInfo",dictInfo:"getDictionariesInfo" }),
|
|
|
+ /** 累计退款展示:tkPrice + nextDayTkPrice(价格明细「当天退款」只用 tkPrice,因影响 actPrice) */
|
|
|
+ totalTkPrice() {
|
|
|
+ const day = Number(this.detailInfo.tkPrice) || 0
|
|
|
+ const next = Number(this.detailInfo.nextDayTkPrice) || 0
|
|
|
+ return parseFloat((day + next).toFixed(2))
|
|
|
+ },
|
|
|
},
|
|
|
onShareAppMessage(res) {
|
|
|
const purchaseId = this.detailInfo.purchaseId || 0
|