hjg
2023-10-08 a966b5abe5fb804464fe1cd09053a03fe94877fd
提交 | 用户 | 时间
58d006 1 <?xml version="1.0" encoding="UTF-8"?>
A 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:c="http://java.sun.com/jsp/jstl/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:f="http://java.sun.com/jsf/core"
7 xmlns:ui="http://java.sun.com/jsf/facelets">
8 <ui:composition template="/template/nit/tmp_brief.xhtml">
9     <ui:define name="acss">
10         <style>
11         #searchBtn {
12             height: 34px;
13         }
14         p.error {
15             color: #D9534F
16         }
17         input.error {
18             border: 1px solid #D9534F;
19         }
20         #listTable input{
21             width: 100%;
22             height: 100%;
23             border: 0px;
24             padding: 0px
25         }
26         #simple-table th,#simple-table td{
27             text-align: center;
28             padding: 2px 8px;
29         }
30         .bigger-95{
31         font-size: 95% !important;
32         }
33         .btn-xs, .btn-group-xs > .btn{
34           padding-top: 0px;
35           padding-bottom: 0px;
36         }
37         #form .control-label {
38             margin-right: -14px
39         }
40         .t-error{
41             color: red;
42             position: relative;
43             right: 2px;
44             top: 3px;
45         }
46         .table-responsive {
47             overflow-x: visible
48         }
49         #listTable th,#listTable td{
50             padding: 2px 8px !important;
51             text-align: center;
52         }
53         .twitter-typeahead {
54             width: 100%
55         }
56         .gai-name{
57           width:26%;
58           float:left;
59           text-align: right;
60           padding-right: 10px;
61         }
62         .gai-info{
63           width:72%;
64           float:left;
65           text-align: center;
66           line-height:20px;
67           min-height:28px;
68           /*border:1px solid #ddd;*/
69         }
70         .tt-menu {
71             width: 382px;
72             padding: 0px;
73         }
74         .bh, .mc {
75             text-align: center;
76             height: 30px;
77             border: 1px solid #CCC;
78             display: block;
79             float: left;
80             border-left: none;
81         }
82         .bh {
83             border-left: 1px solid #CCC;
84             width: 80px;
85         }
86         .mc, .gg {
87             width: 300px;
88         }
89         .dw {
90             width: 50px
91         }
92         .tt-suggestion{
93             overflow: hidden;
94             padding: 0px;
95             font-size: 14px
96         }
97         #bx {
98             background: #F7F7F7;
99             color: #707070;
100              overflow: hidden;
101              font-size: 14px;
102              font-weight: bold;
103              height: 25px;
104         }
105         </style>
106     </ui:define>
107     <ui:define name="acontent">
108         <input type="hidden" value="#{param.page}" id="p" />
109         <input type="hidden" value="#{param.keyword}" id="k" />
110         <div class="row">
111             <div class="col-md-12">
112                 <form class="form-horizontal">
113                     <div class="form-body">
114                         <div class="form-group gai-wrap col-md-3 col-sm-6 col-xs-12">
115                             <label class=" control-label gai-name">类型</label>
116                             <div class="gai-info">
117                                 <!--<input type="text" class="form-control" placeholder="输入编号或名称查询" name="numberplates" data-bindd="value: o().numberplates, enable: canEdit" />-->
118                                 <select name="" id="" class="form-control" data-bind="value: type, options: tList, optionsText: 'key', optionsValue: 'value'"></select>
119                             </div>
120                         </div>
121                         <div class="form-group gai-wrap col-md-3 col-sm-6 col-xs-12">
122                             <label class=" control-label gai-name">一卡通</label>
123                             <div class="gai-info">
124                                 <input type="text" class="form-control" placeholder="输入编号或名称查询" name="numberplates" data-bind="value: skeyword" />
125                             </div>
126                         </div>
127                         <div class="form-group gai-wrap col-md-3 col-sm-6 col-xs-12">
128                             <label class=" control-label gai-name">ERP</label>
129                             <div class="gai-info">
130                                 <input type="text" class="form-control" placeholder="输入编号或名称查询" name="numberplates" data-bind="value: ckeyword" />
131                             </div>
132                         </div>
133                         <div class="form-group gai-wrap col-md-3 col-sm-6 col-xs-12">
134                             <button class="btn btn-sm btn-default" type="button" id="searchBtn">
135                                 <i class="ace-icon fa fa-search bigger-110"></i>
136                                 搜索
137                             </button>
138                         </div>
139                     </div>
140                 </form>
141             </div>
142             <!--<div class="col-xs-5">
143                 <div class="input-group">
144                     <input class="form-control input-mask-date" type="text" value="#{param.keyword}" id="keyword" placeholder="输入名称搜索" data-bind="value: keyword, valueUpdate: 'afterkeydown'" />
145                     <span class="input-group-btn">
146                         <button class="btn btn-sm btn-default" type="button" id="searchBtn">
147                             <i class="ace-icon fa fa-search bigger-110"></i>
148                             搜索
149                         </button>
150                     </span>
151                 </div>
152             </div>
153             <div class="col-xs-7" style="text-align: right;">
154                 <button class="btn btn-sm btn-success" type="button" id="save">
155                     <i class="ace-icon fa fa-save bigger-110"></i>
156                     保存
157                 </button>
158                 <button class="btn btn-sm btn-info" type="button" id="newObj">
159                     <i class="ace-icon fa fa-plus bigger-110"></i>
160                     添加
161                 </button>
162             </div>-->
163             <div class="col-xs-12 table-responsive" style="margin-top: 8px;">
164                 <table id="listTable" class="table  table-bordered table-hover">
165                     <thead>
166                         <tr>
167                             <th class="detail-col" style="min-width: 48px">序号</th>
168                             <th style="min-width: 255px">一卡通往来单位名称</th>
169                             <th class="hidden-480" style="min-width: 48px">一卡通往来单位编号</th>
170                             <th style="min-width: 255px">ERP往来单位名称</th>
171                             <th class="hidden-480" style="min-width: 48px">ERP往来单位编号</th>
172                             <th style="min-width: 100px">操作</th>
173                         </tr>
174                     </thead>
175
176                     <tbody data-bind="foreach: list">
177                         <tr>
178                             <td class="center">
179                                 <span data-bind="text: $index() + 1"></span>
180                             </td>
181
182                             <td class="hidden-480" data-bind="text: sysname"></td>
183                             <td class="hidden-480" data-bind="text: sysCompanyNo"></td>
184                             <td>
185                                 <input type="text" class="mtableTypeahead name" data-bind="value: cname"/>
186                             </td>
187                             <td class="hidden-480" data-bind="text: companyNo"></td>
188                             <td>
189                                 <div class="btn-group">
190                                     <button class="btn btn-xs btn-danger" title="解绑" data-bind="click: $parent.unbind">
191                                         <!--<i class="ace-icon fa fa-pencil bigger-95"></i>-->
192                                         解绑
193                                     </button>
194                                 </div>
195                             </td>
196                         </tr>
197                     </tbody>
198                 </table>
199                 <div id="pagdiv" style="margin-bottom: 400px"></div>
200             </div>
201         </div>
202         <div id="dialog-confirm" class="hide">
203             <div class="alert alert-info bigger-110" id="modalContent">
204             </div>
205         </div>
206     </ui:define>
207     <ui:define name="myscript">
208         <script src="#{request.contextPath}/business/js/typeahead.bundle.js"></script>
209         <script src="js/mapCompany.js"></script>
210     </ui:define>
211 </ui:composition>
212 </html>