12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <ion-view view-title="单据详情" hide-back-button="true">
- <ion-nav-buttons side="left">
- <button class="button ion-chevron-left button-clear button-dark" ng-click="goBack()"> {{'backTitle' | translate}}</button>
- </ion-nav-buttons>
- <ion-content>
- <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
- <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
- <div ng-if="!loading">
- <!-- 表头 -->
- <div ng-repeat="item in detail.group">
- <ion-item class="item-divider"></ion-item>
- <ion-item class="item-text-wrap over-flow-auto" ng-class="{'item-icon-right':i.NAME == 'BODY_COUNT'}" ng-repeat="i in item" ng-click="tobody(i.NAME)">
- {{i.TITILE}}
- <span class="item-note max-width-45">{{i.VALUE}}</span>
- <i ng-if="i.NAME == 'BODY_COUNT'" class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- </div>
- <!-- 附件 -->
- <div ng-if="detail.files.Data.length - detail.imagefiles.length > 0">
- <ion-item class="item-divider">共[{{detail.files.Data.length - detail.imagefiles.length}}]个附件</ion-item>
- <ion-item class="item-icon-right" ng-repeat="file in detail.files.Data" ng-if="file.FILE_TYPE != '.BMP' && file.FILE_TYPE != '.JPEG' && file.FILE_TYPE != '.JPG' && file.FILE_TYPE != '.GIF' && file.FILE_TYPE != '.PNG'">
- {{file.FILE_NAME}}
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- </div>
- <!-- 照片 -->
- <div ng-if="detail.imagefiles.length > 0">
- <ion-item class="item-divider">共[{{detail.imagefiles.length}}]张照片</ion-item>
- <ion-item>
- <img style="width: 48px; height: 48px; margin: 3px; background-color: #F5F5F5; border-radius: 2px; " ng-repeat='image in detail.imagefiles' ng-click='showImages($index,$event)' http-src='{{image.url}}' class='img-popver-pad'/>
- </ion-item>
- </div>
- <!-- 审核流程 -->
- <ion-item class="item-divider"></ion-item>
- <div ng-repeat="s in detail.shlc.Data">
- <ion-item class="item-icon-left">
- <i class="icon" ng-class="{'ion-ios-help positive':s.Tag == 0, 'ion-ios-close assertive':s.Tag == 1, 'ion-ios-checkmark balanced':s.Tag == 2, 'ion-ios-redo energized':s.Tag != 0 && s.Tag != 1 && s.Tag != 2}" ></i>
- {{s.UsrName}}
- <span class="item-note">{{s.DateStr}}</span>
- <p>{{s.Rem}}</p>
- </ion-item>
- <div ng-if="!$last" class="item item-divider center">
- <i class="icon ion-chevron-down positive" style="font-size: 14px;"></i>
- </div>
- </div>
- <ion-item class="item-divider"></ion-item>
- <ion-item ng-if="detail.IsInAudit" class="item-divider-ios"></ion-item>
- </div>
- </ion-content>
- <ion-footer-bar ng-if="!loading && detail.IsInAudit">
- <div class="bar bar-footer" ng-if="QueryID == 1">
- <div class="col-5"></div>
- <button class="button button-balanced col-40" ng-click="audit(1)" >同意</button>
- <div class="col-10"></div>
- <button class="button button-energized col-40" ng-click="audit(2)">驳回</button>
- <div class="col-5"></div>
- </div>
- <div class="bar bar-footer" ng-if="QueryID == 2">
- <div class="col-10"></div>
- <button class="button button-energized col-80" ng-click="audit(3)">反审核</button>
- <div class="col-10"></div>
- </div>
- </ion-footer-bar>
- </ion-view>
|