1
0

orderDetail.wxml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <view class="container">
  2. <view class="order-info2" wx:if="{{wuliu}}">
  3. <view class="list-cell">
  4. <view class="list-cell-bd2">
  5. <view class="list-label strong2"><image src="../../../static/images/service-jyjl.png" class="icon"></image>
  6. {{orderInfo.order_status==0?"待付款":""}}
  7. {{orderInfo.order_status==100?"订单付款中":""}}
  8. {{orderInfo.order_status==101?"订单已取消":""}}
  9. {{orderInfo.order_status==201?"订单已付款":""}}
  10. {{orderInfo.order_status==300?"订单已发货":""}}
  11. {{orderInfo.order_status==301?"确认收货":""}}
  12. {{orderInfo.order_status==401 || orderInfo.order_status==402?"订单已退款":""}}
  13. </view>
  14. </view>
  15. </view>
  16. <view>
  17. <view class="list-cell">
  18. <view class="list-cell-bd">
  19. <view class="list-label week3">
  20. {{orderInfo.order_status==101?"您的订单已取消":""}}
  21. {{orderInfo.order_status==100?"订单正在付款中":""}}
  22. {{orderInfo.order_status==201?"您的订单已付款":""}}
  23. {{orderInfo.order_status==300?"您的订单已发货":""}}
  24. {{orderInfo.order_status==301?"用户已确认收货":""}}
  25. {{orderInfo.order_status==401 || orderInfo.order_status==402?"您的订单已退款":""}}
  26. </view>
  27. <view class="list-label week3" wx:if="{{orderInfo.order_status==201 && refundStatus == 3}}">
  28. 您的退款申请订单已被拒绝,拒绝原因:{{approvalRemark}}
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. <view>
  34. <view class="list-cell" wx:if="{{orderInfo.order_status==0}}" >
  35. <view class="list-cell-bd">
  36. <view class="list-label week3">
  37. 您的订单已提交,请在{{orderInfo.dateformat.min}}{{orderInfo.dateformat?':':''}}{{orderInfo.dateformat.sec}}内完成支付,超时订单自动取消</view>
  38. </view>
  39. </view>
  40. </view>
  41. <navigator open-type='navigate' wx:if="{{orderInfo.order_status==300 || orderInfo.order_status==301}}" url="/pages/ucenter/wuliu/wuliu?id={{orderInfo.shipping_no}}&code={{orderInfo.shipping_code}}&orderId={{orderInfo.id}}&goodsType={{orderInfo.orderBizType}}">
  42. <view class="list-cell">
  43. <view class="list-cell-bd">
  44. <view class="list-label week3">物流信息: {{wuliu.AcceptTime}}</view>
  45. </view>
  46. </view>
  47. <view class="list-cell">
  48. <view class="list-cell-bd">
  49. <view class="list-label week3">{{wuliu.AcceptStation}}</view>
  50. </view>
  51. </view>
  52. </navigator>
  53. </view>
  54. <view class="order-info">
  55. <view class="item-a"><image src="../../../static/images/service-hsdz.png" class="icon"></image> {{orderInfo.consignee}} {{orderInfo.mobile}}</view>
  56. <view class="item-b2">收货地址:{{orderInfo.address}}</view>
  57. </view>
  58. <view class="list-group goods-info">
  59. <view class="list-cell">
  60. <view class="list-cell-bd">
  61. <view class="list-label strong">商品信息</view>
  62. </view>
  63. </view>
  64. <view class="list-cell">
  65. <view class="goods-list">
  66. <view wx:for="{{orderGoods}}" wx:key="{{index}}" class="goods-list-cell">
  67. <view wx:if ='{{currentStoreId != orderInfo.store_id || (orderInfo.orderBizType ==02 || orderInfo.orderBizType == 10)}}'>
  68. <image class="order-image" src="{{item.list_pic_url}}"></image>
  69. <text class="name">{{item.goods_name}}</text>
  70. <text class="num fr">x{{item.number}}</text>
  71. <text class="price fr">¥{{item.retail_price}}</text>
  72. </view>
  73. <navigator open-type='navigate' wx:if = '{{currentStoreId == orderInfo.store_id && (orderInfo.orderBizType ==00 || orderInfo.orderBizType == 11)}}' url='/pages/goods/goods?id={{item.goods_id}}'>
  74. <image class="order-image" src="{{item.list_pic_url}}"></image>
  75. <text class="name">{{item.goods_name}}</text>
  76. <text class="num fr">x{{item.number}}</text>
  77. <text class="price fr">¥{{item.retail_price}}</text>
  78. </navigator>
  79. </view>
  80. </view>
  81. </view>
  82. <view class="list-cell">
  83. <view class="list-cell-bd">
  84. <view class="list-label week">配送费</view>
  85. </view>
  86. <view class="list-cell-ft week">
  87. ¥{{orderInfo.freight_price}}
  88. </view>
  89. </view>
  90. <view class="list-cell" wx:if="{{orderInfo.full_cut_price}}">
  91. <view class="list-cell-bd">
  92. <view class="list-label week orange">满减</view>
  93. </view>
  94. <view class="list-cell-ft week orange">
  95. -¥{{orderInfo.full_cut_price}}
  96. </view>
  97. </view>
  98. <view class="list-cell" wx:if="{{orderInfo.coupon_price}}">
  99. <view class="list-cell-bd">
  100. <view class="list-label week orange">优惠券:{{orderInfo.coupon_name}}</view>
  101. </view>
  102. <view class="list-cell-ft week orange">
  103. -¥{{orderInfo.coupon_price}}
  104. </view>
  105. </view>
  106. <view class="list-cell">
  107. <view class="list-cell-bd">
  108. </view>
  109. <view class="list-cell-ft week">
  110. 合计
  111. <text class="orange">¥{{orderInfo.actual_price}}</text>
  112. <!-- <view class="refund" wx:if="{{ orderInfo.order_status == 201 }}" bindtap="refund">退款</view> -->
  113. <view class="refund" wx:if='{{ orderInfo.order_status==201 && isRefundStatus =="true"}}'>维权申请中</view>
  114. </view>
  115. </view>
  116. </view>
  117. <view class="order-info" wx:if="{{tabIndex != 5}}">
  118. <view class="item-a">下单时间:{{orderInfo.add_time}}</view>
  119. <view class="item-a" wx:if="{{orderInfo.pay_time}}">付款时间:{{orderInfo.pay_time}}</view>
  120. <view class="item-a" wx:if="{{orderInfo.confirm_time}}">成交时间:{{orderInfo.confirm_time}}</view>
  121. <view class="item-b">订单编号:{{orderInfo.order_sn}}</view>
  122. <view class="item-c">
  123. <view class="l">实付:
  124. <text class="cost">¥{{orderInfo.actual_price}}</text>
  125. </view>
  126. </view>
  127. </view>
  128. <view class="order-info" wx:if="{{tabIndex == 5}}">
  129. <view class="item-a">退款时间:{{refundTime}}</view>
  130. <view class="item-b">退款金额:¥{{refundInfo.refundMoney}}</view>
  131. <view class="item-b">申请时间:{{createTime}}</view>
  132. <view class="item-b">退款编号:{{refundInfo.refundId}}</view>
  133. </view>
  134. <view class="list-group2 goods-info" wx:if="{{tabIndex != 5}}">
  135. <view class="list-cell">
  136. <view class="list-cell-bd">
  137. <view class="list-label strong">送达信息</view>
  138. </view>
  139. </view>
  140. <view class="list-cell" wx:if="{{orderInfo.delivery_remark}}">
  141. <view class="list-cell-bd">
  142. <view class="list-label week">期望时间:{{orderInfo.delivery_remark}}</view>
  143. </view>
  144. </view>
  145. <!-- <view class="list-cell">
  146. <view class="list-cell-bd">
  147. <view class="list-label week">收货人:{{orderInfo.consignee}}</view>
  148. </view>
  149. </view>
  150. <view class="list-cell">
  151. <view class="list-cell-bd">
  152. <view class="list-label week">收货地址:{{orderInfo.address}}</view>
  153. </view>
  154. </view> -->
  155. <view class="list-cell">
  156. <view class="list-cell-bd">
  157. <view class="list-label week">留言:{{orderInfo.postscript?orderInfo.postscript:""}}</view>
  158. </view>
  159. </view>
  160. </view>
  161. <!-- <view class="r">
  162. <view class="btn" wx:if="{{ handleOption.cancel==true && orderInfo.order_type == '1'}}" bindtap="cancelOrder">取消订单</view>
  163. <view class="btn" wx:if="{{ handleOption.pay==true && orderInfo.dateformat }}" bindtap="payOrder">去付款 {{orderInfo.dateformat.min}}{{orderInfo.dateformat?':':''}}{{orderInfo.dateformat.sec}}</view>
  164. <view class="btn" wx:if="{{ handleOption.confirm==true }}" bindtap="confirmOrder">确认收货</view>
  165. <view class="btn" wx:if="{{ handleOption.comment==true }}" bindtap="postComment">发表评价</view>
  166. <view class="btn" wx:if="{{ orderInfo.comment_count > 0 }}" bindtap="lookComment">查看评价</view>
  167. </view> -->
  168. <view class="btns" wx:if="{{tabIndex != 5}}">
  169. <view class="cannel" wx:if="{{ handleOption.cancel==true && orderInfo.order_type == '1'}}" bindtap="cancelOrder">取消订单</view>
  170. <view class="save" wx:if="{{ handleOption.pay==true && orderInfo.dateformat}}" bindtap="payOrder">去付款 {{orderInfo.dateformat.min}}{{orderInfo.dateformat?':':''}}{{orderInfo.dateformat.sec}}</view>
  171. <view class="save" wx:if="{{ handleOption.confirm==true}}" bindtap="confirmOrder">确认收货</view>
  172. <view class="save" wx:if="{{ handleOption.comment==true}}" bindtap="postComment">发表评价</view>
  173. <view class="save" wx:if="{{ orderInfo.comment_count > 0}}" bindtap="lookComment">查看评价</view>
  174. </view>
  175. </view>