refundDetail.wxml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <wxs src="../../../utils/formatFuc.wxs" module="format" />
  2. <view class="whole-page">
  3. <view class="ticket-item">
  4. <view class="ticket-top">
  5. <image src="https://mall.zhaijieshi.cc/file/wx-jms/icon-refund.png" mode="aspectFit"></image>
  6. <view>{{refundDetail.goodsName}}</view>
  7. </view>
  8. <view class="ticket-line">
  9. 退款工单编号:{{refundDetail.aftersaleSn}}
  10. </view>
  11. <view class="ticket-line">
  12. 退款金额:{{refundDetail.amount}}
  13. </view>
  14. <view class="ticket-line">
  15. 申请时间:{{refundDetail.addTime}}
  16. </view>
  17. <view class="ticket-line">
  18. 退款状态:<van-tag type="{{typeTag[refundDetail.status]}}">{{ statusDesc[refundDetail.status]}}</van-tag>
  19. </view>
  20. </view>
  21. <van-tabs active="{{type}}" bind:change="onChange" sticky >
  22. <van-tab title="退款工单信息" name="1"></van-tab>
  23. <van-tab title="订单信息" name="2"></van-tab>
  24. <van-tab title="服务工单信息" name="3"></van-tab>
  25. </van-tabs>
  26. <block wx:if="{{type==1}}">
  27. <view class="common-info">
  28. <view class="common-title">退款信息</view>
  29. <view class="common-content">
  30. <view class="common-line">
  31. <view class="line-left">退款类型:</view>
  32. <view>{{refundDetail.typeName}}</view>
  33. </view>
  34. <view class="common-line">
  35. <view class="line-left">退款时间:</view>
  36. <view>{{refundDetail.refundTime}}</view>
  37. </view>
  38. <!-- 图片 -->
  39. <view wx:if="{{refundDetail.pictures != null&&ticket.pictures.length>0}}">
  40. <image wx:for="{{refundDetail.pictures}}" wx:key="index" src="{{item}}" mode="aspectFit" style="width:100rpx;height:100rpx;margin:0 20rpx 20rpx 0;" bindtap="preImg" data-url="{{item}}">
  41. </image>
  42. </view>
  43. </view>
  44. </view>
  45. <!-- 日志 -->
  46. <view class="common-info" >
  47. <view class="common-title"> 退款工单日志</view>
  48. <view class="common-content">
  49. <van-steps steps="{{ logList }}" active="{{20}}" direction="vertical" />
  50. </view>
  51. </view>
  52. </block>
  53. <block wx:if="{{type==2}}">
  54. <view class="common-info">
  55. <view class="common-title">商品信息</view>
  56. <view class="common-content">
  57. <view class="common-line">
  58. <view class="line-left">商品图片:</view>
  59. <view>
  60. <image src="{{orderInfo.picUrl}}" mode="aspectFit" style="width:100rpx;height:100rpx;"></image></view>
  61. </view>
  62. <view class="common-line">
  63. <view class="line-left">商品名称:</view>
  64. <view>{{orderInfo.shortName}}</view>
  65. </view>
  66. <view class="common-line">
  67. <view class="line-left">商品简称:</view>
  68. <view>{{orderInfo.shortName}}</view>
  69. </view>
  70. <view class="common-line">
  71. <view class="line-left">商品编号:</view>
  72. <view>{{orderInfo.goodsSn}}</view>
  73. </view>
  74. <view class="common-line">
  75. <view class="line-left">规格:</view>
  76. <view>{{orderInfo.specifications}}</view>
  77. </view>
  78. <view class="common-line">
  79. <view class="line-left">加购:</view>
  80. <view>{{orderInfo.unitIncreaseNumber}}</view>
  81. </view>
  82. <view class="common-line">
  83. <view class="line-left">服务次数:</view>
  84. <view>{{orderInfo.serviceTimes}}</view>
  85. </view>
  86. <view class="common-line">
  87. <view class="line-left">商品价格:</view>
  88. <view>{{orderInfo.price}}</view>
  89. </view>
  90. <view class="common-line">
  91. <view class="line-left">商品类型:</view>
  92. <view>{{format.goodsTypeText(orderInfo.type)}}</view>
  93. </view>
  94. <view class="common-line">
  95. <view class="line-left">核销方式:</view>
  96. <view>{{orderInfo.verifytype==1?'首次预约即核销':'服务完成后核销'}}</view>
  97. </view>
  98. <view class="common-line">
  99. <view class="line-left">所需技能:</view>
  100. <view>{{orderInfo.itemName}}</view>
  101. </view>
  102. </view>
  103. </view>
  104. <view class="common-info">
  105. <view class="common-title">订单信息</view>
  106. <view class="common-content">
  107. <view class="common-line">
  108. <view class="line-left">订单编号:</view>
  109. <view>{{orderInfo.orderSn}}</view>
  110. </view>
  111. <view class="common-line">
  112. <view class="line-left">下单时间:</view>
  113. <view>{{orderInfo.createTime}}</view>
  114. </view>
  115. <view class="common-line">
  116. <view class="line-left">订单状态:</view>
  117. <view>{{format.orderStatusText(orderInfo.orderStatus)}}</view>
  118. </view>
  119. <view class="common-line">
  120. <view class="line-left">已服务次数:</view>
  121. <view>{{orderInfo.servicedTimes}}</view>
  122. </view>
  123. <view class="common-line">
  124. <view class="line-left">用户备注:</view>
  125. <view>{{orderInfo.message}}</view>
  126. </view>
  127. </view>
  128. </view>
  129. <view class="common-info">
  130. <view class="common-title">支付信息</view>
  131. <view class="common-content">
  132. <view class="common-line">
  133. <view class="line-left">支付编号:</view>
  134. <view>{{orderInfo.payId}}</view>
  135. </view>
  136. <view class="common-line">
  137. <view class="line-left">支付方式:</view>
  138. <view>{{format.payTypeText(orderInfo.payChannel) }}</view>
  139. </view>
  140. <view class="common-line">
  141. <view class="line-left">商品总价:</view>
  142. <view>{{orderInfo.goodsPrice}}</view>
  143. </view>
  144. <view class="common-line">
  145. <view class="line-left">优惠券:</view>
  146. <view>{{orderInfo.couponPrice}}</view>
  147. </view>
  148. <view class="common-line">
  149. <view class="line-left">实际支付:</view>
  150. <view>{{orderInfo.actualPrice}}</view>
  151. </view>
  152. <view class="common-line">
  153. <view class="line-left">支付时间:</view>
  154. <view>{{orderInfo.payTime}}</view>
  155. </view>
  156. </view>
  157. </view>
  158. </block>
  159. <block wx:if="{{type==3}}">
  160. <view class="common-info" wx:for="{{orderBookInfo}}" wx:key="index">
  161. <view class="common-title">服务工单信息</view>
  162. <view class="common-content">
  163. <view class="common-line">
  164. <view class="line-left">服务工单ID:</view>
  165. <view>{{item.serviceId}}</view>
  166. </view>
  167. <view class="common-line">
  168. <view class="line-left">创建时间:</view>
  169. <view>{{item.createTime}}</view>
  170. </view>
  171. <view class="common-line">
  172. <view class="line-left">服务工单状态:</view>
  173. <view>{{format.serviceOrderStatusText(item.status)}}</view>
  174. </view>
  175. <view class="common-line">
  176. <view class="line-left">提醒:</view>
  177. <view>{{item.customerServiceReminder}}</view>
  178. </view>
  179. <view class="common-line">
  180. <view class="line-left">联系人:</view>
  181. <view>{{item.customerName}}</view>
  182. </view>
  183. <view class="common-line">
  184. <view class="line-left">联系人电话:</view>
  185. <view>{{item.customerPhone}}</view>
  186. </view>
  187. <view class="common-line">
  188. <view class="line-left">地址:</view>
  189. <view>{{item.customerAddr}}</view>
  190. </view>
  191. <view class="common-line">
  192. <view class="line-left">预约时间:</view>
  193. <view>{{item.bookTime}}</view>
  194. </view>
  195. <view class="common-line">
  196. <view class="line-left">用户备注:</view>
  197. <view>{{item.message}}</view>
  198. </view>
  199. <view class="common-line">
  200. <view class="line-left">加盟商名称:</view>
  201. <view>{{item.fraName}}</view>
  202. </view>
  203. <view class="common-line">
  204. <view class="line-left">服务者名称:</view>
  205. <view>{{item.workerName}}</view>
  206. </view>
  207. <view class="common-line">
  208. <view class="line-left">服务者电话:</view>
  209. <view>{{item.workerTel}}</view>
  210. </view>
  211. <view class="common-line">
  212. <view class="line-left">服务时间:</view>
  213. <view>{{item.provideTime}}</view>
  214. </view>
  215. </view>
  216. </view>
  217. </block>
  218. <view class="operate-block">
  219. <view class="remark-btn" bindtap="goRemark">追加备注</view>
  220. <view class="remark-btn" wx:if="{{refundDetail.status==1}}" data-type="2" bindtap="handleAudit">审核通过</view>
  221. <view class="handle-btn" wx:if="{{refundDetail.status==1}}" data-type="4" bindtap="handleAudit">审核驳回</view>
  222. </view>
  223. </view>