index.wxml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <wxs module="dateUtil" src="../../utils/dateTime.wxs"></wxs>
  2. <view class="order-panel" wx:if="{{orderList.length>0}}">
  3. <view class="wux-light--bg wux-hairline--top wux-mt--15 wux-mb--15" wx:for="{{orderList}}" wx:key="index">
  4. <wux-wing-blank >
  5. <view class="wux-hairline--bottom">
  6. <wux-row>
  7. <wux-col span="10">
  8. <view>售后单号:{{item.refund.sn}}</view>
  9. </wux-col>
  10. <wux-col span="2" class="wux-text--right">
  11. <view >{{item.refund.refuse_type_text}}</view>
  12. </wux-col>
  13. </wux-row>
  14. </view>
  15. <view class="wux-hairline--bottom">
  16. <wux-row >
  17. <wux-col span="7">
  18. <view>退款人:{{item.refund.member_name}}</view>
  19. </wux-col>
  20. <wux-col span="5" class="wux-text--right">
  21. <view >{{dateUtil.dateFormat(item.refund.create_time,'yyyy-MM-dd hh:mm')}}</view>
  22. </wux-col>
  23. </wux-row>
  24. </view>
  25. <view class="wux-hairline--bottom">
  26. <wux-row >
  27. <wux-col span="6" >
  28. <view >关联订单:</view>
  29. </wux-col>
  30. <wux-col span="6" class="wux-text--right">
  31. <view>{{item.refund.order_sn}}</view>
  32. </wux-col>
  33. </wux-row>
  34. </view>
  35. <view >
  36. <wux-row >
  37. <wux-col span="6" >
  38. <view class="wux-assertive">退款状态:{{item.refund.refund_status_text}}</view>
  39. </wux-col>
  40. <wux-col span="6" class="wux-text--right">
  41. <view class="wux-assertive">申请退款金额:¥{{item.refund.refund_price}}</view>
  42. </wux-col>
  43. </wux-row>
  44. </view>
  45. <view >
  46. <wux-row >
  47. <wux-col span="12" >
  48. <view >退款原因:{{item.refund.refund_reason}}</view>
  49. </wux-col>
  50. </wux-row>
  51. </view>
  52. </wux-wing-blank>
  53. <wux-cell-group>
  54. <wux-cell title="售后订单商品" hoverClass="none">
  55. <van-card
  56. price="{{goods.price}}"
  57. wx:for="{{item.refund_goods}}"
  58. wx:for-index="idx" wx:for-item="goods" wx:key="index"
  59. title="{{goods.goods_name}}"
  60. thumb="{{goods.goods_image}}"
  61. >
  62. <view slot="bottom">
  63. <view>购买数量:{{goods.ship_num}}</view>
  64. <view>退货数量:{{goods.return_num}}</view>
  65. </view>
  66. </van-card>
  67. </wux-cell>
  68. </wux-cell-group>
  69. <view class="btns">
  70. <van-button type="primary" wx:if="{{item.refund.after_sale_operate_allowable.allow_seller_approval}}" data-sn="{{item.refund.sn}}" data-agree="1" data-price="{{item.refund.refund_price}}" size="small" bindtap="handleRefundAuth">同意</van-button>
  71. <van-button type="danger" wx:if="{{item.refund.after_sale_operate_allowable.allow_seller_approval}}" data-sn="{{item.sn}}" data-agree="0" size="small" class="wux-ml--15" bindtap="handleRefundAuth">拒绝</van-button>
  72. </view>
  73. </view>
  74. </view>
  75. <view wx:else>
  76. <wux-result icon="{{null}}" label="没有数据" fixed>
  77. <view class="wux-result__icon wux-result__icon" slot="header">
  78. <wux-icon type="ios-filing" size="93" color="grey" />
  79. </view>
  80. </wux-result>
  81. </view>
  82. <!--交互组件-->
  83. <wux-toptips id="wux-toptips" />
  84. <wux-toast id="wux-toast" />
  85. <wux-loading id="wux-loading" />
  86. <wux-dialog id="wux-dialog" />