<title>待办申请</title>
|
<div id="termination_apply">
|
<div class="condition_search">
|
<div class="condition_search_header">
|
<label class="first">查询条件</label>
|
<label ng-show="$parent.permission_check('termination_apply_search')" class="second">
|
<a
|
ng-href="javascript:void(0);"
|
ng-click="show_search_dropdown($event);"
|
id="termination_apply_search"
|
>
|
<img src="./static/img/search_item.png">
|
更改查询内容
|
</a>
|
</label>
|
</div>
|
<div>
|
<div class="search_item">
|
<div class="search_column" ng-repeat="search in searchlist | filter: {selected: true}">
|
<!--预算、申请、报销单号-->
|
<span ng-if="search.gc_cpn_type == 1 || search.gc_cpn_type == 2 || search.gc_cpn_type == 90">
|
<input type="text" name="{{search.sfFieldName}}" ng-model="search.valueLeft">
|
</span>
|
<span ng-if="search.gc_cpn_type == 5" style="display: inline-block;width:285px;">
|
<span style="display: inline-block;width: 47%;">
|
<input type="text" date name="{{search.sfFieldName}}" ng-model="search.valueLeft">
|
</span>
|
<span>
|
~
|
</span>
|
<span style="display: inline-block;width: 47%;">
|
<input type="text" date name="{{search.sfFieldName}}" ng-model="search.valueRight">
|
</span>
|
</span>
|
<span ng-if="search.gc_cpn_type == 7">
|
<span>
|
<input type="text" name="{{search.sfFieldName}}" ng-model="search.valueLeft">
|
</span>
|
<span>
|
~
|
</span>
|
<span>
|
<input type="text" name="{{search.sfFieldName}}" ng-model="search.valueRight">
|
</span>
|
</span>
|
<span ng-if="search.gc_cpn_type == 3 || search.gc_cpn_type == 4 || search.gc_cpn_type == 6" ng-model="search.valueLeft">
|
<span select3 item="search">
|
<select name="{{search.sfFieldName}}"
|
multiple
|
load-data
|
>
|
</select>
|
</span>
|
</span>
|
<span ng-if="search.gc_cpn_type == 11">
|
<span select3 item="search">
|
<select name="{{search.sfFieldName}}"
|
multiple
|
load-data
|
>
|
</select>
|
</span>
|
</span>
|
<span ng-if="search.gc_cpn_type == 12">
|
<span select3 item="search">
|
<select name="{{search.sfFieldName}}"
|
multiple
|
load-data
|
>
|
</select>
|
</span>
|
</span>
|
<span ng-if="search.gc_cpn_type == 13">
|
|
</span>
|
<!--<span ng-if="search.gc_cpn_type == 0">
|
<span select3 item="search">
|
<select name="{{search.sfFieldName}}"
|
multiple
|
load-data
|
>
|
</select>
|
</span>
|
</span>-->
|
<label>
|
{{search.gc_cpn_alias}}
|
</label>
|
</div>
|
<div class="search_column">
|
<label>状态</label>
|
<!--<div class="select3-element selectul" ng-click="showstatus = !showstatus" >
|
<div class="select-container" ng-style="style">
|
{{status}}
|
<div class="suffix">
|
<i class="fa fa-caret-down" aria-hidden="true"></i>
|
</div>
|
</div>
|
<ul ng-show="showstatus" class="showul" ng-click="selectstatus()">
|
<li ng-click="status = '待提交';showstatus = true;code = 10;">待提交</li>
|
<li ng-click="status = '已提交';showstatus = true;code = 20;">已提交</li>
|
<li ng-click="status = '待审核';showstatus = true;code = 30;">待审核</li>
|
<li ng-click="status = '审核完成';showstatus = true;code = 40;">审核完成</li>
|
<li ng-click="status = '驳回';showstatus = true;code = -1;">驳回</li>
|
<li ng-click="status = '已完成';showstatus = true;code = 100;">已完成</li>
|
</ul>
|
</div>-->
|
<select name="status" ng-model="status" class="myselect">
|
<option value="10" ng-model="status">待提交</option>
|
<option value="20" ng-model="status">已提交</option>
|
<option value="30" ng-model="status">待审核</option>
|
<option value="40" ng-model="status">审核完成</option>
|
<option value="-1" ng-model="status">驳回</option>
|
<option value="100" ng-model="status">已完成</option>
|
</select>
|
</div>
|
<div class="search_column">
|
<span>
|
<span>
|
<button ng-show="$parent.permission_check('search_apply')" ng-click="refreshdata();" class="btn btn-success btn-favourite btn-action" id="search_apply">查询</button>
|
</span>
|
</span>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
<div class="condition_search">
|
<div class="table-content">
|
<table class="table table_travel_expense">
|
<thead>
|
<tr>
|
<th ng-repeat="data in budget_data.headers track by $index">
|
{{data}}
|
</th>
|
<th>
|
状态
|
</th>
|
</tr>
|
</thead>
|
<tbody>
|
<tr class="{{($index % 2)?'odd':'even'}}" click-detail-td-all type="20" mold="apply" index="{{$index}}" ng-repeat="data in budget_data.data track by $index">
|
<td style="display:none;">
|
<input type="checkbox" bind_value="{{doc_id(data)}}" name="bill_cbx_{{doc_id(data)}}" ng-click="select_bill($event);" />
|
</td>
|
<td ng-repeat="value in data track by $index">
|
{{value.name}}
|
</td>
|
</tr>
|
</tbody>
|
</table>
|
</div>
|
|
<div class="condition_search_footer">
|
<label class="first">
|
<span>
|
<select ng-model="num_per_page" ng-change="change_page_num();">
|
<option value="20" selected="selected">20条/页</option>
|
<option value="50"> 50条/页</option>
|
<option value="100">100条/页</option>
|
</select>
|
</span>
|
<span ng-bind="'共'+math_ceil(apply_rows / num_per_page)+'页'">
|
<!--共{{math_ceil(apply_rows / num_per_page)}}页-->
|
</span>
|
</label>
|
<label class="second">
|
<span>
|
<a ng-href="javascript:void(0);" ng-click="pre_page();">
|
<i class="fa" aria-hidden="true">上一页</i>
|
</a>
|
</span>
|
<span>
|
<a ng-href="javascript:void(0);" ng-click="next_page();">
|
<i class="fa" aria-hidden="true">下一页</i>
|
</a>
|
</span>
|
<span>第<input type="text" value="1" ng-change="change_page_num()" ng-model="page_num"> 页/ 共<span ng-bind="math_ceil(apply_rows / num_per_page)"></span>页</span>
|
</label>
|
</div>
|
</div>
|
</div>
|