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
<div class="bg-modal ">
    <div class="pop_panel cloud_attr"  onMouseOver ="$(this).draggable();event.stopPropagation();" style="width:690px;height:auto;">
        <div class="cv_title">主数据定义选择 
            <div class="close" ng-click="close();">
                <img src="./static/img/close.png" style="width:60%;margin-top:5px;">
            </div>
        </div>
        <div class="table-content">
                <table class="table table_travel_expense table_cloud_attr">
                    <thead>
                        <tr>
                        <!--<td>所属模块:</td>
                        <td>
                            <select ng-model="masDataEleList_type" ng-options="type.type for type in masDataEleList_types">
                                <!--<option>预算</option>
                                <option>申请</option>
                                <option>报销</option>-->
                            <!--</select>
                        </td>-->
                        <!--<td>
                            主数据名称
                        </td>-->
                        <td class="mdcode_search" colspan="4">
                            <input type="text" placeholder="请输入主数据名称" class="table_search_input" ng-model="masDataEleList_keywords" ng-keydown="search_masDataEleList_keydown($event)" />
                            <button class="btn btn-success btn-favourite btn-action" ng-click="search_masDataEleList()">搜索</button>
                        </td>
                    </tr>
                        <tr>
                            <th >
                                主数据编码
                            </th>
                            <th >
                                主数据名称
                            </th>
                            <th >
                                主数据说明
                            </th>
                            <th style="width:75px;">
                                选择
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="{{$index%2?'even':'odd'}}" ng-repeat="attr in attr_rows">
                            
                            <td >
                                {{attr.masDataDefineCode}}
                            </td>
                            <td  >
                                {{attr.masDataDefineName}}
                            </td>
                            <td >
                                {{attr.masDataDefineDesc}}
                            </td>
                            <td style="text-align: center;">
                                <input class="btn btn-success btn-favourite btn-action"
                                    type="button" 
                                    value="选择"
                                    name="attr_code"
                                    ng-click="get_cloud_attr(attr.masDataDefineCode);"
                                    style="width:50px;"
                                >
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="condition_search_footer">
                <label class="first">
                    <span>
                        <select ng-model="pageSize"  ng-change="changed_page_size()">
                            <!--<option value="5" selected="selected">5条/页</option>-->
                            <option value="10" selected="selected">10条/页</option>
                            <option value="20"> 20条/页</option>
                            <option value="50">50条/页</option>
                        </select>
                    </span>
                    <span >
                        共{{math_ceil(total/pageSize)}}页
                    </span>
                </label>
                <label class="second">
                    <span>
                    <a ng-href="javascript:void(0);" ng-click="pre_page();" href="javascript:void(0);">
                        <i class="fa" aria-hidden="true">上一页</i>
                    </a>
                    </span>
                    <span>
                        <a ng-href="javascript:void(0);" ng-click="next_page();" href="javascript:void(0);">
                            <i class="fa" aria-hidden="true">下一页</i>
                        </a>
                    </span>
                    <span class="ng-binding">第<input type="text" value="1" ng-model="pageNumber" ng-change="search_keydown(pageNumber)"> 页/ 共{{math_ceil(total/pageSize)}}页</span>
                </label>
            </div>
    </div>
</div>