hjg
2024-01-17 efbf825aa2f845bc6f9b26b0fa10139c8071deef
提交 | 用户 | 时间
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         .gai-info{
49           width:72%;
50           float:left;
51           text-align: center;
52           line-height:20px;
53           min-height:28px;
54           /*border:1px solid #ddd;*/
55         }
56         </style>
57     </ui:define>
58     <ui:define name="acontent">
59         <div class="row">
60             <div class="col-xs-12 table-responsive" style="margin-top: 8px;">
61                 <table id="simple-table" class="table  table-bordered table-hover table-striped">
62                     <thead>
63                         <tr>
64                             <th class="detail-col" style="min-width: 48px">序号</th>
65                             <th style="min-width: 100px"><span class="th">编号</span></th>
66                             <th style="min-width: 100px"><span class="th">名称</span></th>
67                             <th style="min-width: 100px"><span class="th">操作</span></th>
68                         </tr>
69                     </thead>
70
71                     <tbody data-bind="foreach: ywdyList">
72                         <tr>
73                             <td class="center">
74                                 <span data-bind="text: $index() + 1"></span> 
75                             </td>
76
77                             <td data-bind="text: code"></td>
78                             <td data-bind="text: name"></td>
79                             <td>
80                                 <div class="btn-group">
81                                     <button class="btn btn-xs btn-info" title="编辑" data-bind="click: $parent.edit">
82                                         编辑
83                                     </button>
84                                 </div>
85                             </td>
86                         </tr>
87                     </tbody>
88                 </table>
89             </div>
90         </div>
91         <div class="modal fade" id="modal">
92             <div class="modal-dialog">
93                 <div class="modal-content">
94                     <div class="modal-header">
95                         <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span>
96                             <span class="sr-only">Close</span></button>
97                         <h4 class="modal-title">配置厂区仓库</h4>
98                     </div>
99                     <div class="modal-body">
100                         <form class="form-horizontal" id="form">
101                             <div class="form-body">
102                                 <div class="form-group">
103                                     <label class="col-md-3 control-label">厂区名称</label>
104                                     <div class="col-md-6">
105                                         <input type="text" disabled='true' class="form-control" name="name" placeholder="" 
106                                         data-bind="value: o().name"/>
107                                     </div>
108                                 </div>
109                             </div>
110                            
111                             <div class="form-group">
112                                 <label class="col-md-3 col-sm-3 control-label" for="form-field-1-1">仓库</label>
113                                 <div class="col-md-6 col-sm-6">
114                                         <select data-placeholder="请选择仓库……" id="dp" style="height: 34px" 
115                                         multiple="multiple" class="chosen-select form-control tag-input-style" 
116                                         data-bind="selectedOptions: selectdCkList, options: ckList, 
117                                         optionsText: 'ckName', optionsValue: 'code' " >
118                                          </select> 
119                                 </div>
120                             </div>
121                         </form>
122                     </div>
123                     <div class="modal-footer">
124                         <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
125                         <button type="button" class="btn btn-primary" id="save">保存</button>
126                     </div>
127                 </div>
128             </div>
129         </div>
130         <div id="dialog-confirm" class="hide">
131             <div class="alert alert-info bigger-110" id="modalContent">
132             </div>
133         </div>
134     </ui:define>
135     <ui:define name="myscript">
136         <script type="text/javascript" src="#{request.contextPath}/template/assets/js/jquery.colorbox.js"></script>
137         <script type="text/javascript" src="#{request.contextPath}/template/assets/js/chosen.jquery.js"></script>
138         <script src="js/ywdyRepertory.js?v=#{sessionScope.login_page_vesion}"></script>
139     </ui:define>
140 </ui:composition>
141 </html>