erpbx-bill.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <ion-view view-title="{{billid == -1 ? '新建' : '编辑'}}报销单">
  2. <ion-nav-buttons side="right">
  3. <button class="button button-clear" ng-click="savebill()">完成</button>
  4. </ion-nav-buttons>
  5. <ion-content>
  6. <div ng-if="billid != -1">
  7. <ion-item class="item-divider"></ion-item>
  8. <ion-item>单号<span class="item-note">{{bill.bx_no}}</span></ion-item>
  9. </div>
  10. <ion-item class="item-divider"></ion-item>
  11. <ion-item class="item-icon-right" ng-click="showModal()">
  12. 部门
  13. <span class="item-note">{{bill.dep}}/{{bill.depname}}</span>
  14. <i class="icon ion-chevron-right icon-accessory"></i>
  15. </ion-item>
  16. <ion-item class="item-icon-right" ng-click="selectDate()">
  17. 日期
  18. <span class="item-note">{{bill.bx_dd | date:"yyyy-MM-dd"}}</span>
  19. <i class="icon ion-chevron-right icon-accessory"></i>
  20. </ion-item>
  21. <ion-item class="item-divider"></ion-item>
  22. <label class="item item-input text-input">
  23. <span class="input-label">描述</span>
  24. <input type="text" placeholder="请输入描述" ng-model="bill.rem"/>
  25. </label>
  26. <ion-item class="item-divider"></ion-item>
  27. <ion-item>
  28. 需报销的消费({{bill.bxlist.length}})
  29. <label for="" class="edit-text-label positive" ng-click="toEditRecord()">修改</label>
  30. </ion-item>
  31. <ion-item class="item-icon-right" ng-repeat="item in bill.bxlist" ng-click="totfdetail(item)">
  32. {{item.fee_name}}
  33. <span class="item-note">{{item.bx_dd}}</span>
  34. <p>金额:{{item.amt}}</p>
  35. <i class="icon ion-chevron-right icon-accessory"></i>
  36. </ion-item>
  37. <ion-item>
  38. <p class="item-note">共计:<span class="assertive">{{amountSum}}</span></p>
  39. </ion-item>
  40. <ion-item class="item-divider"></ion-item>
  41. <div ng-if="billid!= -1">
  42. <ion-item class="assertive center" ng-click="deletebill()">
  43. 删除
  44. </ion-item>
  45. <ion-item class="item-divider"></ion-item>
  46. </div>
  47. </ion-content>
  48. </ion-view>