zm
2020-04-12 0d659cff38f50d83e782a9f8c5c20fb54a5c0321
commit | author | age
0d659c 1 <div class="bg-modal ">
Z 2     <div class="pop_panel cloud_attr"  onMouseOver ="$(this).draggable();event.stopPropagation();" style="width:690px;height:auto;">
3         <div class="cv_title">主数据定义选择 
4             <div class="close" ng-click="close();">
5                 <img src="./static/img/close.png" style="width:60%;margin-top:5px;">
6             </div>
7         </div>
8         <div class="table-content">
9                 <table class="table table_travel_expense table_cloud_attr">
10                     <thead>
11                         <tr>
12                         <!--<td>所属模块:</td>
13                         <td>
14                             <select ng-model="masDataEleList_type" ng-options="type.type for type in masDataEleList_types">
15                                 <!--<option>预算</option>
16                                 <option>申请</option>
17                                 <option>报销</option>-->
18                             <!--</select>
19                         </td>-->
20                         <!--<td>
21                             主数据名称
22                         </td>-->
23                         <td class="mdcode_search" colspan="4">
24                             <input type="text" placeholder="请输入主数据名称" class="table_search_input" ng-model="masDataEleList_keywords" ng-keydown="search_masDataEleList_keydown($event)" />
25                             <button class="btn btn-success btn-favourite btn-action" ng-click="search_masDataEleList()">搜索</button>
26                         </td>
27                     </tr>
28                         <tr>
29                             <th >
30                                 主数据编码
31                             </th>
32                             <th >
33                                 主数据名称
34                             </th>
35                             <th >
36                                 主数据说明
37                             </th>
38                             <th style="width:75px;">
39                                 选择
40                             </th>
41                         </tr>
42                     </thead>
43                     <tbody>
44                         <tr class="{{$index%2?'even':'odd'}}" ng-repeat="attr in attr_rows">
45                             
46                             <td >
47                                 {{attr.masDataDefineCode}}
48                             </td>
49                             <td  >
50                                 {{attr.masDataDefineName}}
51                             </td>
52                             <td >
53                                 {{attr.masDataDefineDesc}}
54                             </td>
55                             <td style="text-align: center;">
56                                 <input class="btn btn-success btn-favourite btn-action"
57                                     type="button" 
58                                     value="选择"
59                                     name="attr_code"
60                                     ng-click="get_cloud_attr(attr.masDataDefineCode);"
61                                     style="width:50px;"
62                                 >
63                             </td>
64                         </tr>
65                     </tbody>
66                 </table>
67             </div>
68             <div class="condition_search_footer">
69                 <label class="first">
70                     <span>
71                         <select ng-model="pageSize"  ng-change="changed_page_size()">
72                             <!--<option value="5" selected="selected">5条/页</option>-->
73                             <option value="10" selected="selected">10条/页</option>
74                             <option value="20"> 20条/页</option>
75                             <option value="50">50条/页</option>
76                         </select>
77                     </span>
78                     <span >
79                         共{{math_ceil(total/pageSize)}}页
80                     </span>
81                 </label>
82                 <label class="second">
83                     <span>
84                     <a ng-href="javascript:void(0);" ng-click="pre_page();" href="javascript:void(0);">
85                         <i class="fa" aria-hidden="true">上一页</i>
86                     </a>
87                     </span>
88                     <span>
89                         <a ng-href="javascript:void(0);" ng-click="next_page();" href="javascript:void(0);">
90                             <i class="fa" aria-hidden="true">下一页</i>
91                         </a>
92                     </span>
93                     <span class="ng-binding">第<input type="text" value="1" ng-model="pageNumber" ng-change="search_keydown(pageNumber)"> 页/ 共{{math_ceil(total/pageSize)}}页</span>
94                 </label>
95             </div>
96     </div>
97 </div>