You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
2.0 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet"href="/static/layui/css/layui.css">
</head>
<body>
<div><a href="/"><button class="but" type="submit" >返回主页</button></a></div>
<div align="center">
<div><a href="/insert2"><button class="but" type="submit" >添加数据</button></a></div>
<br>
<br>
<table width="1000px" cellpadding="5" align="center" border="1" cellspacing="0">
<th align="center" colspan="10">物资分配情况</th>
<tr align="center">
<td width="80px">分配编号</td>
<td width="10px">接收单位</td>
<td>物资名称</td>
<td>规格</td>
<td width="140px">计量单位</td>
<td>数量</td>
<td width="120px">仓库号</td>
<td width="100px">签收人</td>
<td width="180px">签收人联系电话</td>
<td width="140px">操作</td>
</tr>
{% for item in distributions %}
<tr align="center">
<td>{{item[0]}}</td>
<td>{{item[1]}}</td>
<td>{{item[2]}}</td>
<td>{{item[3]}}</td>
<td>{{item[4]}}</td>
<td>{{item[5]}}</td>
<td>{{item[6]}}</td>
<td>{{item[7]}}</td>
<td>{{item[8]}}</td>
<td>
<a href="修改分配记录?id={{ item[0] }}&接收单位={{ item[1] }}&物资名称={{ item[2] }}&规格={{ item[3] }}&计量单位={{ item[4] }}&数量={{ item[5] }}&仓库号={{ item[6] }}&签收人={{ item[7] }}&签收人联系电话={{item[8]}}">编辑</a>
<a href="删除分配记录?id={{ item[0] }}">删除</a>
</td>
</tr>
{% endfor %}
</table>
</div>
</body>
</html>