You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.2 KiB

  1. <view class="section">
  2. <view class="section__title">账单类型:</view>
  3. <picker class="pickerArr" bindchange="bindPickerChange" value="{{index}}" range="{{billtypes}}" range-key="name">
  4. <view class="picker">
  5. {{billTypesObj.name || '请选择'}}
  6. </view>
  7. </picker>
  8. <view class="tabLayer tc">
  9. <view class="picker_group">
  10. <view class="section__title">日期范围:</view>
  11. <picker mode="date" value="{{date}}" end="{{date}}" fields="day" bindchange="bindDateChange1">
  12. <view wx:if="{{!date}}" class="picker">开始日期</view>
  13. <view wx:if="{{date}}" class="picker">{{date}}</view>
  14. </picker>
  15. <picker mode="date" value="{{date2}}" start="{{date2}}" fields="day" bindchange="bindDateChange2">
  16. <view wx:if="{{!date2}}" class="picker">结束日期</view>
  17. <view wx:if="{{date2}}" class="picker">{{date2}}</view>
  18. </picker>
  19. </view>
  20. </view>
  21. <view class="section__title">查询范围:</view>
  22. <picker class="pickerArr" bindchange="bindPickerChange2" value="{{index}}" range="{{billScales}}" range-key="name">
  23. <view class="picker">
  24. {{billScalesObj.name || '请选择'}}
  25. </view>
  26. </picker>
  27. <button class='btns' hover-class='active1' bindtap='search' >查询</button>
  28. </view>
  29. <view class="table">
  30. <view class="tr bg-w">
  31. <view class="th">账单类型</view>
  32. <view class="th">账单周期</view>
  33. <view class="th">应付金额</view>
  34. <view class="th">已付金额</view>
  35. <view class="th">欠费金额</view>
  36. <view class="th">操作</view>
  37. </view>
  38. <block wx:for="{{list}}" wx:key="index">
  39. <view class="tr">
  40. <view class="td">{{item.billTypeName}}</view>
  41. <view class="td">起:{{item.starttime}} <text>止:{{item.endtime}}</text></view>
  42. <view class="td">{{item.receivePay}}</view>
  43. <view class="td">{{item.pay}}</view>
  44. <view class="td">{{item.owe}}</view>
  45. <view class="td">
  46. <button class='btn' bindtap='gotolook' data-data='{{item}}' data-id='{{item.id}}'>
  47. 查看
  48. </button>
  49. <button class='btn' bindtap='gotolook02' data-data='{{item}}' data-id='{{item.id}}'>
  50. 缴费
  51. </button>
  52. </view>
  53. </view>
  54. </block>
  55. </view>