shish 2 лет назад
Родитель
Сommit
c1d70258c5
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      hdApp/src/admin/clear/info.vue

+ 6 - 2
hdApp/src/admin/clear/info.vue

@@ -45,14 +45,18 @@
 									<text class="item-name">{{ s.orderSn }} 时间 {{s.addTime.substr(5,11)}}</text>
 									<text class="item-price">
 										<text class="unit">¥</text>
-										<text class="price">{{ s.orderPrice?parseFloat(s.orderPrice):0 }}</text>
+										<text class="price">{{ s.actPrice?parseFloat(s.actPrice):0 }}</text>
 									</text>
 								</view>
 								<view class="info-line">
 									<text class="item-type">
 										<text v-if="Number(s.bigNum)>0">{{s.bigNum}}扎</text>
 										<text v-if="Number(s.smallNum)>0">{{s.smallNum}}支</text>
-										<text style="margin-left:20upx;color:red;font-weight:bold;" v-if="Number(s.tkPrice)>0">退款¥{{parseFloat(s.tkPrice)}} 实付¥{{parseFloat(s.actPrice)}}</text>
+										<text style="margin-left:20upx;color:red;font-weight:bold;" v-if="Number(s.tkPrice)>0 || Number(s.discountAmount)>0">
+										原价 ¥{{parseFloat(s.prePrice)}}
+										<text style="margin-left:12upx;" v-if="Number(s.tkPrice)>0">退款 ¥{{parseFloat(s.tkPrice)}}</text>
+										<text style="margin-left:12upx;" v-if="Number(s.discountAmount)>0">优惠 ¥{{parseFloat(s.discountAmount)}}</text>
+										</text>
 									</text>
 									<text class="item-count" style="color:#3385ff;font-size:28upx;">查看明细</text>
 								</view>