Index.cshtml
6.11 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
@{
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: 50%;
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: 500px !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;">
<input id="orderCode" name="orderCode" type="text" placeholder="工单号" style="width: 100px;height: 24px;font-size: 14px;margin-right: 10px;">
<input id="projectCode" name="projectCode" type="text" placeholder="船号" style="width: 100px;height: 24px;font-size: 14px;margin-right: 10px;">
<select id="line" name="line" style="width: 100px;height: 24px;font-size: 14px;margin-right: 10px;">
<option value="Line1" selected>长博小经线</option>
<option value="Line2">长博中1线</option>
@* <option value="Line3">长博中2线</option>
<option value="Line4">长博大经线</option> *@
</select>
<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;" id="CuttingWasteLength">@ViewBag.CuttingWasteLength</span>(mm)</h3>
<h3 class="tool-feiliao">首段料头损耗长度(mm):<span style="color:red;font-weight:bold;" id="BevelLossLength">@ViewBag.BevelLossLength</span>(mm)</h3>
<h3 class="tool-feiliao">每段切割损耗(mm):<span style="color:red;font-weight:bold;" id="CutFlanLength">@ViewBag.CutFlanLength</span>(mm)</h3>
</div>
</div>
</div>
<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-feiliao">流向选择:</h3>
<h3 class="tool-feiliao"><input id="flowQ" name="flowQ" type="checkbox" checked="checked">全部流向</h3>
<h3 class="tool-feiliao"><input id="flowL" name="flowL" type="checkbox"> L-长管装配</h3>
<h3 class="tool-feiliao"><input id="flowS" name="flowS" type="checkbox"> S-短管装配</h3>
<h3 class="tool-feiliao"><input id="flowW" name="flowW" type="checkbox"> W-弯管</h3>
<h3 class="tool-feiliao"><input id="flowX" name="flowX" type="checkbox"> X-小组装配</h3>
<h3 class="tool-feiliao"><input id="flowD" name="flowD" type="checkbox"> D-大组装配</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>
}