MaterDetail.cshtml
1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@{
ViewData["Title"] = "工序任务明细物料";
Layout = null;
}
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@model ValueTuple<Guid,Guid>
<html>
<head>
<link href="~/layui/css/layui.mobile.css" rel="stylesheet" />
<link href="~/layui/css/layui.css" rel="stylesheet" />
</head>
<body>
<table class="layui-table" lay-data="{url:'LoadMaterDetail',where: {headKey: '@Model.Item1' , bodyKey: '@Model.Item2'},size: 'sm',height: 'full-20',}" lay-filter="test">
<thead>
<tr>
<th lay-data="{field:'id', width:60}">ID</th>
<th lay-data="{field:'productCode', width:180}">产品编码</th>
<th lay-data="{field:'materialCode', width:180}">物料编码</th>
<th lay-data="{field:'materialName', width:180}">物料名称</th>
<th lay-data="{field:'num', width:80}">数量</th>
<th lay-data="{field:'lineCode', width:150}">线体编码</th>
<th lay-data="{field:'wh_code', width:150}">需求单位</th>
<th lay-data="{field:'workCenterCode', width:180}">工作中心编码</th>
<th lay-data="{field:'createTime', width:150}">创建时间</th>
<th lay-data="{field:'createBy', width:150}">创建人</th>
<th lay-data="{field:'updateTime', width:150}">更新时间</th>
<th lay-data="{field:'updateBy', width:150}">更新人</th>
</tr>
</thead>
</table>
<script src="~/layui/layui.js"></script>
<script>
layui.use('table', function () {
var table = layui.table;
})
</script>
</body>
</html>