<form action="DJServlet" method="post"> <table border="2"  cellspacing="0"  width="85%" style="text-align: center; " bordercolor="#FFFFFF" id="myTable">
<tr style="background-color:#F0F0F0;height: 40px" >
<td colspan="13">单据信息</td>
</tr>
<tr style="background-color: #C0DCC0;height: 40px">
<td style="width: 50px">单号</td>
<td>材料编码</td>
<td>材料名称</td>
<td>单价</td>
<td >单位</td>
<td>数量</td>
<td>总计</td>
<td>供应商</td>
<td>供应商编号</td>
<td>日期</td>
<td colspan="2">操作</td>
</tr>
<c:forEach items="${listC}" var="i">
<tr style="background: LightYellow">
<td>${i.danhao}</td>
<td>${i.num}</td>
<td>${i.name}</td>
<td>${i.price}</td>
<td>${i.unit}</td>
<td>${i.count}</td>
<td>${i.price*i.count}</td>
<td>${i.provider}</td>
<td>${i.providerID}</td>
<td>${i.date}</td>
<td><input type="button"data-toggle="modal" data-target="#myModal" value="修改"></td>
<td><input type="button" class="btn2" id="" value="删除" /></td>
</tr>
</table>
</form>