groupDetail.wxml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <i-auth bind:authSuccess="authSuccess" needAuth="{{needAuth}}">
  2. <view>
  3. <view class="groupDetail">
  4. <view class="goodsDetail">
  5. <view class="goods-info" wx:if="{{order.order_info.delivery!='pickup'}}">
  6. <i-order-info-express order="{{order}}" showNickname="{{true}}" wx:if="{{order.order_info}}" groupInfo="{{groupInfo}}" goodsTot="{{goodsTot}}"></i-order-info-express>
  7. </view>
  8. <view class="goods-info" wx:elif="{{order.order_info.order_status_id!=3&&order.order_info.order_status_id!=5}}">
  9. <i-goods-info order="{{order}}" showNickname="{{true}}" groupInfo="{{groupInfo}}" goodsTot="{{goodsTot}}"></i-goods-info>
  10. </view>
  11. </view>
  12. <view class="goodsDetail">
  13. <view class="title">
  14. <view>商品详情(共计<text class="red">{{order.goods_count?order.goods_count:0}}</text>件商品)</view>
  15. <span class="{{order.order_status_info.name=='已完成'?'black':''}} text-right">{{order.order_status_info.name}}</span>
  16. </view>
  17. <view class="border-bottom" wx:for="{{order.order_goods_list}}" wx:for-item="goodsInfo" wx:key="key">
  18. <view class="goodsList">
  19. <i-img class="goodsImg" defaultImage="../../images/placeholder-refund.png" height="60" iClass="img-class" loadImage="{{goodsInfo.image}}" width="60"></i-img>
  20. <view class="goos-item">
  21. <view class="i-flex i-flex-spb">
  22. <view class="goodsTitle i-flex-item">{{goodsInfo.name}}</view>
  23. <i-cashon_delivery paymentCode="{{order.order_info.payment_code}}" codeImg="{{order.order_info.cashondelivery_code_img}}"></i-cashon_delivery>
  24. </view>
  25. <view class="attribute">
  26. <span>
  27. <block wx:if="{{goodsInfo.option_str}}">规格:{{goodsInfo.option_str}} </block>数量:{{goodsInfo.quantity}}
  28. </span>
  29. </view>
  30. <view class="attribute">
  31. <view class='price-text'>¥{{goodsInfo.price}}</view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="px15 pb10 fsz-26 text-gray">
  36. <view class="tips i-flex i-flex-spb mb5">
  37. <view>商品金额: <text class="red">¥{{goodsInfo.old_total}}</text></view>
  38. <view>退款金额: <text class="red">¥{{goodsInfo.has_refund_money}}</text>
  39. <block wx:if="{{goodsInfo.is_refund_state==1&&goodsInfo.refund_info}}">
  40. <text wx:if="{{goodsInfo.refund_info.state==0}}" class="bg-primary text-white tag">{{goodsInfo.refund_info.real_refund_quantity}}个 申请中</text>
  41. <text wx:if="{{goodsInfo.refund_info.state==3}}" class="bg-sucess text-white tag">{{goodsInfo.refund_info.real_refund_quantity}}个 退款成功</text>
  42. <text wx:if="{{goodsInfo.refund_info.state==4}}" class="bg-warning text-white tag">{{goodsInfo.refund_info.real_refund_quantity}}个 退款失败</text>
  43. </block>
  44. </view>
  45. </view>
  46. <view class="tips i-flex i-flex-spb">
  47. <view>有效金额: <text class="red">¥{{goodsInfo.order_jishu}}</text></view>
  48. <view wx:if="{{goodsInfo.fen_type==0}}">佣金比例: <text class="red">{{goodsInfo.fen_bili}}%</text></view>
  49. <view wx:if="{{goodsInfo.fen_type==1}}">佣金固定金额: <text class="red">{{goodsInfo.fen_gumoney}}</text></view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="px15 py10 i-flex">
  54. <view class="bule u-m-r-10" wx:if="{{order.order_info.payment_code=='cashon_delivery'}}">
  55. 货到付款
  56. </view>
  57. <view class="i-flex-item text-right">
  58. <view class="mb5" wx:if="{{head_shipping_fare}}">
  59. 团长配送费:<text class="red weight">¥{{head_shipping_fare}} </text><text class="fsz-24 text-gray">(归团长收入)</text>
  60. </view>
  61. <view bindtap="handleTipDialog">
  62. 实际佣金:<text class="red weight">¥{{commision}} </text>
  63. <text class="iconfont icon-shuoming text-dark fsz-28"></text>
  64. <text class="fsz-24 text-gray"> ({{is_statements_state==1?'已结算':'待结算'}}<block wx:if="{{is_statements_state==1&&statements_end_date}}"> {{statements_end_date}}</block>)</text>
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="orderComment">
  70. <i-orderComment wx:if="{{order.order_info.comment}}" comment="{{order.order_info.comment}}" />
  71. </view>
  72. <view class="orderInfor">
  73. <i-order-info orderInfo="{{order.order_info}}" order_goods_list="{{order.order_goods_list}}" ordername="团单" groupInfo="{{groupInfo}}"></i-order-info>
  74. </view>
  75. </view>
  76. </view>
  77. </i-auth>
  78. <i-modal scrollUp="{{false}}" visible="{{showTipDialog}}">
  79. <view class="rule-modal bg-f w90p rounded">
  80. <view class="fsz-30 weight border-bottom text-center py10">佣金计算规则</view>
  81. <view class="p15 border-bottom fsz-24 line-height">
  82. <view class="mb5 i-flex"><view class="text-gray">佣金结算前:</view>有效金额=商品金额-退款金额</view>
  83. <view class="mb5 i-flex"><view class="text-gray">佣金结算后:</view>有效金额=商品金额</view>
  84. <view class="mb5 i-flex">
  85. <view class="text-gray">佣金固定金额:</view>
  86. <view class="i-flex-item">实际佣金(有效金额-退款金额)/有效金额*佣金固定金额</view>
  87. </view>
  88. <view class="mb5 i-flex" wx:if="{{order.order_goods_list[0].fen_type==0}}">
  89. <view class="text-gray">商品配送费:</view>
  90. <view class="i-flex-item">商品配送费收入=有效金额/订单总金额*总配送费</view>
  91. </view>
  92. <block wx:else>
  93. <view class="mb5 i-flex">
  94. <view class="text-gray">商品配送费:</view>
  95. <view class="i-flex-item">
  96. <view>1. 商品配送费收入=有效金额/订单总金额*总配送费</view>
  97. <view>2. 退商品配送费=退款金额/有效金额*配送费</view>
  98. </view>
  99. </view>
  100. <view class="mb5 i-flex">
  101. <view class="text-gray">配送费结算时间:</view>
  102. <view class="i-flex-item">从确认收货或核销后开始,直到售后期<block wx:if="{{open_aftersale}}">{{open_aftersale_time||0}}天</block>结束,系统自动结算</view>
  103. </view>
  104. </block>
  105. <view class="mb5 i-flex">
  106. <view class="text-gray">佣金结算时间:</view>
  107. <view class="i-flex-item">从确认收货或核销后开始,直到售后期<block wx:if="{{open_aftersale}}">{{open_aftersale_time||0}}天</block>结束,系统自动结算</view>
  108. </view>
  109. <view class="mb5 red">最终可得佣金以实际计算结果为准</view>
  110. </view>
  111. <view class="fsz-30 bule text-center py10" bindtap="handleTipDialog">知道了</view>
  112. </view>
  113. </i-modal>