shish 5 年 前
コミット
fd91fd197b

+ 4 - 4
ghsApp/src/pagesOrder/detail.vue

@@ -78,14 +78,14 @@
 					<view>订单状态:</view>
 					<view>{{ detailInfo.status==1?'待付款':detailInfo.status==2?'待配送':detailInfo.status==3?'配送中':detailInfo.status==4?'已完成':detailInfo.status==5?'已取消':'已退款' }}</view>
 				</view>
-				<view v-if="detailInfo.refund == 2" class="order-info_box">
-					<view>有退款:</view>
-					<view style="color:red;font-weight:bold;font-size:30rpx;">是</view>
-				</view>
 				<view v-if="detailInfo.refund == 2" class="order-info_box">
 					<view>退款金额:</view>
 					<view style="color:red;font-weight:bold;font-size:30rpx;">{{detailInfo.tkPrice}}</view>
 				</view>
+				<view v-if="detailInfo.refund == 2" class="order-info_box">
+					<view>退款方式:</view>
+					<view style="color:red;font-weight:bold;font-size:30rpx;">{{detailInfo.tkExplain||''}}</view>
+				</view>
 
 			</view>
 			<view class="content-box shipping-address" v-if="detailInfo.expressProgress!=''">

+ 2 - 2
hdApp/src/pagesPurchase/orderItem.vue

@@ -19,7 +19,7 @@
       <view class="item-info">
         <view class="info-row">
           <text class="info-label"> 日期:</text>
-          <text class="info-value">{{ info.addTime }} <text v-if="info.refund == 2" style="color:red;font-weight:bold;margin-left:10rpx;">有退款</text></text>
+          <text class="info-value">{{ info.addTime }}</text>
         </view>
         <view class="info-row">
           <text class="info-label"> 单号:</text>
@@ -31,7 +31,7 @@
         </view>
         <view class="info-row">
           <text class="info-label"> 数量:</text>
-          <text class="info-value">{{ info.bigNum }} / {{info.smallNum}}</text>
+          <text class="info-value">{{ info.bigNum }}/{{info.smallNum}}<text v-if="info.refund == 2" style="color:red;font-weight:bold;margin-left:10rpx;">有退款</text></text>
         </view>
       </view>
       <view class="item-price">¥{{ info.realPrice }} <text class="iconfont iconxiangyou"></text>

+ 4 - 4
hdApp/src/pagesPurchase/purDetails.vue

@@ -80,12 +80,12 @@
         </view>
 
         <view v-if="detailInfo.refund == 2" class="order-info_box">
-          <view>退款:</view>
-          <view style="color:red;font-weight:bold;font-size:30rpx;"></view>
+          <view>退款金额:</view>
+          <view style="color:red;font-weight:bold;font-size:30rpx;">{{detailInfo.tkPrice}}</view>
         </view>
         <view v-if="detailInfo.refund == 2" class="order-info_box">
-          <view>退款金额:</view>
-          <view style="color:red;font-weight:bold;font-size:30rpx;">{{detailInfo.refundPrice}}</view>
+          <view>退款方式:</view>
+          <view style="color:red;font-weight:bold;font-size:30rpx;">{{detailInfo.tkExplain||''}}</view>
         </view>
 
       </view>