index.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <view class="nav">
  2. <!-- <picker range='{{querytypes}}' range-key='name' value="{{content.querytype}}" bindchange='querytypeChange'>
  3. <view class="item" hover-class="navigator-hover">
  4. <text class="iconfont icon-daoruxialajiantou" />
  5. {{content.querytype == 0 ? language['按业务员']||'按业务员' : language['按客户']||'按客户'}}
  6. </view>
  7. </picker> -->
  8. <picker range='{{pointsL}}' value="{{content.point}}" bindchange='pointChange'>
  9. <view class="item" hover-class="navigator-hover">
  10. <text class="iconfont icon-daoruxialajiantou" />
  11. {{language[content.point]||content.point}}
  12. </view>
  13. </picker>
  14. <view style="flex: 1;" />
  15. <view class="item" hover-class="navigator-hover" bind:tap="openFiltrate">
  16. <text class="iconfont icon-shaixuan" />
  17. {{language['筛选']||'筛选'}}
  18. </view>
  19. <view class="item" style="padding: 0 30rpx;" hover-class="navigator-hover" bind:tap="showSearch">
  20. <text class="iconfont icon-a-sousuolansousuo" />
  21. </view>
  22. </view>
  23. <van-transition show="{{ startUsing }}" custom-class="block">
  24. <van-search custom-class='Yl_search' value="{{ content.condition }}" shape="round" placeholder="{{language['关键字']||'请输入搜索关键词'}}" bind:search='startSearch' bind:clear='onClear' />
  25. </van-transition>
  26. <view class="showdata">
  27. <view class="item" wx:key="name">
  28. <view class="name">{{language['总应收(元)']||'总应收(元)'}}</view>
  29. <view class="value line-1">{{sumtotalamount}}</view>
  30. </view>
  31. </view>
  32. <view class="table">
  33. <view class="roof" />
  34. <Yl_ListBox id='ListBox' scrollX='{{true}}' bind:getlist='getList'>
  35. <view style="width:{{sumWidth}}rpx;">
  36. <view class="table-head">
  37. <view wx:for="{{table}}" style="width: {{item.width+'rpx'}};" wx:key="title">{{language[item.title]||item.title}}</view>
  38. </view>
  39. <view class="line" wx:for="{{list}}" wx:key="rowindex">
  40. <view wx:for="{{table}}" style="width: {{col.width+'rpx'}};" data-item="{{item}}" hover-class="{{col.fun?'navigator-hover':''}}" bind:tap="{{col.fun||''}}" wx:for-item="col" wx:key="title" class="line-1">
  41. {{item[col.key]||'--'}}
  42. </view>
  43. </view>
  44. </view>
  45. <Yl_Empty wx:if="{{list.length==0}}" />
  46. </Yl_ListBox>
  47. </view>
  48. <Yl_Filtrate show='{{showFiltrate}}' list="{{[]}}" bindhandle="handleFilter">
  49. <organization slot='head' defaultMy id='organization' />
  50. </Yl_Filtrate>