提交 | 用户 | 时间
|
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 |
#simple-table th,#simple-table td{ |
|
21 |
text-align: center; |
|
22 |
padding: 1px 8px; |
|
23 |
} |
|
24 |
#form .control-label { |
|
25 |
margin-right: -14px |
|
26 |
} |
|
27 |
.t-error{ |
|
28 |
color: red; |
|
29 |
position: relative; |
|
30 |
right: 2px; |
|
31 |
top: 3px; |
|
32 |
} |
|
33 |
.pagination { |
|
34 |
margin: 10px 0; |
|
35 |
} |
|
36 |
#simple-table th { |
|
37 |
padding: 0 |
|
38 |
} |
|
39 |
.th { |
|
40 |
position: relative; |
|
41 |
width: 100%; |
|
42 |
display: block; |
|
43 |
background: #F2F2F2; |
|
44 |
border: 1px solid #DDDDDD; |
|
45 |
z-index: 1; |
|
46 |
border-left: none; |
|
47 |
} |
|
48 |
#searchBox { |
|
49 |
display: none; |
|
50 |
} |
|
51 |
#sDate, #eDate{ |
|
52 |
width: 45%; |
|
53 |
float: left |
|
54 |
} |
|
55 |
.date-line { |
|
56 |
width: 10%; |
|
57 |
float: left; |
|
58 |
line-height: 34px; |
|
59 |
text-align: center |
|
60 |
} |
|
61 |
input[type="radio"], input[type="checkbox"] { |
|
62 |
margin-top: 0px; |
|
63 |
} |
|
64 |
</style> |
|
65 |
</ui:define> |
|
66 |
<ui:define name="acontent"> |
|
67 |
<input type="hidden" value="#{param.page}" id="p" /> |
|
68 |
<input type="hidden" value="#{param.keyword}" id="k" /> |
|
69 |
<div class="row"> |
|
70 |
<div class="col-xs-2" data-bind="visible: isAdmin"> |
|
71 |
<select name="" id="" class="form-control" data-bind="value: companyNo, options: tList, optionsText: 'name', optionsValue: 'companyNo', optionsCaption: '全部运输公司', event: {change: change}"></select> |
|
72 |
</div> |
|
73 |
<div class="col-xs-2" data-bind=""> |
|
74 |
<select name="" id="" class="form-control" data-bind="value: type, options: sList, optionsText: 'key', optionsValue: 'value', events: {change: change}, style: {'margin-left': isAdmin() ? '-31px': '0px'}"></select> |
|
75 |
</div> |
|
76 |
<div class="col-xs-4" style="width: 25%;"> |
|
77 |
<div class="input-group" data-bind="style: {'margin-left': isAdmin() ? '-62px': '-31px'}"> |
|
78 |
<input class="form-control input-mask-date" type="text" value="#{param.keyword}" id="keyword" placeholder="输入关键字搜索" data-bind="value: keyword, valueUpdate: 'afterkeydown'" /> |
|
79 |
<span class="input-group-btn"> |
|
80 |
<button class="btn btn-sm btn-default searchBtn" type="button" id="searchBtn"> |
|
81 |
<i class="ace-icon fa fa-search bigger-110"></i> |
|
82 |
搜索 |
|
83 |
</button> |
|
84 |
</span> |
|
85 |
</div> |
|
86 |
</div> |
|
87 |
<!-- <div class="col-xs-2" style="line-height: 34px"> |
|
88 |
<a href="javascript:;" id="moreSearchCondition">更多筛选条件<i class="fa fa-chevron-down"></i></a> |
|
89 |
</div> --> |
|
90 |
<!-- <div class="col-xs-6" style="margin-top: 6px;margin-bottom: 5px;"> --> |
|
91 |
<div class="col-xs-1" style="padding-left: 0px;"> |
|
92 |
<div class="col-md-9 " style="padding-left: 0px;"> |
|
93 |
<button class="btn btn-sm btn-info searchBtns" id="sortBtn" type="button" style="width: 100px"> |
|
94 |
排序 |
|
95 |
</button> |
|
96 |
</div> |
|
97 |
</div> |
|
98 |
<!-- </div> --> |
|
99 |
|
|
100 |
|
|
101 |
<div class="col-xs-12" style="margin-top: 8px;margin-bottom: -15px;display:inline;" id="searchBox"> |
|
102 |
<form class="form-horizontal" id="formss"> |
|
103 |
<div class="form-body col-xs-4" > |
|
104 |
<div class="form-group"> |
|
105 |
<label class="col-md-3 control-label" >制单日期</label> |
|
106 |
<div class="col-md-9"> |
|
107 |
<input type="text" class="form-control" id="sDate" placeholder="起始日期" onClick="WdatePicker()"/> |
|
108 |
<span class="date-line">—</span> |
|
109 |
<input type="text" class="form-control" id="eDate" placeholder="截止日期" onClick="WdatePicker()"/> |
|
110 |
</div> |
|
111 |
</div> |
|
112 |
</div> |
|
113 |
<!-- <div class="form-group col-xs-4" > |
|
114 |
<div class="col-md-9 col-md-offset-3"> |
|
115 |
<button class="btn btn-sm btn-info searchBtns" id="sortBtn" type="button" style="width: 100px"> |
|
116 |
排序 |
|
117 |
</button> |
|
118 |
</div> |
|
119 |
</div> --> |
|
120 |
</form> |
|
121 |
<div class="col-md-8" style="width: 43%;padding-right: 1px;"> |
|
122 |
<!-- <div id="pagdiv" style="display: inline-block"></div> --> |
|
123 |
<div id="selectMessage" style="display: 'inline-block';float: left;line-height: 2.5;font-size: 15px;"> |
|
124 |
<p class="bg-info"> |
|
125 |
已选择:<span data-bind="text: selectedNum">0</span>件, |
|
126 |
重量:<span data-bind="text: selectedPZ">0</span>吨。 |
|
127 |
</p> |
|
128 |
</div> |
|
129 |
<div style="display: 'inline-block';float: right;line-height: 2.5;font-size: 15px;padding-left: 10px;" > |
|
130 |
<select class="form-control" data-bind="value: cqVal, options: cqList, optionsText: 'name', optionsValue: 'cqval', event: {change: cqchange}"></select> |
|
131 |
</div> |
|
132 |
</div> |
|
133 |
</div> |
|
134 |
|
|
135 |
<div class="col-xs-12 table-responsive main-table" style="margin-top: 8px;"> |
|
136 |
<table id="simple-table" class="table table-bordered table-hover table-striped"> |
|
137 |
<thead> |
|
138 |
<tr> |
|
139 |
<th class="detail-col" style="min-width: 48px"> |
|
140 |
<span class="th">序号</span> </th> |
|
141 |
<th style="min-width: 180px"><span class="th">提单编号</span></th> |
|
142 |
<th style="min-width: 60px" data-bind="visible: fdqxbgType()" ><span class="th">提单类型</span></th> |
|
143 |
<th style="min-width: 250px"><span class="th">客户名称</span></th> |
|
144 |
<th style="min-width: 355px"><span class="th">备注</span></th> |
|
145 |
<th style="min-width: 140px"><span class="th">收货地点</span></th> |
|
146 |
<th style="min-width: 140px"><span class="th">制单时间</span></th> |
|
147 |
<th style="min-width: 70px"><span class="th">时长(分)</span></th> |
|
148 |
<th style="min-width: 90px" data-bind="visible: fdqxbgType()"><span class="th">未分数量(件)</span></th> |
|
149 |
<th style="min-width: 90px" data-bind="visible: fdqxbgType()" ><span class="th">未分重量(吨)</span></th> |
|
150 |
<th style="min-width: 90px" data-bind="visible: !fdqxbgType()"><span class="th">关闭数量(件)</span></th> |
|
151 |
<th style="min-width: 90px" data-bind="visible: !fdqxbgType()" ><span class="th">关闭重量(吨)</span></th> |
|
152 |
<th style="min-width: 180px"><span class="th">制单时间</span></th> |
|
153 |
<th style="min-width: 100px"><span class="th">制单部门</span></th> |
|
154 |
<th style="min-width: 70px"><span class="th">制单人</span></th> |
|
155 |
<!-- <th style="min-width: 100px"><span class="th">业务日期</span></th> --> |
|
156 |
<th style="min-width: 220px"><span class="th">物流公司</span></th> |
|
157 |
|
|
158 |
</tr> |
|
159 |
</thead> |
|
160 |
|
|
161 |
<tbody data-bind="foreach: list"> |
|
162 |
<tr class="bitem" data-bind="attr: {'data-indx': indx, 'data-td_tdbh': td_tdbh}"> |
|
163 |
<td class="center"> |
|
164 |
<span data-bind="text: $index() + 1"></span> |
|
165 |
</td> |
|
166 |
<td data-bind="visible: !fdqxbgType,text:td_gbsj" > |
|
167 |
</td> |
|
168 |
<td data-bind="visible: fdqxbgType" > |
|
169 |
<a href="javascript:;" data-bind="text: td_tdbh, click: $parent.edit" title="分单"></a> |
|
170 |
</td> |
|
171 |
<td data-bind="visible: !fdqxbgType,text:td_tdbh" > |
|
172 |
|
|
173 |
</td> |
|
174 |
<td data-bind="visible: fdqxbgType,text: td_ztbz"></td><!-- data-bind="text: td_khmc" --> |
|
175 |
<td data-bind="visible: !fdqxbgType,text: td_gbr"></td> |
|
176 |
<td style="text-align: left;" data-bind="text: td_khmc"></td> |
|
177 |
<td style="text-align: left;" data-bind="text: td_bz"></td> |
|
178 |
<td style="text-align: left;" data-bind="text: td_shdd"></td> |
|
179 |
<td style="text-align: left;" data-bind="text: td_djrq"></td> |
|
180 |
<td data-bind="text: timeMinus"></td> |
|
181 |
<td data-bind="visible:fdqxbgType,text: td_wfdsl"></td> |
|
182 |
<td style="text-align: right;" data-bind="visible:fdqxbgType,text: td_wfdzl"></td> |
|
183 |
|
|
184 |
<td data-bind="visible:!fdqxbgType,text: td_gbsl"></td> |
|
185 |
<td style="text-align: right;" data-bind="visible:!fdqxbgType,text: td_gbzl"></td> |
|
186 |
|
|
187 |
<td data-bind="text: td_djrq"></td> |
|
188 |
<td data-bind="text: td_bmmc"></td> |
|
189 |
<td data-bind="text: td_zdr"></td> |
|
190 |
<!-- <td data-bind="text: td_ywrq"></td> --> |
|
191 |
<td style="text-align: left;" data-bind="text: companyName"></td> |
|
192 |
</tr> |
|
193 |
</tbody> |
|
194 |
</table> |
|
195 |
</div> |
|
196 |
<div class="col-md-12"> |
|
197 |
<div id="pagdiv" style="display: inline-block"></div> |
|
198 |
<!-- <div id="selectMessage" style="display: 'inline-block'; float: right"> |
|
199 |
<p class="bg-info"> |
|
200 |
已选择:<span data-bind="text: selectedNum">0</span>件, |
|
201 |
重量:<span data-bind="text: selectedPZ">0</span>吨。 |
|
202 |
</p> |
|
203 |
</div> --> |
|
204 |
</div> |
|
205 |
</div> |
|
206 |
<div id="dialog-confirm" class="hide"> |
|
207 |
<div class="alert alert-info bigger-110" id="modalContent"> |
|
208 |
</div> |
|
209 |
</div> |
|
210 |
<div class="modal fade" id="modal"> |
|
211 |
<div class="modal-dialog"> |
|
212 |
<div class="modal-content"> |
|
213 |
<div class="modal-header"> |
|
214 |
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
|
215 |
<h4 class="modal-title">排序</h4> |
|
216 |
</div> |
|
217 |
<div class="modal-body" style="overflow: hidden"> |
|
218 |
<table class="table table-bordered table-hover table-striped" style="width: 30%; float: left"> |
|
219 |
<thead> |
|
220 |
<tr> |
|
221 |
<th>选择</th> |
|
222 |
</tr> |
|
223 |
</thead> |
|
224 |
<tbody data-bind="foreach: oList"> |
|
225 |
<tr data-bind="visible: visible"> |
|
226 |
<td> |
|
227 |
<a href="javascript:;" data-bind="text: key, click: $parent.addSort"></a> |
|
228 |
</td> |
|
229 |
</tr> |
|
230 |
</tbody> |
|
231 |
</table> |
|
232 |
<table class="table table-bordered table-hover table-striped" style="width: 70%; float: left"> |
|
233 |
<thead> |
|
234 |
<tr> |
|
235 |
<th>规则</th> |
|
236 |
<th>升序</th> |
|
237 |
<th>降序</th> |
|
238 |
</tr> |
|
239 |
</thead> |
|
240 |
<tbody data-bind="foreach: soList"> |
|
241 |
<tr> |
|
242 |
<td> |
|
243 |
<a href="javascript:;" data-bind="text: key, click: $parent.removeSort"></a> |
|
244 |
</td> |
|
245 |
<td> |
|
246 |
<input type="radio" value="asc" data-bind="checked: result, attr: {name: target}"/> |
|
247 |
</td> |
|
248 |
<td> |
|
249 |
<input type="radio" value="desc" data-bind="checked: result, attr: {name: target}"/> |
|
250 |
</td> |
|
251 |
</tr> |
|
252 |
</tbody> |
|
253 |
</table> |
|
254 |
</div> |
|
255 |
<div class="modal-footer"> |
|
256 |
<button type="button" class="btn btn-default btn-sm" ddata-dismiss="modal" id="clearSortBtn">清除</button> |
|
257 |
<button type="button" class="btn btn-primary btn-sm" data-dismiss="modal" id="searchSortBtn" >确定</button> |
|
258 |
</div> |
|
259 |
</div> |
|
260 |
</div> |
|
261 |
</div> |
|
262 |
</ui:define> |
|
263 |
<ui:define name="myscript"> |
|
264 |
<script type="text/javascript" src="#{request.contextPath}/template/nit/cdn/js/getdate/WdatePicker.js"></script> |
|
265 |
<script src="js/marineBillofLadingList.js?v=#{sessionScope.login_page_vesion}"></script> |
|
266 |
</ui:define> |
|
267 |
</ui:composition> |
|
268 |
</html> |