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