PalletIn.cshtml
19.9 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header
{
<link rel="stylesheet" href="/css/treetable.css" />
}
<style type="text/css">
.layui-form-label1 {
display: table-cell;
padding: 9px 15px;
font-weight: bold;
line-height: 20px;
text-align: right;
font-size: 20px;
}
#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;
}
.layui-btn-sm {
height: 40px;
line-height: 40px;
padding: 0px 10px;
font-size: 19px;
}
.layui-input {
height: 40px;
font-size: 18px;
border: 1px solid rgba(0,0,0,.2);
}
#PalletForm {
position: relative;
margin: 5px auto;
width: 100%;
background: #fff;
border-radius: 25px;
/*padding-bottom: 55%;*/
box-shadow: 1px 3px 20px rgba(0,0,0,.2);
}
.btn {
text-align: center;
position: relative;
width: 100%;
padding-bottom: 20px;
padding-left: 10px;
}
.row {
margin: 10px auto;
}
.font {
font-size: 19px;
padding: 10px 15px;
font-weight: bold;
}
.c2 {
padding-bottom: 10px;
}
.not {
font-weight: bold;
font-size: 19px;
background-color: #eee;
}
.d1 {
padding-top:2px;
}
</style>
<div id="PalletForm" class="layui-row">
<div class="layui-col-xs12 layui-col-sm12">
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-col-xs11" style="padding-top:5px;display:none;">
<a herf="javascript:;" class="layui-btn layui-btn-lg layui-btn-primary layui-btn-radius" style="font-size: 20px;text-align: center;font-weight: bold;color:cornflowerblue" id="btnstation">请选择站台.....</a>
</div>
</div>
<form class="layui-form PalletForm" action="" lay-filter="PalletForm" id="PForm">
<div class="layui-col-xs12 layui-col-sm12 row">
<div class="layui-col-xs12 layui-col-sm12">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm12 c2">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">站台名:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="StationName" type="text" autocomplete="off" class="layui-input" style="color:red;">
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2" style="display:none;">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">站台号:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="StationCode" type="text" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">托盘号:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input onKeyUp="value=value.replace(/[\W]/g,'')" name="PalletId" type="text" autocomplete="off" class="layui-input" style="background-color:#eee;" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">二维码:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="ContainerId" type="text" autocomplete="off" class="layui-input" style="background-color:#eee;" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 TotalNum">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">物料数:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="TotalNum" type="text" class="layui-input not" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 SourceCode">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">单据号:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="SourceCode" v-model="SourceCode" type="text" class="layui-input not" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 MaterialNum">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">料号:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="MaterialNum" type="text" class="layui-input not" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 Lot">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">批号:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="Lot" type="text" class="layui-input not" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 Num">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">数量:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="Num" type="text" autocomplete="off" maxlength="50" class="layui-input not NumDecText" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 Batch">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">批次:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="Batch" type="text" class="layui-input not" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 Customer" style="display:none;">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">客户编号:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="Customer" type="text" autocomplete="off" maxlength="50" class="layui-input not" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 Typesetting" style="display:none;">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">排版数量:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="Typesetting" type="text" autocomplete="off" maxlength="50" class="layui-input not" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 Supplier" style="display:none;">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">供应商:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="Supplier" type="text" class="layui-input not" disabled>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12 c2 Project" style="display:none;">
<label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">流水号:</label>
<div class="layui-col-xs1" style="height:20px;"></div>
<div class="layui-input-inline layui-col-xs6 layui-col-sm8">
<input name="Project" type="text" class="layui-input not" disabled>
</div>
</div>
</div>
<div class="layui-col-xs12 layui-col-sm12" lay-filter="laybtn">
<div class="btn layui-row layui-col-sm12">
<div class="layui-col-xs12 layui-col-sm3 btnPalletIn" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal" style="width:75%; " id="btnPalletIn"><i class="layui-icon"></i>货物回库</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 btnEmpty">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 btnEmpty" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal btnEmpty" style="width:75%;" id="btnEmpty"><i class="layui-icon"></i>空托出库</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 TBbtnEmpty">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 TBbtnEmpty" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal TBbtnEmpty" style="width:75%;" id="TBbtnEmpty"><i class="layui-icon"></i>铜箔空托出库</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 PPbtnEmpty">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 PPbtnEmpty" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal PPbtnEmpty" style="width:75%;" id="PPbtnEmpty"><i class="layui-icon"></i>PP片空托出库</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 btnEmptyBack">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 btnEmptyBack" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal btnEmptyBack" style="width:75%;" id="btnEmptyBack" name="btnEmptyBack"><i class="layui-icon"></i>空托回库</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 btnEmptysBack">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 btnEmptysBack" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal btnEmptysBack" style="width:75%;" id="btnEmptysBack" name="btnEmptysBack"><i class="layui-icon"></i>空托组回库</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 btnEmptyStack">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 btnEmptyStack" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal btnEmptyStack" style="width:75%;" id="btnEmptyStack" name="btnEmptyStack"><i class="layui-icon"></i>空托叠盘</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 btnEmptysOut">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 btnEmptysOut" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal btnEmptysOut" style="width:75%;" id="btnEmptysOut" name="btnEmptysOut"><i class="layui-icon"></i>空托组出库</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 StationToStation">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 StationToStation" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal StationToStation" style="width:75%;display:none" id="StationToStation"><i class="layui-icon"></i>站台到站台</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 Check">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 Check" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal Check" style="width:75%;display:none" id="Check"><i class="layui-icon"></i>复核完成</a>
</div>
<div class="layui-col-xs12 layui-col-sm1 CleanInventry">
<br />
</div>
<div class="layui-col-xs12 layui-col-sm3 CleanInventry" style="padding-top:3px;">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal CleanInventry" style="width:75%;display:none" id="CleanInventry"><i class="layui-icon"></i>清除物料</a>
</div>
</div>
</div>
</form>
<div id="PalletEmptyIn" style="display:none;margin-left:2%;">
<form class="layui-form layui-form-pane" action="" lay-filter="PalletEmptyIn">
<div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;">
<label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">托盘类型</label>
<div class="layui-input-inline layui-col-sm8 layui-col-xs8">
<select name="Type" v-model="Type" data-model="Type" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform"></select>
</div>
</div>
</form>
</div>
<div id="Special" style="display:none;margin-left:2%;">
<form class="layui-form layui-form-pane" action="" lay-filter="PalletEmptyIn" id="attribute">
<div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;" id="isGood">
<label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">是否良品</label>
<div class="layui-input-inline layui-col-sm8 layui-col-xs8">
<select name="Products" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
<option value="good" selected="selected">良品</option>
<option value="scrap">不良品</option>
</select>
</div>
</div>
<div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;" id="Export">
<label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">是否打包</label>
<div class="layui-input-inline layui-col-sm8 layui-col-xs8">
<select name="IsPack" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
<option value="unpack" selected="selected">未打包</option>
<option value="Ispack">已打包</option>
</select>
</div>
</div>
<div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;" id="SelfUse">
<label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">是否排版</label>
<div class="layui-input-inline layui-col-sm8 layui-col-xs8">
<select name="IsFold" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
<option value="unflod" selected="selected">未排版</option>
<option value="Isflod">已排版</option>
</select>
</div>
</div>
<div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;display:none" id="PalletType">
<label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">托盘类型</label>
<div class="layui-input-inline layui-col-sm8 layui-col-xs8">
<select name="PalletType" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
<option value="s_1" selected="selected">小托盘</option>
<option value="s_2">大托盘</option>
</select>
</div>
</div>
<div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;display:none" id="Truss">
<label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">物料数量</label>
<div class="layui-input-inline layui-col-sm8 layui-col-xs8">
<select name="Truss" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
<option value="One" selected="selected">单物料托盘</option>
<option value="Two">双物料托盘</option>
</select>
</div>
</div>
<div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;" id="Height">
<label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">装箱大小</label>
<div class="layui-input-inline layui-col-sm8 layui-col-xs8">
<select name="Height" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
<option value="0" selected="selected">请选择</option>
<option value="1" >大箱子</option>
<option value="2">小箱子</option>
</select>
</div>
</div>
</form>
</div>
<div id="SelectType" style="display:none;">
<form class="layui-form " id="attribute2">
<div class="layui-field-box">
<select name="WoodType" class="Selector_WoodType ClearSelector_WoodType" lay-filter="eform">
<option value="SWP1" selected="selected">小木板(小)</option>
<option value="SWP2">小木板(中)</option>
<option value="SWP3">小木板(大)</option>
<option value="BWP1">大木板(小)</option>
<option value="BWP2">大木板(中)</option>
<option value="BWP3">大木板(大)</option>
</select>
</div>
</form>
</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>
</div>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/productjs/task/PalletIn.js?v=2023.08.14"></script>
<script type="text/javascript" src="/basejs/Common.js?v=2019.08.19"></script>