Administrator
2023-03-10 8676413693275fa7c8ba77263fb413198d3e56e7
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="/template/nit/tmp_brief.xhtml">
    <ui:define name="acss">
    <link rel="stylesheet" type="text/css" href="/template/assets/css/ace.min.css" />
        <style>
        p.error {
            color: #D9534F
        }
        input.error {
            border: 1px solid #D9534F;
        }
        .form-body span.text {
            line-height: 34px
        }
        #listTable, #pTable {
            margin-bottom: 0px
        }
        .panel-group {
            margin-bottom: 0px            
        }
        .pricing-span {
            /* width: 16%; */
            max-width: 14.28%!important;
            min-width: 14.28%!important;
            /* position: relative; */
            /* margin-left: 70px; */
            width: 14.28%;
        }
        .yiban {
            width: 70%;
            margin-left: 15%;
        }
        .profile-info-name{
            position: relative;
        }
        .wizard-steps li{
            width: 14.28%;
        }
        .gai-wrap{
          /*width:25%;*/
          padding-left: 0px;
          padding-right: 0px; 
          float:left;
          min-height:40px;
        }
        .gai-name{
          width:28%;
          float:left;
          text-align: right;
          padding-right: 10px;
          padding-top: 4px
        }
        .gai-info{
          width:72%;
          float:left;
          text-align: left;
          line-height:20px;
          min-height:28px;
          border:1px solid #ddd;
        }
        .profile-info-row {
            display: block;
        }
        .profile-user-info-striped .profile-info-value{
          border-top:1px solid #ddd !important;
        }
        .gai-name{
          border-top: 0px !important;
          /*border-right:1px solid #DCEBF7;
          border-bottom:1px solid #DCEBF7;*/
        }
        .profile-user-info-striped{
          border:none;
        }
        .profile-user-info-striped .profile-info-name{
          background:none;
          border:none;
        }
        .profile-info-name{
          padding:4px 5px 4px 0px;
        }
        .del-a{
          position: absolute;
          right: 95px;
          z-index: 99;
          line-height: 44px;
          color: #999999;
            top: 0px
        }
        .del-a:hover{
          color: #777;
          text-decoration: none;
        }
        #listTable th, #pTable th{
          background-color: #F7F7F7;
          text-align: center;
        }
        .form-horizontal .form-group{
            margin-left: 0px;
            margin-right: 0px;
        }
        .form-control{
            height: 28px;
        }
        .form-group{
            margin-bottom: 0px;
        }
        .gai-name {
            /*width: 30%;*/
            float: left;
            text-align: right;
            padding-right: 10px;
            padding-top: 4px !important;
            line-height: 28px;
        }
        .form-body span.text {
            line-height: 28px;
        }
        table th,table td{
            text-align: center;
        }
        .profile-info-value{
            margin-left: 0px;
        }
        #listTable th,#listTable td, #pTable th, #pTable td{
            padding: 4px 8px;
        }
        #nodeList .one::before {
            display: none
        }
        .computed {
            display: none
        }
        #listTable th,#listTable td, #pTable th, #pTable td{
            padding: 2px 8px;
        }
        #nodeList .one::before {
            display: none
        }
        .btn-xs {
            border: 0px;
        }
        .canEdit {
            display: none;
        }
        #password {
            width: 100%;
        }
        </style>
    </ui:define>
    <ui:define name="acontent">
        <input type="hidden" value="#{param.id}" id="_id" />
        <input type="hidden" value="#{param.businessNo}" id="_businessNo" />
        <div class="col-md-12">
            <div class="profile-user-info profile-user-info-striped" style="margin-top: 10px">
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 业务单号 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().bussinessNo"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 业务类型 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().btname"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 发货单位 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().dcompany"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 收货单位 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().rcompany"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 证件号码 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().paperno"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 预发车时间 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().fctime"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 预运输时间 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().ystime"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 预到达时间 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().ddtime"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 车牌号 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().numberplates"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 司机 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().driver"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 联系方式 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().phone"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 装卸点 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().spareanames"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> IC卡号 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().cardno"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 制单人 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().cname"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 制单部门 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().cdepart"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 制单日期 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().ctime"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 数据类型 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().stype"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12">
                    <div class="profile-info-name gai-name"> 办理类型 </div>
 
                    <div class="profile-info-value gai-info">
                        <span class="editable editable-click" data-bind="text: o().sstatus"></span>
                    </div>
                </div>
                <div class="profile-info-row gai-wrap col-md-6 col-sm-6 col-xs-12"></div>                
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12 computed">
                    <label class="profile-info-name gai-name">天气信息</label>
                    <div class="profile-info-value gai-info" style="border: none; padding: 0px">
                        <span class="text note" style="backgrounds: #f1f1f1; display: block; padding: 6px 12px; border: 1px solid #ddd;" id="weatherinfo" data-bind="text: o().weatherinfo"></span>
                    </div>                    
                </div>                    
                <div class="profile-info-row gai-wrap col-md-9 col-sm-6 col-xs-12" style="height: 41px"></div>
                <div class="profile-info-row gai-wrap col-md-3 col-sm-6 col-xs-12 computed">
                    <label class="profile-info-name gai-name" id="nLabel">备注</label>
                    <div class="profile-info-value gai-info" style="border: none; padding: 0px">
                        <span class="text note" style="backgrounds: #f1f1f1; display: block; height: 33px; padding: 6px 12px; border: 1px solid #ddd;" data-bind="text: o().note"></span>
                    </div>
                </div>
            </div>
            
        </div>
        <!-- 节点 -->
        <div class="row-fluid">
            <div class="span12">
                <div class="widget-box" style="border:none;">
                    <div class="widget-body" style="border:none;">
                        <div class="widget-main">
                            <div id="fuelux-wizard" class="row-fluid" data-target="#step-container">
                                <ul class="wizard-steps" id="nodeList" style="width: auto" data-bind="foreach: taskList">
                                    <li data-target="#step1" class="completes" data-bind="css: {complete: state == 1, active: state != 1, one: $parent.taskList().length == 1}">
                                        <span class="step" data-bind="text: $index() + 1"></span>
                                        <span class="title" data-bind="text: note"></span>
                                        <br />
                                        <!-- <span class="title" data-bind="text: assigneeDepart"></span> -->
                                    </li>
                                </ul>
                            </div>
                        </div><!-- /widget-main -->
                    </div><!-- /widget-body -->
                </div>
            </div>
        </div>
        <!-- 节点结束 -->
        <div class="col-md-12" style="padding-top: 7px">
            <div class="widget-box">
                <div class="widget-header widget-header-flat">
                    <h4 class="widget-title">物资列表</h4>
                    <!-- <div class="widget-toolbar">
                        <a style="padding: 3px" href="http://10.1.1.9:9088/ReportServer?reportlet=print%2Fprintdj_bcp_out.cpt&amp;bussNo=#{businessNo}" class="btn btn-xs btn-info">
                            <i class="ace-icon fa fa-print bigger-120"> 打印</i>
                        </a>
                        <a style="padding: 3px" href="/bsheet/downbsitems.htm?businessNo=#{businessNo}" class="btn btn-xs btn-info">
                            <i class="ace-icon fa fa-file-excel-o bigger-120"> 导出excel</i>
                        </a>
                        <button class="btn btn-xs btn-info" id="plBtn">
                            <i class="ace-icon fa fa-cubes bigger-120">计划物资</i>
                        </button>
                        <button class="btn btn-xs btn-info" id="lauBtn">
                            <i class="ace-icon fa fa-list-ul bigger-120"> 装卸货记录</i>
                        </button>
                    </div> -->
                </div>
 
                <div class="widget-body table-responsive">
                    <table class="table table-bordered table-hover" id="listTable">
                        <thead>
                            <tr>
                                <th style="min-width: 50px;">序号</th>
                                <th style="min-width: 140px;">批次号</th>
                                <th style="min-width: 220px;">物料名称</th>
                                <th style="min-width: 220px">规格型号</th>
                                <th style="min-width: 110px">物料编号</th>
                                <th style="min-width: 80px">合金状态</th>
                                <th style="min-width: 80px">计量单位</th>
                                <th style="min-width: 50px">毛重</th>
                                <th style="min-width: 80px">皮重</th>
                                <th style="min-width: 50px">净重</th>
                                <th style="min-width: 50px">数量</th>
                                <th style="min-width: 100px">套筒</th>
                                <th style="min-width: 50px">单价</th>
                                <th style="min-width: 50px">金额</th>
                                <th style="min-width: 200px">发货单位</th>
                                <th style="min-width: 200px" data-bind="visible: showSD">收货单位</th>
                                <th style="min-width: 200px">最终收货单位</th>
                                <th style="min-width: 150px">数据来源</th>
                                <th style="min-width: 150px">备注</th>
                            </tr>
                        </thead>
 
                        <tbody data-bind="foreach: mList">
                            <tr>
                                <td class="center">
                                    <span data-bind="text: $index() + 1"></span>
                                </td>
 
                                <!--<td><input type="text" class="tableTypeahead name" data-bind="value: name, enable: $parent.canEdit"/></td>-->
                                <td data-bind="text: pici"></td>
                                <td data-bind="text: name"></td>
                                <td data-bind="text: norms"></td>
                                <td data-bind="text: materielNo"></td>
                                <td data-bind="text: hejin"></td>
                                <td data-bind="text: unitname"></td>
                                <td data-bind="text: gross"></td>
                                <td data-bind="text: taotongWeight"></td>
                                <td data-bind="text: weight"></td>
                                <td data-bind="text: num"></td>
                                <td data-bind="text: taotong"></td>
                                <td data-bind="text: price"></td>
                                <td data-bind="text: money"></td>
                                <td data-bind="text: decompany"></td>
                                <td data-bind="text: rcompany, visible: $parent.showSD"></td>
                                <td data-bind="text: recompany"></td>
                                <td data-bind="text: frombatch"></td>
                                <!--<td><input type="text" class="mlnum" data-bind="value: num, enable: $parent.canEdit"/></td>-->
                                <td data-bind="text: note"></td>
                            </tr>
                        </tbody>
                        <tfoot data-bind="visible: mList().length">
                            <tr style="background: #F7F7F7; font-weight: bold">
                                <td>合计</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td style="text-align: left" data-bind="text: grossTotal()"></td>
                                <td style="text-align: left" data-bind="text: taotongWeightTotal()"></td>
                                <td style="text-align: left" data-bind="text: weightTotal()"></td>
                                <td style="text-align: left" data-bind="text: numTotal()"></td>
                                <td></td>
                                <td></td>
                                <td style="text-align: left" data-bind="text: moneyTotal()"></td>
                                <td></td>
                                <td data-bind="visible: showSD"></td>
                                <td></td>
                                <td></td>
                                <td></td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
 
            <!-- <div class="widget-box">
                <div class="widget-header widget-header-flat">
                    <h4 class="widget-title">磅单</h4>
                    <div class="widget-toolbar">
                        <button class="btn btn-xs" id="status" style="font-size: 15px; font-weight: bold"></button>
                    </div>
                </div>
 
                <div class="widget-body table-responsive">
                    <table class="table table-bordered table-hover" id="pTable">
                        <thead>
                            <tr>
                                <th style="min-width: 70px">磅单号</th>
                                <th style="min-width: 100px">业务编号</th>
                                <th style="min-width: 150px">收货单位</th>
                                <th style="min-width: 150px">发货单位</th>
                                <th style="min-width: 100px">车牌号</th>
                                <th style="min-width: 110px">物料编号</th>
                                <th style="min-width: 220px">物料名称</th>
                                <th style="min-width: 110px">规格型号</th>
                                <th style="min-width: 70px">毛重</th>
                                <th style="min-width: 70px">皮重</th>
                                <th style="min-width: 70px">净重</th>
                                <th style="min-width: 70px">扣重1</th>
                                <th style="min-width: 70px">扣重2</th>
                                <th style="min-width: 70px">扣后重量</th>
                                <th style="min-width: 150px">毛重时间</th>
                                <th style="min-width: 150px">皮重时间</th>
                                <th style="min-width: 150px">最后保存时间</th>
                                <th style="min-width: 100px">毛重司磅员</th>
                                <th style="min-width: 100px">皮重司磅员</th>
                                <th style="min-width: 70px">毛重历史</th>
                                <th style="min-width: 70px">皮重历史</th>
                            </tr>
                        </thead>
 
                        <tbody data-bind="foreach: bwList">
                            <tr>
                                <td>
                                    <a href="javascript:;" data-bind="text: poundNo, click: $parent.poundDetails"></a>
                                </td>
                                <td data-bind="text: businessNo"></td>
                                <td data-bind="text: tounitname"></td>
                                <td data-bind="text: fromunitname"></td>
                                <td data-bind="text: vehicleID"></td>
                                <td data-bind="text: materialno"></td>
                                <td data-bind="text: materialname"></td>
                                <td data-bind="text: materialguige"></td>
                                <td data-bind="text: gross"></td>
                                <td data-bind="text: tare"></td>
                                <td data-bind="text: (gross - tare)"></td>
                                <td data-bind="text: subtra1"></td>
                                <td data-bind="text: subtra2"></td>
                                <td data-bind="text: (gross - tare - subtra1 - subtra2)"></td>
                                <td data-bind="text: grosstime"></td>
                                <td data-bind="text: taretime"></td>
                                <td data-bind="text: lastSaveTime"></td>
                                <td data-bind="text: grossWeighman"></td>
                                <td data-bind="text: tareWeighman"></td>
                                <td data-bind="text: tares"></td>
                                <td data-bind="text: grosses"></td>
                            </tr>
                        </tbody>
                        <tfoot data-bind="visible: bwList().length">
                            <tr style="background: #F7F7F7; font-weight: bold">
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td data-bind="text: _grossTotal()"></td>
                                <td data-bind="text: _tareTotal()"></td>
                                <td data-bind="text: _weightTotal()"></td>
                                <td data-bind="text: _subtra1Total()"></td>
                                <td data-bind="text: _subtra2Total()"></td>
                                <td data-bind="text: _subWeightTotal()"></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div> -->
            
            <!-- <div class="widget-box">
                <div class="widget-header widget-header-flat">
                    <h4 class="widget-title">审核信息</h4>
                </div>
 
                <div class="widget-body">
                    <table class="table table-bordered table-hover" id="listTable">
                        <thead>
                            <tr>
                                <th class="detail-col" style="min-width: 48px">序号</th>
                                <th>审批人</th>
                                <th>审批部门</th>
                                <th>审批结果</th>
                                <th>审批意见</th>
                                <th>审批时间</th>
                            </tr>
                        </thead>
 
                        <tbody data-bind="foreach:  arList">
                            <tr>
                                <td class="center">
                                    <span data-bind="text: $index() + 1"></span>
                                </td>
 
                                <td data-bind="text: cname"></td>
                                <td data-bind="text: cdepart"></td>
                                <td data-bind="text: aresult"></td>
                                <td data-bind="text: opinions"></td>
                                <td data-bind="text: ctime"></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div> -->
        </div>
        <div class="modal fade" id="modal">
            <div class="modal-dialog" style="width: 1000px">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <h4 class="modal-title">计划物资列表</h4>
                    </div>
                    <div class="modal-body table-responsive">
                        <table class="table table-bordered table-hover" id="listTable2">
                            <thead>
                                <tr>
                                    <th style="min-width: 50px;">序号</th>
                                    <th style="min-width: 140px;">批次号</th>
                                    <th style="min-width: 220px;">物料名称</th>
                                    <th style="min-width: 220px">规格型号</th>
                                    <th style="min-width: 110px">物料编号</th>
                                    <th style="min-width: 80px">合金状态</th>
                                    <th style="min-width: 80px">计量单位</th>
                                    <th style="min-width: 50px">毛重</th>
                                    <th style="min-width: 80px">皮重</th>
                                    <th style="min-width: 50px">净重</th>
                                    <th style="min-width: 50px">数量</th>
                                    <th style="min-width: 100px">套筒</th>
                                    <th style="min-width: 50px">单价</th>
                                    <th style="min-width: 50px">金额</th>
                                    <th style="min-width: 200px">发货单位</th>
                                    <th style="min-width: 200px">最终收货单位</th>
                                    <th style="min-width: 150px">数据来源</th>
                                    <th style="min-width: 150px">备注</th>
                                </tr>
                            </thead>
 
                            <tbody data-bind="foreach: pList">
                                <tr>
                                    <td class="center">
                                        <span data-bind="text: $index() + 1"></span>
                                    </td>
 
                                    <td data-bind="text: pici"></td>
                                    <td data-bind="text: name"></td>
                                    <td data-bind="text: norms"></td>
                                    <td data-bind="text: materielNo"></td>
                                    <td data-bind="text: hejin"></td>
                                    <td data-bind="text: unitname"></td>
                                    <td data-bind="text: gross"></td>
                                    <td data-bind="text: taotongWeight"></td>
                                    <td data-bind="text: weight"></td>
                                    <td data-bind="text: num"></td>
                                    <td data-bind="text: taotong"></td>
                                    <td data-bind="text: price"></td>
                                    <td data-bind="text: money"></td>
                                    <td data-bind="text: decompany"></td>
                                    <td data-bind="text: recompany"></td>
                                    <td data-bind="text: frombatch"></td>
                                    <td data-bind="text: note"></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div id="dialog-confirm" class="hide">
            <div class="alert alert-info bigger-110" id="modalContent">
            </div>
        </div>
        <div id="dialog-confirm1" class="hide">
            <div class="alert alert-info bigger-110" id="modalContent1">
            </div>
        </div>
        <div class="modal fade" id="wdModal">
            <div class="modal-dialog" style="width: 900px">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <h4 class="modal-title">磅单列表</h4>
                    </div>
                    <div class="modal-body table-responsive" style="max-height: 350px">
                        <form class="form-inline">
                            <div class="form-group">
                                <label for="">日期</label>
                                <input type="text" class="form-control" style="height: 33px" id="sdate" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'edate\')}'})" placeholder="起始日期"/>
                            </div>
                            <div class="form-group">
                                <label for="">至</label>
                                <input type="text" class="form-control" style="height: 33px" id="edate"  onfocus="WdatePicker({maxDate:'%y-%M-%d'})" placeholder="截止日期"/>
                            </div>
                            <div class="input-group">
                                <input class="form-control input-mask-date" type="text" style="height: 33px" id="keyword" placeholder="请输入磅单号搜索" data-bind="value: keyword, valueUpdate: 'afterkeydown'" />
                                <span class="input-group-btn">
                                    <button class="btn btn-sm btn-default searchBtn" type="button" id="searchBtn">
                                        <i class="ace-icon fa fa-search bigger-110"></i>
                                        搜索
                                    </button>
                                </span>
                            </div>
                        </form>
                        <!--<div class="col-xs-7">
                        </div>-->
                        <div class="col-xs-5">
                        </div>
                        <table class="table table-bordered table-hover" id="pTable2">
                            <thead>
                                <tr>
                                    <th style="min-width: 50px" data-bind="visible: canEdit">操作</th>
                                    <th style="min-width: 70px">磅单号</th>
                                    <th style="min-width: 100px">业务编号</th>
                                    <th style="min-width: 150px">发货单位</th>
                                    <th style="min-width: 150px">收货单位</th>
                                    <th style="min-width: 100px">车牌号</th>
                                    <th style="min-width: 110px">物料编号</th>
                                    <th style="min-width: 220px">物料名称</th>
                                    <th style="min-width: 110px">规格型号</th>
                                    <th style="min-width: 70px">毛重</th>
                                    <th style="min-width: 70px">皮重</th>
                                    <th style="min-width: 70px">净重</th>
                                    <th style="min-width: 70px">扣重1</th>
                                    <th style="min-width: 70px">扣重2</th>
                                    <th style="min-width: 70px">扣后重量</th>
                                    <th style="min-width: 150px">毛重时间</th>
                                    <th style="min-width: 150px">皮重时间</th>
                                    <th style="min-width: 150px">最后保存时间</th>
                                    <th style="min-width: 100px">毛重司磅员</th>
                                    <th style="min-width: 100px">皮重司磅员</th>
                                    <th style="min-width: 70px">毛重历史</th>
                                    <th style="min-width: 70px">皮重历史</th>
                                </tr>
                            </thead>
 
                            <tbody data-bind="foreach: wList">
                                <tr>
                                    <td data-bind="visible: $parent.canEdit">
                                        <div class="btn-group">
                                            <button class="btn btn-xs btn-info" data-bind="click: $parent.bindPound">
                                                <!--<i class="ace-icon fa fa-plus bigger-95"></i>-->
                                                绑定
                                            </button>
                                        </div>
                                    </td>
                                    <td data-bind="text: poundNo"></td>
                                    <td data-bind="text: businessNo"></td>
                                    <td data-bind="text: fromunitname"></td>
                                    <td data-bind="text: tounitname"></td>
                                    <td data-bind="text: vehicleID"></td>
                                    <td data-bind="text: materialno"></td>
                                    <td data-bind="text: materialname"></td>
                                    <td data-bind="text: materialguige"></td>
                                    <td data-bind="text: gross"></td>
                                    <td data-bind="text: tare"></td>
                                    <td data-bind="text: (gross - tare)"></td>
                                    <td data-bind="text: subtra1"></td>
                                    <td data-bind="text: subtra2"></td>
                                    <td data-bind="text: (gross - tare - subtra1 - subtra2)"></td>
                                    <td data-bind="text: grosstime"></td>
                                    <td data-bind="text: taretime"></td>
                                    <td data-bind="text: lastSaveTime"></td>
                                    <td data-bind="text: grossWeighman"></td>
                                    <td data-bind="text: tareWeighman"></td>
                                    <td data-bind="text: tares"></td>
                                    <td data-bind="text: grosses"></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                     <div class="modal-footer">
                        <button type="button" class="btn btn-sm btn-default" data-dismiss="modal">返回</button>
                        <!--<button type="button" class="btn btn-sm btn-primary" ids="save">保存</button>-->
                    </div>
                </div>
            </div>
        </div>
    </ui:define>
    <ui:define name="myscript">
        <script type="text/javascript" src="#{request.contextPath}/template/assets/js/jquery.colorbox.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/template/nit/cdn/js/getdate/WdatePicker.js"></script>
        <script src="#{request.contextPath}/basic/js/bizDetails.js?v2"></script>
    </ui:define>
</ui:composition>
</html>