shish 2 tahun lalu
induk
melakukan
e340c3dc62
1 mengubah file dengan 7 tambahan dan 9 penghapusan
  1. 7 9
      ghsApp/src/pagesOrder/refundAllList.vue

+ 7 - 9
ghsApp/src/pagesOrder/refundAllList.vue

@@ -12,19 +12,17 @@
 				<view class="flex-space list" v-for="(item, index) in list.data" :key="index" @click="goDetail(item.refundInfo)">
           <block v-if="!$util.isEmpty(item.refundInfo)">
           <view class="label">
-              <text>日期:{{item.refundInfo.addTime.substr(5,11)}}</text>
-              <text>单号:{{item.refundInfo.orderSn}}</text>
-              <text>操作:{{item.refundInfo.shopAdminName}}</text>
-              <text>类型:{{item.refundInfo.book == 1 ? '预订单多退少补' :'售后'}}</text>
+              <text style="font-weight:bold;">{{item.name}}</text>
+              <text>金额:¥{{item.xhUnitPrice?parseFloat(item.xhUnitPrice):0}} x {{item.xhNum}}</text>
+              <text>原因:{{item.cause == 0 ? '质量问题' : '多开错开'}}</text>
+              <text>时间:{{item.addTime.substr(5,11)}}</text>
               <text v-if="!$util.isEmpty(item.refundInfo.remark)">备注:{{item.refundInfo.remark}}</text>
-
-              <text style="position:absolute;right:-425upx;top:0upx;">{{ item.refundInfo.status==0?'待审核':item.refundInfo.status==1?'已通过':item.refundInfo.status==2?'已驳回':item.refundInfo.status==3 ? '已取消':'' }}</text>    
-
+              <text style="position:absolute;right:-500upx;top:0upx;">{{ item.status==0?'待审核':item.status==1?'已通过':item.status==2?'已驳回':item.status==3 ? '已取消':'' }}</text>
           </view>
-          <view class="flex val">¥{{parseFloat(item.refundInfo.refundPrice)}} <view class="iconfont iconxiangyou"></view> </view>
+          <view class="flex val">¥{{parseFloat(item.xhPrice)}} <view class="iconfont iconxiangyou"></view> </view>
         </block>
 		    </view>
-        
+
 			</block>
 			<block v-else>
 				<app-wrapper-empty title="暂无数据" :is-empty="$util.isEmpty(list.data)" />