|
|
@@ -15,12 +15,12 @@
|
|
|
<text class="item-name">{{ s.name }}</text>
|
|
|
<text class="item-price">
|
|
|
<text class="unit"></text>
|
|
|
- <text class="price"><text>{{s.itemNum}}扎*{{parseFloat(s.itemPrice)}}</text></text>
|
|
|
+ <text class="price"><text>{{s.itemNum}}扎</text></text>
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="info-line">
|
|
|
<text class="item-type"></text>
|
|
|
- <text class="item-count">¥{{ s.totalPrice }}</text>
|
|
|
+ <text class="item-count"></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -30,22 +30,17 @@
|
|
|
|
|
|
<view class="content-box price-detail">
|
|
|
<div class="module-com input-line-wrap">
|
|
|
- <tui-list-cell class="line-cell" :hover="false">
|
|
|
- <div class="tui-title">订单原价</div>
|
|
|
- <div class="detail-price_box">¥{{ prePrice }}</div>
|
|
|
- </tui-list-cell>
|
|
|
- <tui-list-cell class="line-cell" :hover="false" v-if="discountType == 4">
|
|
|
- <div class="tui-title">红包优惠</div>
|
|
|
- <div class="detail-price_box red"><text v-if="hbRefund == 1" style="margin-right:50rpx;">红包已退回</text>-¥{{ discountAmount }}</div>
|
|
|
- </tui-list-cell>
|
|
|
- <tui-list-cell class="line-cell" :hover="false">
|
|
|
- <div class="tui-title">实付金额</div>
|
|
|
- <div class="detail-price_box">¥{{ actPrice }}</div>
|
|
|
- </tui-list-cell>
|
|
|
+
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<div class="tui-title">退款金额</div>
|
|
|
- <div class="detail-price_box red">¥{{ refundPrice }}</div>
|
|
|
+ <div class="detail-price_box red">¥{{ refundPrice }}</div>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" v-if="hbRefund == 1">
|
|
|
+ <div class="tui-title">红包</div>
|
|
|
+ <div class="detail-price_box red">已退回</div>
|
|
|
</tui-list-cell>
|
|
|
+
|
|
|
</div>
|
|
|
</view>
|
|
|
|
|
|
@@ -68,6 +63,7 @@
|
|
|
</tui-list-cell>
|
|
|
</div>
|
|
|
</view>
|
|
|
+ <view v-if="refundData.cgInfo.discountType == 4" style="margin-top:30rpx;color:red;font-weight:400;font-size:30rpx;">此单使用红包,红包抵扣部分不能退款。</view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -114,7 +110,7 @@ export default {
|
|
|
this.actPrice = parseFloat(res.data.cgInfo.actPrice)
|
|
|
}
|
|
|
this.hbRefund = res.data.info.hbRefund
|
|
|
- this.refundPrice = res.data.info.refundPrice
|
|
|
+ this.refundPrice = parseFloat(res.data.info.refundPrice)
|
|
|
})
|
|
|
}
|
|
|
}
|