Administrator
2023-03-10 1c4e40639d73faae3ba87156e0e4478c50b8ee33
提交 | 用户 | 时间
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> -->
1c4e40 72             <div class="col-xs-10">
58d006 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>
A 74             </div>
1c4e40 75             <div class="col-xs-2" style="text-align: right;">
A 76                 <button class="btn btn-sm btn-info" type="button" id="remark" data-bind="click:addRemark">
77                     备注
78                 </button>
58d006 79                 <button class="btn btn-sm btn-info" type="button" id="printBtn">
A 80                     <i class="ace-icon fa fa-print bigger-110"></i>
81                     打印
82                 </button>
83             </div>
84             <div class="col-xs-12 table-responsive" style="margin-top: 8px;">
85                 <table id="simple-table" class="table  table-bordered table-hover table-striped">
86                     <thead>
87                         <tr>
88                             <th class="detail-col" style="min-width: 48px"><span class="th">序号</span></th>
89                             <th style="min-width: 70px"><span class="th">删除</span></th>
90                             <th style="min-width: 140px"><span class="th">提单编号</span></th>
91                             <th style="min-width: 120px;"><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: 100px"><span class="th">夹纸覆膜</span></th>
95                             <th style="min-width: 100px"><span class="th">尺寸</span></th>
96                             <th style="min-width: 100px"><span class="th">货位</span></th>
97                             <th style="min-width: 70px"><span class="th">毛重</span></th>
98                             <th style="min-width: 70px"><span class="th">净重</span></th>
99                             <th style="min-width: 250px"><span class="th">批次号</span></th>
100                             <!-- <th style="min-width: 250px"><span class="th">收货单位</span></th> -->
101                            <!--  <th style="min-width: 250px"><span class="th">备注</span></th>
102                             <th style="min-width: 100px"><span class="th">业务日期</span></th>
103                             <th style="min-width: 100px"><span class="th">销售部门</span></th>
104                             <th style="min-width: 100px"><span class="th">制单人</span></th> -->
105                         </tr>
106                     </thead>
107
108                     <tbody data-bind="foreach: list">
109                         <tr>
110                             <td class="center">
111                                 <span data-bind="text: $index() + 1"></span>
112                             </td>
113                              <td>
114                                 <div class="btn-group" data-bind="visible: tdmx_sfzc=='' ">
115                                     <button class="btn btn-xs btn-danger" title="删除" data-bind="click: $parent.del">
116                                         <!--<i class="ace-icon fa fa-trash-o bigger-120"></i>-->
117                                         删除
118                                     </button>
119                                 </div>
120                             </td>
121                             <td data-bind="text: tdmx_tdbh"></td>
122                             <td data-bind="text: tdmx_wlbh"></td>
123                             <td data-bind="text: tdmx_wlmc"></td>
124                             <td data-bind="text: tdmx_ggxh"></td>
125                             <td data-bind="text: tdmx_zpbz"></td>
126                             <td data-bind="text: tdmx_cc"></td>
127                             <td data-bind="text: tdmx_hwmc"></td>
128                             <td data-bind="text: tdmx_mz"></td>
129                             <td data-bind="text: tdmx_jz"></td>
130                             <!-- <td data-bind="text: tdmx_sl"></td> -->
131                             <td data-bind="text: tdmx_pch"></td>
132                            <!--  <td data-bind="text: tdmx_shdw"></td> -->
133                             <!-- <td data-bind="text: td_bz"></td>
134                             <td data-bind="text: td_ywrq"></td>
135                             <td data-bind="text: td_bmmc"></td>
136                             <td data-bind="text: td_zdr"></td> -->
137                         </tr>
138                     </tbody>
139                 </table>
140             </div>
1c4e40 141             <div class="col-xs-12" style="margin-top: 2px;">
A 142                备注: <div data-bind="text: remark"></div>
143             </div>
144         </div>
145
146         <div class="modal fade" id="modal">
147             <div class="modal-dialog">
148                 <div class="modal-content">
149                     <div class="modal-header">
150                         <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
151                         <h4 class="modal-title">添加备注</h4>
152                     </div>
153                     <div class="modal-body" style="overflow: hidden">
154                        备注:<textarea style="width:100%; resize:none;" rows="8" data-bind="value: remark"></textarea>
155                     </div>
156                     <div class="modal-footer">
157                         <button type="button" class="btn btn-default btn-sm" ddata-dismiss="modal" id="clearSortBtn">取消</button>
158                         <button type="button" class="btn btn-primary btn-sm" data-dismiss="modal" id="confirmBtn" >确定</button>
159                     </div>
160                 </div>
161             </div>
58d006 162         </div>
A 163         <div id="dialog-confirm" class="hide">
164             <div class="alert alert-info bigger-110" id="modalContent">
165             </div>
166         </div>
167     </ui:define>
168     <ui:define name="myscript">
1c4e40 169         <script src="js/vehicleBindMaterials.js?v=11222222321"></script>
58d006 170     </ui:define>
A 171 </ui:composition>
172 </html>