Administrator
2023-03-10 8676413693275fa7c8ba77263fb413198d3e56e7
提交 | 用户 | 时间
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         </style>
49     </ui:define>
50     <ui:define name="acontent">
51         <input type="hidden" data-bind="value: decodeURI('#{param.numberplates}')" id="_numberplates" />
52         <input type="hidden" value="#{param.id}" id="_id" />
53         <input type="hidden" value="#{param.bsNo}" id="_bsNo" />
54         <div class="row">
55             <!-- <div class="col-xs-5">
56                 <div class="input-group">
57                     <input class="form-control input-mask-date" type="text" value="#{param.keyword}" id="keyword" placeholder="输入名称搜索" data-bind="value: keyword, valueUpdate: 'afterkeydown'" />
58                     <span class="input-group-btn">
59                         <button class="btn btn-sm btn-default" type="button" id="searchBtn">
60                             <i class="ace-icon fa fa-search bigger-110"></i>
61                             搜索
62                         </button>
63                     </span>
64                 </div>
65             </div>
66             <div class="col-xs-7" style="text-align: right;">
67                 <button class="btn btn-sm btn-info" type="button" id="newObj">
68                     <i class="ace-icon fa fa-plus bigger-110"></i>
69                     新运输公司
70                 </button>
71             </div> -->
72             <div class="col-xs-11">
73                 <h3 style="margin: 0"><span data-bind="text: decodeURI('#{param.numberplates}')"></span>的已配车物资,总数量:<span data-bind="text: list().length"></span>,总毛重:<span data-bind="text: totalMZ"></span>,总净重:<span data-bind="text: totalJZ"></span>,载重:<span data-bind="text: vehicleLoadweight"></span>,超重:<span data-bind="text: (totalMZ() - vehicleLoadweight()) > 0 ? (totalMZ() - vehicleLoadweight()) : 0"></span>。</h3>
74             </div>
75             <div class="col-xs-1" style="text-align: right;">
76                 <button class="btn btn-sm btn-info" type="button" id="printBtn">
77                     <i class="ace-icon fa fa-print bigger-110"></i>
78                     打印
79                 </button>
80             </div>
81             <div class="col-xs-12 table-responsive" style="margin-top: 8px;">
82                 <table id="simple-table" class="table  table-bordered table-hover table-striped">
83                     <thead>
84                         <tr>
85                             <th class="detail-col" style="min-width: 48px"><span class="th">序号</span></th>
86                             <th style="min-width: 70px"><span class="th">删除</span></th>
87                             <th style="min-width: 140px"><span class="th">提单编号</span></th>
88                             <th style="min-width: 120px;"><span class="th">物料编号</span></th>
89                             <th style="min-width: 100px;"><span class="th">物料名称</span></th>
90                             <th style="min-width: 100px"><span class="th">规格型号</span></th>
91                             <th style="min-width: 100px"><span class="th">夹纸覆膜</span></th>
92                             <th style="min-width: 100px"><span class="th">尺寸</span></th>
93                             <th style="min-width: 100px"><span class="th">货位</span></th>
94                             <th style="min-width: 70px"><span class="th">毛重</span></th>
95                             <th style="min-width: 70px"><span class="th">净重</span></th>
96                             <th style="min-width: 250px"><span class="th">批次号</span></th>
97                             <!-- <th style="min-width: 250px"><span class="th">收货单位</span></th> -->
98                            <!--  <th style="min-width: 250px"><span class="th">备注</span></th>
99                             <th style="min-width: 100px"><span class="th">业务日期</span></th>
100                             <th style="min-width: 100px"><span class="th">销售部门</span></th>
101                             <th style="min-width: 100px"><span class="th">制单人</span></th> -->
102                         </tr>
103                     </thead>
104
105                     <tbody data-bind="foreach: list">
106                         <tr>
107                             <td class="center">
108                                 <span data-bind="text: $index() + 1"></span>
109                             </td>
110                              <td>
111                                 <div class="btn-group" data-bind="visible: tdmx_sfzc=='' ">
112                                     <button class="btn btn-xs btn-danger" title="删除" data-bind="click: $parent.del">
113                                         <!--<i class="ace-icon fa fa-trash-o bigger-120"></i>-->
114                                         删除
115                                     </button>
116                                 </div>
117                             </td>
118                             <td data-bind="text: tdmx_tdbh"></td>
119                             <td data-bind="text: tdmx_wlbh"></td>
120                             <td data-bind="text: tdmx_wlmc"></td>
121                             <td data-bind="text: tdmx_ggxh"></td>
122                             <td data-bind="text: tdmx_zpbz"></td>
123                             <td data-bind="text: tdmx_cc"></td>
124                             <td data-bind="text: tdmx_hwmc"></td>
125                             <td data-bind="text: tdmx_mz"></td>
126                             <td data-bind="text: tdmx_jz"></td>
127                             <!-- <td data-bind="text: tdmx_sl"></td> -->
128                             <td data-bind="text: tdmx_pch"></td>
129                            <!--  <td data-bind="text: tdmx_shdw"></td> -->
130                             <!-- <td data-bind="text: td_bz"></td>
131                             <td data-bind="text: td_ywrq"></td>
132                             <td data-bind="text: td_bmmc"></td>
133                             <td data-bind="text: td_zdr"></td> -->
134                         </tr>
135                     </tbody>
136                 </table>
137             </div>
138         </div>
139         <div id="dialog-confirm" class="hide">
140             <div class="alert alert-info bigger-110" id="modalContent">
141             </div>
142         </div>
143     </ui:define>
144     <ui:define name="myscript">
145         <script src="js/vehicleBindMaterials.js?v=#{sessionScope.login_page_vesion}"></script>
146     </ui:define>
147 </ui:composition>
148 </html>