1
0

orderDetail.wxml 8.5 KB

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