orderList.wxml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <view>
  2. <!-- header -->
  3. <view class='header'>
  4. <view class='header-box'>
  5. <view class='f-box f-justify-content-center'>
  6. <view wx:for="{{dataStateArray}}" data-state="{{item.state}}" class='f-item header-item {{item.state == isSelect ? "bdc-theme c-theme":""}}' bindtap='tab'>
  7. {{item.label}}
  8. </view>
  9. </view>
  10. </view>
  11. </view>
  12. <!-- 内容 -->
  13. <view class='order-box'>
  14. <view class='order-list mar-t20 bg-white pad-b26' wx:for="{{goodsList}}">
  15. <view class='auto'>
  16. <view class='f-box pad-t20 pad-b20'>
  17. <view class='f-item'>订单:{{item.order_number}}</view>
  18. <view wx:if="{{item.order_sta ==2}}">待审核</view>
  19. <view wx:if="{{item.order_sta ==3}}">审核通过</view>
  20. <view class='mar-l20' wx:if="{{item.list_order_aff_data[0].pay_order}}" data-src="{{item.list_order_aff_data}}" bindtap='seePayOrder'>查看凭证</view>
  21. </view>
  22. <view class='f-box mar-b20' wx:for="{{item.list_order_aff_data}}" wx:for-item="orderItem">
  23. <view class='order-image mar-r26'>
  24. <image mode="aspectFit" src='{{orderItem.logo}}'></image>
  25. </view>
  26. <view class='f-item'>
  27. <view class='f-s30'>{{orderItem.com_name}}</view>
  28. <view class='f-s24 c-999 mar-t20 f-box'>
  29. <view class='f-item mar-r20'>
  30. <view>{{orderItem.com_dz}} {{orderItem.com_lh}} {{orderItem.com_style1}}</view>
  31. </view>
  32. <view>×{{orderItem.com_num}}</view>
  33. </view>
  34. </view>
  35. </view>
  36. <!-- 价格与按钮 -->
  37. <view class="f-box f-justify-content-center order-btn">
  38. <view class='f-item f-box f-justify-content-end mar-r26'>
  39. <view class='btn' wx:if="{{item.order_sta ==1}}" data-index="{{index}}" data-orderId="{{item.order_number}}" bindtap='uploadImg'>{{item.list_order_aff_data[0].pay_order ? "修改凭证" :"上传凭证"}}</view>
  40. <!-- <view class='btn' wx:if="{{item.order_sta ==4}}">查看物流</view> -->
  41. <view class='btn' wx:if="{{item.order_sta ==4}}" data-index="{{index}}" data-orderId="{{item.order_number}}" bindtap='uploadImg' >{{item.list_order_aff_data[0].final_payment ? "修改尾款单凭证" :"上传尾款单凭证"}}</view>
  42. </view>
  43. <view>合计:<text class='c-theme'>¥ {{item.order_Price}}</text></view>
  44. </view>
  45. </view>
  46. </view>
  47. <data-none wx:if="{{goodsList.length === 0}}"></data-none>
  48. <divider wx:if="{{!requestStatic && page !=1}}"></divider>
  49. </view>
  50. </view>