shish 23 часов назад
Родитель
Сommit
c552aca21a
1 измененных файлов с 13 добавлено и 0 удалено
  1. 13 0
      mallApp/src/pages/order/refund-detail.vue

+ 13 - 0
mallApp/src/pages/order/refund-detail.vue

@@ -25,6 +25,14 @@
           <text class="extra-label">审核时间</text>
           <text class="extra-label">审核时间</text>
           <text class="extra-value">{{ detail.auditTime }}</text>
           <text class="extra-value">{{ detail.auditTime }}</text>
         </view>
         </view>
+        <!-- 已通过:标明返充到余额 / 原路退回 / 等待商家退还,避免顾客以为一定是原路 -->
+        <view v-if="Number(detail.status) === 1 && detail.fundStatusText" class="extra-row">
+          <text class="extra-label">退回方式</text>
+          <text
+            class="extra-value"
+            :class="{ 'extra-value--fund': Number(detail.returnBalance) === 1 }"
+          >{{ detail.fundStatusText }}</text>
+        </view>
         <view v-if="detail.remark" class="extra-row">
         <view v-if="detail.remark" class="extra-row">
           <text class="extra-label">申请说明</text>
           <text class="extra-label">申请说明</text>
           <text class="extra-value">{{ detail.remark }}</text>
           <text class="extra-value">{{ detail.remark }}</text>
@@ -229,4 +237,9 @@ export default {
 .extra-value--reject {
 .extra-value--reject {
   color: #ff4d4f;
   color: #ff4d4f;
 }
 }
+
+.extra-value--fund {
+  color: #07C160;
+  font-weight: 600;
+}
 </style>
 </style>