Index.cshtml
10.2 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
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header
{
<script type="text/javascript" src="~/js/jQuery-2.1.4.min.js"></script>
<script type="text/javascript" src="/lib/signalr/dist/browser/signalr.js"></script>
<script type="text/javascript" src="~/js/jcanvas.js"></script>
<script type="text/javascript" src="~/js/echarts/echarts.js"></script>
<script type="text/javascript" src="/basejs/Common.js?v=2021.12.22"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/productjs/monitor/NouYouLocationMonitor.js?v=2022.6.23"></script>
<style>
#selectLoad {
height: 38px;
line-height: 1.3;
border-width: 1px;
border-style: solid;
border-color: #e6e6e6;
background-color: #fff;
width: 165px;
}
.select_Station {
height: 30px;
padding: 0 10px;
line-height: 36px;
}
</style>
}
<div id="inv" style="display: none; ">
<table id="mainList" class="layui-table"
lay-data="{height: 'full-1', cellMinWidth: 80, page:true, id:'mainList', limit: 20, limits: [20, 50, 100, 200, 500, 1000], defaultToolbar: ['filter']}"
lay-filter="mainList" lay-size="sm">
<thead>
<tr>
<th lay-data="{checkbox:true, fixed: true}"></th>
<th lay-data="{field:'Id', width:80, sort: true, fixed: false, hide: true}">id</th>
<th lay-data="{field:'LocationId', width:150, sort: true, fixed: false, hide: true}">库位id</th>
<th lay-data="{field:'LocationCode', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('LocationCode', 'Code', 'Name', d.LocationCode)}}">库位编号</th>
<th lay-data="{field:'ContainerCode', width:150, sort: true, fixed: false, hide: false}">容器编码</th>
<th lay-data="{field:'WarehouseType', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('WarehouseType', 'DictValue', 'DictLabel', d.WarehouseType)}}">仓库类型</th>
<th lay-data="{field:'SourceCode', width:150, sort: true, fixed: false, hide: true}">上游系统单号</th>
<th lay-data="{field:'SourceLine', width:150, sort: true, fixed: false, hide: true}">上游系统行号</th>
<th lay-data="{field:'MaterialId', width:150, sort: true, fixed: false, hide: true}">物料Id</th>
<th lay-data="{field:'MaterialCode', width:150, sort: true, fixed: false, hide: false}">物料编码</th>
<th lay-data="{field:'ReceiptId', width:150, sort: true, fixed: false, hide: true}">入库单id</th>
<th lay-data="{field:'CreateTime', width:150, sort: true, fixed: false, hide: false}">创建时间</th>
<th lay-data="{field:'Qty', width:80, sort: true, fixed: false, hide: false}">数量</th>
<th lay-data="{field:'Batch', width:80, sort: true, fixed: false, hide: false}">批次</th>
<th lay-data="{field:'OldBatch', width:150, sort: true, fixed: false, hide: false}">原始批次</th>
<th lay-data="{field:'Lot', width:130, sort: true, fixed: false, hide: false}">批号</th>
<th lay-data="{field:'Customer', width:150, sort: true, fixed: false, hide: false}">客户编号</th>
<th lay-data="{field:'Project', width:150, sort: true, fixed: false, hide: true}">客户订单单号</th>
<th lay-data="{field:'Specification', width:200, sort: true, fixed: false, hide: false}">规格</th>
<th lay-data="{field:'NameDescription', width:200, sort: true, fixed: false, hide: false}">品名</th>
<th lay-data="{field:'Size', width:120, sort: true, fixed: false, hide: false}">尺寸</th>
<th lay-data="{field:'NumberofSheets', width:100, sort: true, fixed: false, hide: false}">张数</th>
<th lay-data="{field:'Groupnum', width:100, sort: true, fixed: false, hide: false}">组数</th>
<th lay-data="{field:'StackingNumber', width:100, sort: true, fixed: false, hide: false}">错叠张数</th>
<th lay-data="{field:'Unit', width:70, sort: true, fixed: false, hide: false}">单位</th>
<th lay-data="{field:'Supplier', width:150, sort: true, fixed: false, hide: false}">供应商</th>
<th lay-data="{field:'ResidualWeight', width:100, sort: true, fixed: false, hide: false}">厚度</th>
<th lay-data="{field:'Retreat', width:150, sort: true, fixed: false, hide: false}">退料人</th>
<th lay-data="{field:'Checkud', width:150, sort: true, fixed: false, hide: false}">物料正反</th>
<th lay-data="{field:'Remark', width:150, sort: true, fixed: false, hide: false}">备注</th>
<th lay-data="{field:'ReceiptDetailId', width:150, sort: true, fixed: false, hide: true}">入库单明细id</th>
<th lay-data="{field:'Status', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('Status', 'DictValue', 'DictLabel', d.Status)}}">库存状态</th>
<th lay-data="{field:'ContainerStatus', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('ContainerStatus', 'DictValue', 'DictLabel', d.ContainerStatus)}}">容器状态</th>
<th lay-data="{field:'IsPack', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('IsPack', 'DictValue', 'DictLabel', d.IsPack)}}">是否打包</th>
<th lay-data="{field:'Combo', width:150, sort: true, fixed: false, hide: false}">叠板数量</th>
<th lay-data="{field:'IsFold', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('IsFold', 'DictValue', 'DictLabel', d.IsFold)}}">是否排版</th>
<th lay-data="{field:'ManufactureDate', width:150, sort: true, fixed: false, hide: true}">生产日期</th>
<th lay-data="{field:'ExpirationDate', width:150, sort: true, fixed: false, hide: true}">失效日期</th>
<th lay-data="{field:'TaskQty', width:150, sort: true, fixed: false, hide: false}">执行预定数量</th>
<th lay-data="{field:'CostPrice', width:150, sort: true, fixed: false, hide: true}">成本</th>
<th lay-data="{field:'ListPrice', width:150, sort: true, fixed: false, hide: true}">标价</th>
<th lay-data="{field:'NetPrice', width:150, sort: true, fixed: false, hide: true}">净价</th>
<th lay-data="{field:'ReceiptCode', width:150, sort: true, fixed: false, hide: false}">入库单编码</th>
<th lay-data="{field:'TaskStatus', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('TaskStatus', 'DictValue', 'DictLabel', d.TaskStatus)}}">任务状态</th>
<th lay-data="{field:'UpdateTime', width:150, sort: true, fixed: false, hide: false}">更新时间</th>
<th lay-data="{field:'CreateBy', width:150, sort: true, fixed: false, hide: true}">创建用户</th>
<th lay-data="{field:'UpdateBy', width:150, sort: true, fixed: false, hide: true}">更新用户</th>
</tr>
</thead>
</table>
</div>
<div>
<div class="layui-col-xs12 layui-col-md12">
<label id="lab" class="layui-col-xs12 layui-col-md12" style=" text-align:center ;font-weight:500;font-size:50px">立库侧面展示图</label>
</div>
<div class="layui-col-xs12">
<div class="layui-col-xs2" style="height:1px"></div>
<div class="layui-col-xs10">
<form class="layui-form layui-form-pane1" action="" lay-filter="first">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">巷道:</label>
<div class="layui-input-block">
<select name="roadway" lay-verify="required" lay-verType="tips" lay-filter="roadway">
<option>--请选择--</option>
<option value="1">铜箔库</option>
<option value="2">PP片</option>
<option value="3">PP卷</option>
</select>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">巷道列:</label>
<div class="layui-input-block">
<select id="line" name="line" lay-verify="required" lay-verType="tips" lay-filter="line">
<option>--请选择--</option>
</select>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label"></label>
<button class="layui-btn" lay-submit lay-filter="sv">查询侧面图</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
<div id="canvas_num_div" class="layui-col-xs12">
<canvas id="canvas_num" width="3000" height="50"></canvas>
</div>
<div id="canvas_op_div" class="layui-col-xs12">
<canvas id="canvas_op" width="3000" height="50"></canvas>
</div>
<div id="canvas_div" class="layui-col-xs12">
<canvas id="canvas_location" width="3000" height="800"></canvas>
</div>
<div id="table_div" class="layui-col-xs12">
<table id='table_loc'></table>
</div>
</div>
<div id="tanchuang" class="layui-tab-item" style="padding-left:40px;padding-top:20px;">
<div class="layui-row">
<div class="layui-col-sm6 layui-form-pane">
<label class="layui-form-label layui-col-sm3">站台</label>
<div class="layui-input-inline layui-col-sm6">
<select id="selectLoad"></select>
</div>
</div>
</div>
</div>