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.

129 lines
5.3 KiB

  1. <view class='firstPage'>
  2. <view class='fix'>
  3. <image src='./../../static/images/bannerbg.png'></image>
  4. <view class='writeOff writeOff1'>
  5. <view class='topBox clearfix' wx:if="{{djArr.length>0||count > 0}}">
  6. <view class='left fl'>
  7. <text>待缴账单</text>
  8. <text>{{djArr.length}}</text>
  9. <text>¥{{djZmoney}}</text>
  10. </view>
  11. <view class='right fr'>
  12. <text>今日交易单数</text>
  13. <text>{{count}}</text>
  14. <text>¥{{amountMoney/100}}</text>
  15. </view>
  16. </view>
  17. <view class='topBox2 clearfix' wx:if="{{djArr.length == 0 && count == 0}}">
  18. <view class='imgBox'>
  19. <image src='{{userInfo.merchant_img_url}}' mode='{{widthFix}}'></image>
  20. </view>
  21. <text class='name'>{{userInfo.mall_name}}({{userInfo.merchant_name}})</text>
  22. </view>
  23. </view>
  24. </view>
  25. <view class='location'>
  26. <view class='message' wx:if="{{billList.length>0}}">
  27. <image src='./../../static/images/mess.png' mode='widthFix'></image>
  28. <text>{{billList.length}}</text>
  29. </view>
  30. <swiper wx:if="{{billList.length>0}}" current='{{currentIndex}}' class="swiper_container" vertical="true" autoplay="true" circular="true" interval="3000">
  31. <block wx:for="{{billList}}" wx:key="index">
  32. <swiper-item bindtap="gotobill" data-data='{{item}}' data-id='{{item.id}}'>
  33. <view class="swiper_item clearfix">
  34. <text wx:if="{{item.status=='1'}}" class="state1 fl">欠缴</text>
  35. <text wx:if="{{item.status=='2'}}" class="state2 fl">待缴</text>
  36. <text class="fl billtype">{{item.name}}{{item.end}}</text>
  37. <text class="fl">{{item.owe/100}}元</text>
  38. </view>
  39. </swiper-item>
  40. </block>
  41. </swiper>
  42. </view>
  43. <view class='writeOff'>
  44. <view class="{{isOpen ? 'classification clearfix ': 'classification clearfix hide'}}" wx:if="{{userInfoLoadIf}}">
  45. <view class="box" wx:for='{{classIfyList}}' wx:if="{{!(item.id==4&&userInfo.creditLocked==1)}}" wx:key="index">
  46. <view hover-class='active' style='background:{{item.bg}}' bindtap='toWriteoff' data-id='{{item.id}}'>
  47. <icon class='{{item.icon}}'></icon>
  48. </view>
  49. <text>{{item.text}}</text>
  50. </view>
  51. </view>
  52. <view class="isOpen" bindtap="toggle">
  53. {{ isOpen ? '↑收起' : '↓更多功能' }}
  54. </view>
  55. </view>
  56. <view class='jiaoyi jiaoyi1 jiaoyi2' hover-class='actives' bindtap='toTran' data-type='0'>
  57. <view class='toTransaction'>
  58. <view>
  59. <text>交易记录</text>
  60. </view>
  61. <view>今日交易额:{{amountMoney/100}}元
  62. <image class='iconfonts' src='./../../static/images/jian.png' mode="widthFix"></image>
  63. </view>
  64. </view>
  65. <view class='transaction' wx:if="{{ifShowChart!='show'}}">
  66. <ec-canvas id="mychart-jiaoyi" canvas-id="mychart-multi-bar" ec="{{ ecBar }}"></ec-canvas>
  67. </view>
  68. <view class='transaction' wx:if="{{ifShowChart=='show'}}">
  69. <image class='img' src='./../../static/images/nothave01.png' mode='widthFix'></image>
  70. <view class="nothave">暂无数据</view>
  71. </view>
  72. </view>
  73. <view class='jiaoyi' hover-class='actives' bindtap='toTran' data-type='1'>
  74. <view class='toTransaction'>
  75. <view>
  76. <text>核销记录</text>
  77. </view>
  78. <view>今日核销额:{{writeOffMoney/100}}元
  79. <image class='iconfonts' src='./../../static/images/jian.png' mode="widthFix"></image>
  80. </view>
  81. </view>
  82. <view class='transaction' wx:if="{{ifShowChart1!='show'}}">
  83. <ec-canvas id="mychart-hexiao" canvas-id="mychart-multi-scatter" ec="{{ ecScatter }}"></ec-canvas>
  84. </view>
  85. <view class='transaction' wx:if="{{ifShowChart1=='show'}}">
  86. <image class='img' src='./../../static/images/nothave02.png' mode='widthFix'></image>
  87. <view class="nothave1">暂无数据</view>
  88. </view>
  89. </view>
  90. <view class='jiaoyi jiaoyi1' hover-class='actives' bindtap='toRecord' data-type='0'>
  91. <view class='toTransaction'>
  92. <view>
  93. <text>收银记录</text>
  94. </view>
  95. <view>今日收银:{{recordMoney/100}}元
  96. <image class='iconfonts' src='./../../static/images/jian.png' mode="widthFix"></image>
  97. </view>
  98. </view>
  99. <view class='transaction' wx:if="{{ifShowChart2!='show'}}">
  100. <ec-canvas id="mychart-pament" canvas-id="mychart-pament-bar" ec="{{ ec }}"></ec-canvas>
  101. </view>
  102. <view class='transaction' wx:if="{{ifShowChart2=='show'}}">
  103. <image class='img' src='./../../static/images/nohave03.png' mode='widthFix'></image>
  104. <view class="nothave2">暂无数据</view>
  105. </view>
  106. </view>
  107. <view class='jiaoyi jiaoyi1' hover-class='actives' bindtap='toPos' data-type='0'>
  108. <view class='toTransaction'>
  109. <view>
  110. <text>POS交易流水</text>
  111. </view>
  112. <view>今日流水:{{posMoney/100}}元
  113. <image class='iconfonts' src='./../../static/images/jian.png' mode="widthFix"></image>
  114. </view>
  115. </view>
  116. <view class='transaction' wx:if="{{ifShowChart3!='show'}}">
  117. <ec-canvas id="mychart-pos" canvas-id="mychart-pos-bar" ec="{{ ec }}"></ec-canvas>
  118. </view>
  119. <view class='transaction' wx:if="{{ifShowChart3=='show'}}">
  120. <image class='img' src='./../../static/images/nohave03.png' mode='widthFix'></image>
  121. <view class="nothave2">暂无数据</view>
  122. </view>
  123. </view>
  124. </view>