index.wxml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <wxs src="../../utils/filter.wxs" module="filter"></wxs>
  2. <view class="container">
  3. <!--screen-->
  4. <view class="tui-header-screen">
  5. <view class="cu-bar search bg-white">
  6. <view class="search-form round">
  7. <text class="cuIcon-search"></text>
  8. <input type="text" placeholder="输入订单号" confirm-type="search" data-name="searchParams.orderSn" catchinput="inputedit"></input>
  9. </view>
  10. <view class="action">
  11. <button class="cu-btn bg-blue shadow-blur round" bindtap="submitSearch">搜索</button>
  12. <view class="tui-top-item" bindtap="showSearchModel">
  13. <text>筛选</text>
  14. <tui-icon name="screen" size="12" color="#333" tui-icon-class="tui-ml" bold="{{true}}"></tui-icon>
  15. </view>
  16. </view>
  17. </view>
  18. <!--下拉选择列表--综合-->
  19. <view class="tui-search-model {{selectH>0?'tui-search-model-show':''}}" style="height:{{selectH}}rpx">
  20. <view class="tui-search-model-item">
  21. <tui-list-cell hover="{{false}}" bindtap="timePickerShow">
  22. <view class="tui-line-cell">
  23. <view class="tui-title">起止时间</view>
  24. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择起止时间" type="text" disabled="true"
  25. value="{{dataStr}}" catchinput="inputedit" />
  26. </view>
  27. </tui-list-cell>
  28. </view>
  29. <view class="tui-search-model-item">
  30. <picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
  31. <tui-list-cell hover="{{false}}">
  32. <view class="tui-line-cell">
  33. <view class="tui-title">门店</view>
  34. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" type="text" disabled="true" value="{{searchParams.storeName}}" catchinput="inputedit" data-name="searchParams.storeId"/>
  35. </view>
  36. </tui-list-cell>
  37. </picker>
  38. </view>
  39. <view class="tui-search-model-item">
  40. <tui-list-cell hover="{{false}}">
  41. <view class="tui-line-cell">
  42. <view class="tui-title">商品</view>
  43. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择商品" type="text" value="{{searchParams.productName}}" catchinput="inputedit" data-name="searchParams.productName"/>
  44. </view>
  45. </tui-list-cell>
  46. </view>
  47. <view class="tui-attr-btnbox">
  48. <view class="tui-attr-safearea">
  49. <view class="tui-drawer-btn tui-drawerbtn-black" hover-class="tui-white-hover" hover-stay-time="150"
  50. bindtap="clearSearch">重置</view>
  51. <view class="tui-drawer-btn tui-drawerbtn-primary" hover-class="tui-red-hover" hover-stay-time="150"
  52. bindtap="submitSearch">确定</view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="tui-search-model-mask {{selectH>0?'tui-mask-show':''}}" catchtap="hideSearchModel"></view>
  57. <!--下拉选择列表--综合-->
  58. </view>
  59. <!--screen-->
  60. <view class="tui-order-list">
  61. <block wx:for="{{orderList}}">
  62. <view class="tui-order-item" data-id="{{item.orderSn}}" data-agentMoney="{{item.agentMoney}}" data-areaAgentMoney="{{item.areaAgentMoney}}" data-storeCommission="{{item.storeCommission}}" bindtap="toDetail">
  63. <tui-list-cell hover="{{false}}" lineLeft="{{false}}" >
  64. <view class="tui-goods-title">
  65. <view>订单号:{{item.orderSn}}</view>
  66. <view class="tui-order-status" >{{filter.orderStatus(item.status)}}</view>
  67. </view>
  68. </tui-list-cell>
  69. <tui-list-cell padding="0" bindclick="detail">
  70. <view class="tui-goods-item">
  71. <view class="tui-goods-left-bolck"></view>
  72. <!-- <image src="{{item.productImg}}" class="tui-goods-img"></image> -->
  73. <view class="tui-goods-center">
  74. <view class="tui-goods-name">门店名称:{{item.storeName}}</view>
  75. <view class="tui-goods-name">商品名称:{{item.productName}}</view>
  76. </view>
  77. <view class="tui-price-right">
  78. <view>¥{{item.totalAmount}} </view>
  79. </view>
  80. </view>
  81. </tui-list-cell>
  82. <tui-list-cell hover="{{false}}" last="{{true}}">
  83. <view class="tui-goods-price">
  84. <view> 代理佣金</view>
  85. <view class="tui-size-24">¥</view>
  86. <view class="tui-price-large"> {{item.agentMoney}} </view>
  87. <!-- <view class="tui-size-24">.00</view> -->
  88. </view>
  89. <view class="tui-goods-price">
  90. <view> 区代佣金</view>
  91. <view class="tui-size-24">¥</view>
  92. <view class="tui-price-large">{{filter.toDecimal2Penny(item.areaAgentMoney)}}</view>
  93. <!-- <view class="tui-size-24">.00</view> -->
  94. </view>
  95. <view class="tui-goods-price">
  96. <view> 门店佣金</view>
  97. <view class="tui-size-24">¥</view>
  98. <view class="tui-price-large">{{filter.toDecimal2Penny(item.storeCommission)}}</view>
  99. <!-- <view class="tui-size-24">.00</view> -->
  100. </view>
  101. </tui-list-cell>
  102. </view>
  103. </block>
  104. </view>
  105. <!--弹出-->
  106. <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
  107. bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
  108. <!--弹出-->
  109. </view>