123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <ion-view view-title="{{billid == -1 ? '新建' : '编辑'}}报销单">
- <ion-nav-buttons side="right">
- <button class="button button-clear" ng-click="savebill()">完成</button>
- </ion-nav-buttons>
- <ion-content>
- <div ng-if="billid != -1">
- <ion-item class="item-divider"></ion-item>
- <ion-item>单号<span class="item-note">{{bill.bx_no}}</span></ion-item>
- </div>
- <ion-item class="item-divider"></ion-item>
- <ion-item class="item-icon-right" ng-click="showModal()">
- 部门
- <span class="item-note">{{bill.dep}}/{{bill.depname}}</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <ion-item class="item-icon-right" ng-click="selectDate()">
- 日期
- <span class="item-note">{{bill.bx_dd | date:"yyyy-MM-dd"}}</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <ion-item class="item-divider"></ion-item>
- <label class="item item-input text-input">
- <span class="input-label">描述</span>
- <input type="text" placeholder="请输入描述" ng-model="bill.rem"/>
- </label>
- <ion-item class="item-divider"></ion-item>
- <ion-item>
- 需报销的消费({{bill.bxlist.length}})
- <label for="" class="edit-text-label positive" ng-click="toEditRecord()">修改</label>
- </ion-item>
- <ion-item class="item-icon-right" ng-repeat="item in bill.bxlist" ng-click="totfdetail(item)">
- {{item.fee_name}}
- <span class="item-note">{{item.bx_dd}}</span>
- <p>金额:{{item.amt}}</p>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <ion-item>
- <p class="item-note">共计:<span class="assertive">{{amountSum}}</span></p>
- </ion-item>
- <ion-item class="item-divider"></ion-item>
- <div ng-if="billid!= -1">
- <ion-item class="assertive center" ng-click="deletebill()">
- 删除
- </ion-item>
- <ion-item class="item-divider"></ion-item>
- </div>
- </ion-content>
- </ion-view>
|