erpbx.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <ion-view view-title="报销" hide-back-button="true">
  2. <ion-nav-buttons side="left">
  3. <ion-back-button></ion-back-button>
  4. </ion-nav-buttons>
  5. <ion-nav-buttons side="right">
  6. <button class="button button-clear" ng-click="popover.show($event)">
  7. <i class="icon ion-android-add"></i>
  8. </button>
  9. </ion-nav-buttons>
  10. <ion-content>
  11. <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
  12. <ion-item class="item-icon-right" ng-href="#/erpbx-list/">我的报销单
  13. <i class="icon ion-chevron-right icon-accessory"></i>
  14. </ion-item>
  15. <!--<a class="item item-icon-right">需要我审批的报销单-->
  16. <!--<i class="icon ion-chevron-right icon-accessory"></i>-->
  17. <!--</a>-->
  18. <div class="item item-divider">消费记录({{records.length}})</div>
  19. <ion-item class="item-icon-left" ng-repeat="record in records" ng-click="torecord(record)">
  20. {{record.fee_name}}
  21. <i class="icon icon-money energized"></i>
  22. <span class="item-note">{{record.bx_dd | date:'yyyy-MM-dd'}}</span>
  23. <p class="energized">金额:{{record.amt}}</p>
  24. </ion-item>
  25. </ion-content>
  26. <script id="templates/paymenu.html" type="text/ng-template">
  27. <ion-popover-view class="popver_view">
  28. <ion-content>
  29. <ion-list>
  30. <ion-item class="item item-button" ng-click="torecord()">添加消费记录</ion-item>
  31. <ion-item class="item item-button" ng-click="tobill()">创建报销单</ion-item>
  32. </ion-list>
  33. </ion-content>
  34. </ion-popover-view>
  35. </script>
  36. </ion-view>