<?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">
|
<style>
|
#searchBtn {
|
height: 34px;
|
}
|
p.error {
|
color: #D9534F
|
}
|
input.error {
|
border: 1px solid #D9534F;
|
}
|
#simple-table th,#simple-table td{
|
text-align: center;
|
padding: 1px 8px;
|
}
|
#form .control-label {
|
margin-right: -14px
|
}
|
.t-error{
|
color: red;
|
position: relative;
|
right: 2px;
|
top: 3px;
|
}
|
.pagination {
|
margin: 10px 0;
|
}
|
#simple-table th {
|
padding: 0
|
}
|
.th {
|
position: relative;
|
width: 100%;
|
display: block;
|
background: #F2F2F2;
|
border: 1px solid #DDDDDD;
|
z-index: 1;
|
border-left: none;
|
}
|
.gai-info{
|
width:72%;
|
float:left;
|
text-align: center;
|
line-height:20px;
|
min-height:28px;
|
/*border:1px solid #ddd;*/
|
}
|
</style>
|
</ui:define>
|
<ui:define name="acontent">
|
<div class="row">
|
<div class="col-xs-12 table-responsive" style="margin-top: 8px;">
|
<table id="simple-table" class="table table-bordered table-hover table-striped">
|
<thead>
|
<tr>
|
<th class="detail-col" style="min-width: 48px">序号</th>
|
<th style="min-width: 100px"><span class="th">编号</span></th>
|
<th style="min-width: 100px"><span class="th">名称</span></th>
|
<th style="min-width: 100px"><span class="th">操作</span></th>
|
</tr>
|
</thead>
|
|
<tbody data-bind="foreach: ywdyList">
|
<tr>
|
<td class="center">
|
<span data-bind="text: $index() + 1"></span>
|
</td>
|
|
<td data-bind="text: code"></td>
|
<td data-bind="text: name"></td>
|
<td>
|
<div class="btn-group">
|
<button class="btn btn-xs btn-info" title="编辑" data-bind="click: $parent.edit">
|
编辑
|
</button>
|
</div>
|
</td>
|
</tr>
|
</tbody>
|
</table>
|
</div>
|
</div>
|
<div class="modal fade" id="modal">
|
<div class="modal-dialog">
|
<div class="modal-content">
|
<div class="modal-header">
|
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
|
<span class="sr-only">Close</span></button>
|
<h4 class="modal-title">配置厂区仓库</h4>
|
</div>
|
<div class="modal-body">
|
<form class="form-horizontal" id="form">
|
<div class="form-body">
|
<div class="form-group">
|
<label class="col-md-3 control-label">厂区名称</label>
|
<div class="col-md-6">
|
<input type="text" disabled='true' class="form-control" name="name" placeholder=""
|
data-bind="value: o().name"/>
|
</div>
|
</div>
|
</div>
|
|
<div class="form-group">
|
<label class="col-md-3 col-sm-3 control-label" for="form-field-1-1">仓库</label>
|
<div class="col-md-6 col-sm-6">
|
<select data-placeholder="请选择仓库……" id="dp" style="height: 34px"
|
multiple="multiple" class="chosen-select form-control tag-input-style"
|
data-bind="selectedOptions: selectdCkList, options: ckList,
|
optionsText: 'ckName', optionsValue: 'code' " >
|
</select>
|
</div>
|
</div>
|
</form>
|
</div>
|
<div class="modal-footer">
|
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
|
<button type="button" class="btn btn-primary" id="save">保存</button>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div id="dialog-confirm" class="hide">
|
<div class="alert alert-info bigger-110" id="modalContent">
|
</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/assets/js/chosen.jquery.js"></script>
|
<script src="js/ywdyRepertory.js?v=#{sessionScope.login_page_vesion}"></script>
|
</ui:define>
|
</ui:composition>
|
</html>
|