zm
2020-04-12 0d659cff38f50d83e782a9f8c5c20fb54a5c0321
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<title>待办报销</title>
<div id="termination_expend">
    <div class="condition_search">
        <div class="condition_search_header">
            <label class="first">查询条件</label>
            <label ng-show="$parent.permission_check('termination_expend_search')" class="second">
                <a 
                    ng-href="javascript:void(0);" 
                    ng-click="show_search_dropdown($event);"
                    id="termination_expend_search"
                    >
                    <img src="./static/img/search_item.png">
                    &nbsp;更改查询内容
                </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>
                            </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_expend')" ng-click="refreshdata();" class="btn btn-success btn-favourite btn-action" id="search_expend">查询</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="30" mold="expend" 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(expend_rows / num_per_page)+'页'">
                    <!--共{{math_ceil(expend_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(expend_rows / num_per_page)"></span>页</span>
            </label>
        </div>
    </div>
</div>