Index.cshtml
4.57 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@section header
{
<style type="text/css">
.content-left {
width: 29.7%;
border: 1px solid #e1e1e8;
}
.content-middle {
width: 46%;
border: 1px solid #e1e1e8;
}
.content-right {
width: 24%;
border: 1px solid #e1e1e8;
}
.div-height {
height: 100%;
margin-top: 7px;
}
.div-height-1 {
height: 35%;
margin-top: 7px;
}
.table-title {
color: blue;
width: 150px;
border-bottom: 3px solid #009688;
line-height: 30px;
text-align: center
}
.tool-feiliao {
display: inline-block;
margin-left: 80px;
line-height: 30px;
padding: 0 10px;
font-size: 12px;
color: blue;
}
.tool-feiliao1 {
display: inline-block;
//margin-left: 80px;
line-height: 30px;
padding: 0 10px;
font-size: 12px;
color: blue;
}
.ew-tree-table {
height: 92% !important;
}
/* .ew-tree-table-box {
height: 650px !important;
} */
.layui-table-view {
margin: 0 !important;
height: 92% !important;
}
/* .layui-table-body {
height: 650px !important;
} */
[lay-filter="middleList"] .ew-tree-table-box {
height: 650px !important;
}
</style>
}
<div id="listForm" class="layui-tab-item layui-show">
<!--tool-->
<div class="layui-table-tool" style="padding: 0; min-height: 51px;">
<div class="layui-table-tool-temp">
<div class="layui-btn-container" style=" margin-left: 10px; padding-top: 10px;">
<h3 class="tool-feiliao1">
<input name="planTime" id="planTime" type="text" autocomplete="off" lay-verify="required" maxlength="100" class="layui-input layui-date" value="@ViewBag.Time">
</h3>
<a href="javascript:;" class="layui-btn layui-btn-sm" lay-event="BtnRefresh"><i class="layui-icon"></i>查询工单数据</a>
<a href="javascript:;" class="layui-btn layui-btn-sm " lay-event="BtnNestingCalculation"><i class="layui-icon"></i>套料计算</a>
<a href="javascript:;" class="layui-btn layui-btn-sm " lay-event="BtnSaveCutPlan"><i class="layui-icon"></i>保存套料方案</a>
@* <h3 class="tool-feiliao">当前设置管材长度(mm):<span style="color:red;font-weight:bold;">@ViewBag.PipeLength</span>(mm)</h3> *@
<h3 class="tool-feiliao">当前设置废料长度(mm):<span style="color:red;font-weight:bold;">@ViewBag.CuttingWasteLength</span>(mm)</h3>
<h3 class="tool-feiliao">当前设置首段坡口损耗长度(mm):<span style="color:red;font-weight:bold;">@ViewBag.BevelLossLength</span>(mm)</h3>
@* <h3 class="tool-feiliao">当前设置切割损耗(mm):<span style="color:red;font-weight:bold;">@ViewBag.CutFlanLength</span>(mm)</h3> *@
</div>
</div>
</div>
<!--table-->
<div class="layui-col-xs12" style="display: flex">
<!--left-->
<div class="content-left ">
<div class="div-height-1">
<h3 class="table-title">待套料工单</h3>
<table id="leftDownList"></table>
</div>
<div class="div-height-1">
<h3 class="table-title">库存管材</h3>
<table id="leftUpList"></table>
</div>
</div>
<!--middle-->
<div class="content-middle">
<div class="div-height">
<h3 class="table-title">套料方案</h3>
<table id="middleList"></table>
</div>
</div>
<!--right-->
<div class="content-right">
<div class="div-height-1">
<h3 class="table-title">未套料的工单</h3>
<table id="rightDownList"></table>
</div>
<div class="div-height-1">
<h3 class="table-title">未套料的库存管材</h3>
<table id="rightUpList"></table>
</div>
</div>
</div>
</div>
@section Scripts
{
<script type="text/javascript" src="/productjs/Material/Nesting.js" asp-append-version="true"></script>
}