<head>
<script type="text/javascript" src="${ctx}/javascript/jquery.dataTables.js"></script>
<script type="text/javascript" src="${ctx}/javascript/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="${ctx}/javascript/leave/leave_wtx.js"></script>
<link rel="stylesheet" type="text/css" href="${ctx}/css/wtx/wtx.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/css/jquery.dataTables.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/css/jquery.dataTables_themeroller.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/css/jquery.dataTables.min.css" />
<script type="text/javascript" charset="utf-8">
$(function(){
$('#example').dataTable({
"bStateSave": true,
"bFilter":false,
"aLengthMenu": [[5, 10, 20, -1], [5, 10, 20, "All"]],
"sPaginationType": "full_numbers",
"oLanguage": {
"sLengthMenu": "显示_MENU_条 ",
"sZeroRecords": "没有您要搜索的内容",
"sInfo": "从_START_ 到 _END_ 条记录——总记录数为 _TOTAL_ 条",
"sInfoEmpty": "记录数为0",
"sInfoFiltered": "(全部记录数 _MAX_ 条)",
"sSearch": "搜索",
"oPaginate": {
"sFirst": "第一页",
"sPrevious": " 上一页 ",
"sNext": " 下一页 ",
"sLast": " 最后一页 ",
"oPaginate": {
"sFirst": "首页",
"sPrevious": "前一页",
"sNext": "后一页",
"sLast": "尾页"
},
},
}
});
});
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>出库</title>
</head>
<body id="dt_example">
<div class="nav_1">
<img src="${ctx }/images/securityyuan.png">
</div>
<div class="nav_2">出库列表</div>
<div class="nav1">
<img src="${ctx }/images/securityxian.png">
</div>
<form action="${ctx}/seller/select" method="post">
<div class="bj">
<div class="content">
<div class="cont1">
<div class="nav2">
<div class="nav9"><input type="text" name="input" id="select" placeholder="请输入货物名称或收货地址"><input type="button" class="input3" id="select1" value="查询"></div>
<br/><br/><br/><br/><br/>
<div id="container" align="center">
<table width="100%" id="example" border="1" cellspacing="0" cellpadding="0">
<thead>
<tr class="odd gradeB">
<td style="display:none">
id
</td>
<td width="150">
收货地址
</td>
<td width="140">
货物名称
</td>
<td width="100">
货物数量
</td>
<td width="100" style="display:none">
单价
</td>
<td width="100" style="display:none">
总价
</td>
<td width="100">
运输车辆
</td>
<td width="150">
发货仓库
</td>
<td width="150">
操作
</td>
</tr>
</thead>
<c:forEach items="${list}" var="commit">
<input id="comid" type="hidden" value="${commit.comid}">
<tbody class="gradeB" id="leaveform">
<tr class="odd gradeB">
<td id="cid" style="display:none">
${commit.cid}
</td>
<td id="address">
${commit.address}
</td>
<td id="name">
${commit.name}
</td>
<td id="count">
${commit.count}
</td>
<td id="price" style="display:none">
${commit.price}
</td>
<td id="sum" style="display:none">
${commit.sum}
</td>
<td id="car">
<select name=“car”>
<c:forEach items="${carList}" var="car">
<option id="car1" value="${car.carno}">${car.carno}</option>
</c:forEach>
</select>
<!-- <input type="text" name="car" id="car2" /> -->
</td>
<td id="godown" width="150">
<select name=“carno”>
<c:forEach items="${sellerGodownList}" var="sellerGodownList">
<option id="godown1" value="${sellerGodownList.address}">${sellerGodownList.address}</option>
</c:forEach>
</select>
<!-- <input type="text" name="godown" id="godown2" /> -->
</td>
<td>
<input type="button" class="input3" value="出库" id="sureLeave"/>
<input type="button" class="input3" value="驳回" id="return"/>
</td>
</tr>
</tbody>
</c:forEach>
</table>
<div id="aaa" style="display:none">
<select name="car">
<c:forEach items="${carList}" var="car">
<option id="car1" value="${car.carno}">${car.carno}</option>
</c:forEach>
</select>
</div>
<div id="bbb" style="display:none">
<select name="carno">
<c:forEach items="${sellerGodownList}" var="sellerGodownList">
<option id="godown1" value="${sellerGodownList.address}">${sellerGodownList.address}</option>
</c:forEach>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</body>
</html>