hjg
2023-11-17 3780c5e65b05bf23020810798babc6d20311fa79
提交 | 用户 | 时间
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;width: 10%;">
92                     <select name="" id="wcSign" class="form-control" data-bind="event:{change:fendanChoose} ">
93                         <option selected="true" value="0">未分单完成</option>
94                         <option value="1">分单完成</option>
95                        <option value="2">已关闭</option>
96                     </select>
97                 </div>
98                 <div class="col-xs-1" style="padding-left: 0px;">
99                         <div class="col-md-9 " style="padding-left: 0px;">
100                             <button class="btn btn-sm btn-info searchBtns" id="sortBtn" type="button" style="width: 100px">
101                                 排序
102                             </button>
103                         </div>
104                 </div>
105             <!-- </div> -->
106             <div class="col-xs-2" style="text-align: right;width: 15%;">
107                 <button class="btn btn-sm btn-warning" type="button" id="unbindBtn">
108                     取消配车
109                 </button>
110
111                 <button class="btn btn-sm btn-info" type="button" id="vehicleBtn" >
112                     配车
113                 </button>
114             </div>
115
116
117             <div class="col-xs-12" style="margin-top: 8px;margin-bottom: -15px;display:inline;" id="searchBox">
118                     <form class="form-horizontal" id="formss">
119                     <div class="form-body col-xs-4" >
120                         <div class="form-group">
121                             <label class="col-md-3 control-label" >制单日期</label>
122                             <div class="col-md-9">
123                                 <input type="text" class="form-control" id="sDate" placeholder="起始日期"  onClick="WdatePicker()"/>
124                                 <span class="date-line">—</span>
125                                 <input type="text" class="form-control" id="eDate" placeholder="截止日期"  onClick="WdatePicker()"/>
126                             </div>
127                         </div>
128                     </div>
129                     <!-- <div class="form-group col-xs-4" >
130                             <div class="col-md-9 col-md-offset-3">
131                                 <button class="btn btn-sm btn-info searchBtns" id="sortBtn" type="button" style="width: 100px">
132                                     排序
133                                 </button>
134                             </div>
135                     </div> -->
136                 </form>
137                 <div class="col-md-8" style="width: 43%;padding-right: 1px;">
138                <!--  <div id="pagdiv" style="display: inline-block"></div> -->
139                 <div id="selectMessage"  style="display: 'inline-block';float: left;line-height: 2.5;font-size: 15px;">
140                     <p class="bg-info">
141                         已选择:<span data-bind="text: selectedNum">0</span>件,
142                         重量:<span data-bind="text: selectedPZ">0</span>吨。
143                     </p>
144                 </div>
145                <div  style="display: 'inline-block';float: left;line-height: 2.5;font-size: 15px;padding-left: 20px;" >
146                     <button class="btn btn-sm btn-info searchBtns" type="button" id="fdqxclosefdBtn" style="width: 100px;background-color: #ffb752 !important;border-color: #ffb752;">关闭分单
147                     </button>
148                     <button class="btn btn-sm btn-info searchBtns" type="button" id="fdqxopenfdBtn" style="display: none;width: 100px;" >
149                         恢复分单
150                     </button>
151                 </div>
152                 <div  style="display: 'inline-block';float: right;line-height: 2.5;font-size: 15px;padding-left: 10px;" >
153                      <select class="form-control" data-bind="value: cqVal, options: cqList, optionsText: 'name', optionsValue: 'cqval', event: {change: cqchange}"></select>
154                 </div>
155             </div>
156             </div>
157
158             <div class="col-xs-12 table-responsive main-table" style="margin-top: 8px;">
159                 <table id="simple-table" class="table  table-bordered table-hover table-striped">
160                     <thead>
161                         <tr>
162                             <th class="detail-col" style="min-width: 48px">
163                            <span class="th">序号</span> </th>
164                                <th style="min-width: 80px" data-bind="visible: fdqxbgType()"><span class="th">整单打印</span></th>
165                             <th style="min-width: 160px"  data-bind="visible: !fdqxbgType()" ><span class="th">关闭时间</span></th>
166                             <th style="min-width: 180px"><span class="th">提单编号</span></th>
167                             <th style="min-width: 60px"  data-bind="visible: fdqxbgType()" ><span class="th">提单类型</span></th>
168                             <th style="min-width: 60px"  data-bind="visible: !fdqxbgType()" ><span class="th">关闭人</span></th>
169                             <th style="min-width: 250px"><span class="th">客户名称</span></th>
170                             <th style="min-width: 120px"><span class="th">发票编号</span></th>
171                             <th style="min-width: 355px"><span class="th">备注</span></th>
172                             <th style="min-width: 140px"><span class="th">收货地点</span></th>
173                             <th style="min-width: 90px" data-bind="visible: fdqxbgType()"><span class="th">未分数量(件)</span></th>
174                             <th style="min-width: 90px" data-bind="visible: fdqxbgType()" ><span class="th">未分重量(吨)</span></th>
175                             <th style="min-width: 90px" data-bind="visible: !fdqxbgType()"><span class="th">关闭数量(件)</span></th>
176                             <th style="min-width: 90px" data-bind="visible: !fdqxbgType()" ><span class="th">关闭重量(吨)</span></th>
177                             <th style="min-width: 180px"><span class="th">制单时间</span></th>
178                             <th style="min-width: 100px"><span class="th">制单部门</span></th>
179                             <th style="min-width: 70px"><span class="th">制单人</span></th>
180                             <!-- <th style="min-width: 100px"><span class="th">业务日期</span></th> -->
181                             <th style="min-width: 220px"><span class="th">物流公司</span></th>
c23e61 182                             <th style="min-width: 220px"><span class="th">NC提交时间</span></th>
58d006 183                         </tr>
A 184                     </thead>
185
186                     <tbody data-bind="foreach: list">
187                         <tr class="bitem" data-bind="attr: {'data-indx': indx, 'data-td_tdbh': td_tdbh}">
188                             <td class="center">
189                                 <span data-bind="text: $index() + 1"></span>
190                             </td>
191                            <td  data-bind="visible: fdqxbgType" >
192                                <div class="btn-group">
193                                    <button class="btn btn-xs btn-info" title="分单" data-bind="click: $parent.print">
194                                        <i class="ace-icon fa fa-pencil bigger-120"></i>
195                                        打印
196                                    </button>
197                                </div>
198                            </td>
199                            <td  data-bind="visible: !fdqxbgType,text:td_gbsj" >
200                            </td>
201                             <td  data-bind="visible: fdqxbgType" >
202                                 <a href="javascript:;" data-bind="text: td_tdbh, click: $parent.edit" title="分单"></a>
203                             </td>
204                             <td  data-bind="visible: !fdqxbgType,text:td_tdbh" >
205
206                             </td>
207                             <td data-bind="visible: fdqxbgType,text: td_ztbz"></td><!-- data-bind="text: td_khmc" -->
208                             <td data-bind="visible: !fdqxbgType,text: td_gbr"></td>
209                             <td style="text-align: left;" data-bind="text: td_khmc"></td>
210                             <td style="text-align: left;" data-bind="text: td_fpbh"></td>
211                             <td style="text-align: left;" data-bind="text: td_bz"></td>
212                             <td style="text-align: left;" data-bind="text: td_shdd"></td>
213                             <td data-bind="visible:fdqxbgType,text: td_wfdsl"></td>
214                             <td style="text-align: right;" data-bind="visible:fdqxbgType,text: td_wfdzl"></td>
215
216                             <td data-bind="visible:!fdqxbgType,text: td_gbsl"></td>
217                             <td style="text-align: right;" data-bind="visible:!fdqxbgType,text: td_gbzl"></td>
218
219                             <td data-bind="text: td_djrq"></td>
220                             <td data-bind="text: td_bmmc"></td>
221                             <td data-bind="text: td_zdr"></td>
222                             <!-- <td data-bind="text: td_ywrq"></td> -->
223                             <td style="text-align: left;" data-bind="text: companyName"></td>
c23e61 224                             <td data-bind="text: $data.committime"></td>
58d006 225                         </tr>
A 226                     </tbody>
227                 </table>
228             </div>
229           <div class="col-md-12">
230               <div id="pagdiv" style="display: inline-block"></div>
231               <!-- <div id="selectMessage" style="display: 'inline-block'; float: right">
232                   <p class="bg-info">
233                       已选择:<span data-bind="text: selectedNum">0</span>件,
234                       重量:<span data-bind="text: selectedPZ">0</span>吨。
235                   </p>
236               </div> -->
237           </div>
238         </div>
239         <div id="dialog-confirm" class="hide">
240             <div class="alert alert-info bigger-110" id="modalContent">
241             </div>
242         </div>
243         <div class="modal fade" id="modal">
244             <div class="modal-dialog">
245                 <div class="modal-content">
246                     <div class="modal-header">
247                         <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
248                         <h4 class="modal-title">排序</h4>
249                     </div>
250                     <div class="modal-body" style="overflow: hidden">
251                         <table class="table table-bordered table-hover table-striped" style="width: 30%; float: left">
252                             <thead>
253                                 <tr>
254                                     <th>选择</th>
255                                 </tr>
256                             </thead>
257                             <tbody data-bind="foreach: oList">
258                                 <tr data-bind="visible: visible">
259                                     <td>
260                                         <a href="javascript:;" data-bind="text: key, click: $parent.addSort"></a>
261                                     </td>
262                                 </tr>
263                             </tbody>
264                         </table>
265                         <table class="table  table-bordered table-hover table-striped" style="width: 70%; float: left">
266                             <thead>
267                                 <tr>
268                                     <th>规则</th>
269                                     <th>升序</th>
270                                     <th>降序</th>
271                                 </tr>
272                             </thead>
273                             <tbody data-bind="foreach: soList">
274                                 <tr>
275                                     <td>
276                                         <a href="javascript:;" data-bind="text: key, click: $parent.removeSort"></a>
277                                     </td>
278                                     <td>
279                                         <input type="radio" value="asc" data-bind="checked: result, attr: {name: target}"/>
280                                     </td>
281                                     <td>
282                                         <input type="radio" value="desc" data-bind="checked: result, attr: {name: target}"/>
283                                     </td>
284                                 </tr>
285                             </tbody>
286                         </table>
287                     </div>
288                     <div class="modal-footer">
289                         <button type="button" class="btn btn-default btn-sm" ddata-dismiss="modal" id="clearSortBtn">清除</button>
290                         <button type="button" class="btn btn-primary btn-sm" data-dismiss="modal" id="searchSortBtn" >确定</button>
291                     </div>
292                 </div>
293             </div>
294         </div>
295
296         <div class="modal fade" id="vehicleModal">
297             <div class="modal-dialog modal-lg">
298                 <div class="modal-content">
299                     <div class="modal-header">
300                         <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
301                         <h4 class="modal-title" style="display: inline-block; float: left;line-height: 34px;">选择车辆</h4>
302                         <div class="col-xs-4">
303                             <div class="input-group">
304                                 <input class="form-control input-mask-date" type="text" id="vehicleKeyword" placeholder="输入车牌号检索" />
305                                 <span class="input-group-btn">
306                                     <button class="btn btn-sm btn-default searchBtn" type="button" id="searchVehicleBtn">
307                                         <i class="ace-icon fa fa-search bigger-110"></i>
308                                         搜索
309                                     </button>
310                                 </span>
311                             </div>
312                         </div>
313                     </div>
314                     <div class="modal-body table-responsive" style="max-height: 400px; overflow-Y: scroll">
315                         <table class="table table-bordered table-hover table-striped">
316                             <thead>
317                                 <tr>
318                                     <th style="min-width: 100px">车牌号</th>
319                                     <th style="min-width: 150px">可配车重量</th>
320                                     <th style="min-width: 350px">特征</th>
321                                     <th style="min-width: 100px">车重</th>
322                                     <th style="min-width: 100px">载重</th>
323                                     <th style="min-width: 150px">已配车数量</th>
324                                     <th style="min-width: 150px">已配车重量</th>
325                                     <th style="min-width: 400px;">备注</th>
326                                     <th style="min-width: 80px">司机</th>
327                                     <th style="min-width: 100px">联系电话</th>
328                                     <th style="min-width: 150px">身份证号</th>
329                                 </tr>
330                             </thead>
331                             <tbody data-bind="foreach: vList">
332                                 <tr class="vitem" data-bind="attr: {'data-indx': indx}">
333                                     <td data-bind="text: vehicleId"></td>
334                                     <td data-bind="text: lastweight"></td>
335                                     <td data-bind="text: feature"></td>
336                                     <td data-bind="text: vehicleweight"></td>
337                                     <td data-bind="text: loadweight"></td>
338                                     <td data-bind="text: fdnum"></td>
339                                     <td data-bind="text: fdweight"></td>
340                                     <td data-bind="text: note"></td>
341                                     <td data-bind="text: driver"></td>
342                                     <td data-bind="text: phone"></td>
343                                     <td data-bind="text: IDNum"></td>
344                                 </tr>
345                             </tbody>
346                         </table>
347                     </div>
348                     <div class="modal-footer">
349                         <button type="button" class="btn btn-primary btn-sm" id="addTempVehicle" style="float: left">配车到临时车辆</button>
350                        <!--  <button type="button" class="btn btn-primary btn-sm" id="refreshVehicleBtn" style="float: left">
351                             <i class="ace-icon fa fa-refresh bigger-110"></i>
352                             更新车辆状态
353                         </button> -->
354                         <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">取消</button>
355                         <button type="button" class="btn btn-primary btn-sm" id="vehicleBindBtn">确定配车</button>
356                     </div>
357                 </div>
358             </div>
359         </div>
360
361
362         <div class="modal fade" id="tempVehicleModal">
363             <div class="modal-dialog">
364                 <div class="modal-content">
365                     <div class="modal-header">
366                         <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
367                         <h4 class="modal-title">编辑临时车辆</h4>
368                     </div>
369                     <div class="modal-body">
370                         <form class="form-horizontal" id="form">
371                             <div class="form-body">
372                                 <div class="form-group">
373                                     <label class="col-md-3 control-label"><span class="t-error">*</span> 车牌号</label>
374                                     <div class="col-md-6">
375                                         <input type="text" class="form-control" style="text-transform:uppercase" id="vehicleId" name="vehicleId" placeholder="" data-bind="value: o().vehicleId"/>
376                                     </div>
377                                     <div class="col-md-3">
378                                         <p class="form-control-static text-error"></p>
379                                     </div>
380                                 </div>
381                                 <div class="form-group">
382                                     <label class="col-md-3 control-label"><span class="t-error">*</span> 司机</label>
383                                     <div class="col-md-6">
384                                         <input type="text" class="form-control" placeholder="" name="driver" data-bind="value: o().driver"/>
385                                     </div>
386                                     <div class="col-md-3">
387                                         <p class="form-control-static text-error"></p>
388                                     </div>
389                                 </div>
390                                 <div class="form-group">
391                                     <label class="col-md-3 control-label"><span class="t-error">*</span> 手机号</label>
392                                     <div class="col-md-6">
393                                         <input type="text" class="form-control" placeholder="" name="phone" data-bind="value: o().phone"/>
394                                     </div>
395                                     <div class="col-md-3">
396                                         <p class="form-control-static text-error"></p>
397                                     </div>
398                                 </div>
399                                  <div class="form-group">
400                                     <label class="col-md-3 control-label"><span class="t-error">*</span> 身份证号</label>
401                                     <div class="col-md-6">
402                                         <input type="text" class="form-control" placeholder="" name="IDNum" data-bind="value: o().IDNum"/>
403                                     </div>
404                                     <div class="col-md-3">
405                                         <p class="form-control-static text-error"></p>
406                                     </div>
407                                 </div>
408                                 <div class="form-group">
409                                     <label class="col-md-3 control-label"> 车辆重量(吨)</label>
410                                     <div class="col-md-6">
411                                         <input type="text" class="form-control" placeholder="" name="vehicleweight" data-bind="value: o().vehicleweight"/>
412                                     </div>
413                                     <div class="col-md-3">
414                                         <p class="form-control-static text-error"></p>
415                                     </div>
416                                 </div>
417                                 <div class="form-group">
418                                     <label class="col-md-3 control-label"> 载重重量(吨)</label>
419                                     <div class="col-md-6">
420                                         <input type="text" class="form-control" placeholder="" name="vehicleweight" data-bind="value: o().loadweight"/>
421                                     </div>
422                                     <div class="col-md-3">
423                                         <p class="form-control-static text-error"></p>
424                                     </div>
425                                 </div>
426                                 <div class="form-group">
427                                     <label class="col-md-3 control-label">特征</label>
428                                     <div class="col-md-6">
429                                         <input type="text" class="form-control" placeholder="" data-bind="value: o().feature"/>
430                                     </div>
431                                     <div class="col-md-3">
432                                         <p class="form-control-static text-error"></p>
433                                     </div>
434                                 </div>
435                                     <div class="form-group">
436                                     <label class="col-md-3 control-label">备注</label>
437                                     <div class="col-md-6">
438                                         <input type="text" class="form-control" placeholder="" data-bind="value: o().note"/>
439                                     </div>
440                                     <div class="col-md-3">
441                                         <p class="form-control-static text-error"></p>
442                                     </div>
443                                 </div>
444                             </div>
445                         </form>
446                     </div>
447                     <div class="modal-footer">
448                         <button type="button" class="btn btn-sm btn-default" data-dismiss="modal">取消</button>
449                         <button type="button" class="btn btn-sm btn-primary" id="tempVehicleBindBtn">保存并配车</button>
450                     </div>
451                 </div>
452             </div>
453         </div>
454         <div class="modal fade" id="closefdModel">
455              <div class="modal-dialog">
456                 <div class="modal-content">
457                     <div class="modal-header">
458                         <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
459                         <h4 class="modal-title">关闭分单</h4>
460                     </div>
461                     <div class="modal-body" >
462                         <div class="form-group" style="height: 20px;" >
463                             <label class="col-md-2 control-label"> 车&nbsp;&nbsp;牌&nbsp;&nbsp;号</label>
464                             <div class="col-md-6">
465                                 <input type="text" class="form-control" placeholder="" data-bind="value: fdqxvehcileId" />
466                             </div>
467                         </div>
468                         <div class="form-group" style="height: 20px; margin-top: 25px;" >
469                             <label class="col-md-2 control-label"> 司机姓名</label>
470                             <div class="col-md-6">
471                                 <input type="text" class="form-control" placeholder="" data-bind="value: fdqxdriver" />
472                             </div>
473                         </div>
474                         <div class="form-group" style="height: 20px; margin-top: 25px;" >
475                             <label class="col-md-2 control-label"> 联系方式</label>
476                             <div class="col-md-6">
477                                 <input type="text" class="form-control" placeholder="" data-bind="value: fdqxphone" />
478                             </div>
479                         </div>
480                     </div>
481                     <div class="modal-footer">
482                         <button type="button" class="btn btn-sm btn-default" data-dismiss="modal">取消</button>
483                         <button type="button" class="btn btn-sm btn-primary" id="fdqxclosefdmBtn">确认</button>
484                     </div>
485                 </div>
486             </div>
487         </div>
488     </ui:define>
489     <ui:define name="myscript">
490         <script type="text/javascript" src="#{request.contextPath}/template/nit/cdn/js/getdate/WdatePicker.js"></script>
491         <script src="js/bizList.js?v=#{sessionScope.login_page_vesion}"></script>
492     </ui:define>
493 </ui:composition>
494 </html>