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
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
| <template>
| <view class="content">
| <view class="header">智云L-MES制造执行系统</view>
| <view class="mains">
| <view class="box" v-for="(item,index) in itemData" :key="index" @tap="toUrl(item)">
| <image :src="item.img" mode=""></image>
| <view class="texts">
| {{item.text}}
| </view>
| </view>
| </view>
|
| <vers></vers>
| </view>
| </template>
|
| <script>
| import vers from './vers.vue';
| export default {
| components: {
| vers
| },
| data() {
| return {
| serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
| itemData: [{
| img: '../../static/icon/icon8.png',
| text: '采购订单标签',
| url: '/pages/caigoudingdan/caigoudingdan',
| id: 1
| },{
| img: '../../static/icon/icon4.png',
| text: '采购订单子标签',
| url: '/pages/tiaomadaying/tiaomadaying',
| id: 2,
| },{
| img: '../../static/icon/icon11.png',
| text: '收料通知单标签',
| url: '/pages/shouliaotongzhi/table',
| id: 3,
| },{
| img: '../../static/icon/icon17.png',
| text: '采购入库新增',
| url: '/pages/caigouruku/form?OperationType=1',
| id: 4,
| },{
| img: '../../static/icon/icon20.png',
| text: '采购退料新增',
| url: '/pages/caigoutuiliao/form?OperationType=1',
| id: 5,
| },{
| img: '../../static/icon/icon32.png',
| text: '直接调拨新增',
| url: '',
| id: 6,
| },{
| img: '../../static/icon/icon30.png',
| text: '生产领料新增',
| url: '/pages/shengchanlingliaoshengdan/form?OperationType=1',
| id: 7,
| },{
| img: '../../static/icon/icon31.png',
| text: '生产补料新增',
| url: '',
| id: 8,
| },{
| img: '../../static/icon/icon17.png',
| text: '生产入库新增',
| url: '',
| id: 9,
| },{
| img: '../../static/icon/icon30.png',
| text: '委外领料新增',
| url: '',
| id: 10,
| },{
| img: '../../static/icon/icon17.png',
| text: '其他入库新增',
| url: '/pages/qitaruku/form?OperationType=1',
| id: 11,
| },{
| img: '../../static/icon/icon18.png',
| text: '其他出库新增',
| url: '/pages/qitachuku/form?OperationType=1',
| id: 12,
| },{
| img: '../../static/icon/icon18.png',
| text: '销售出库新增',
| url: '/pages/xiaoshouchuku/form?OperationType=1',
| id: 13,
| },{
| img: '../../static/icon/icon19.png',
| text: '销售退货新增',
| url: '/pages/xiaoshoutuihuo/form?OperationType=1',
| id: 14,
| },{
| img: '../../static/icon/icon30.png',
| text: '生产领料检验',
| url: '/pages/shengchanlingliao/form?OperationType=1',
| id: 15,
| },{
| img: '../../static/icon/icon31.png',
| text: '生产补料校验',
| url: '/pages/shengchanbuliaojiaoyan/form?OperationType=1',
| id: 16,
| },{
| img: '../../static/icon/icon32.png',
| text: '生产调拨校验',
| url: '/pages/shengchandiaobo/form?OperationType=1',
| id: 17,
| },{
| img: '../../static/icon/icon18.png',
| text: '其他出库校验',
| url: '/pages/qitachukujiaoyan/detail?OperationType=1',
| id: 18,
| },{
| img: '../../static/icon/icon17.png',
| text: '生产入库校验',
| url: '/pages/shengchanruku/form?OperationType=1',
| id: 19,
| },{
| img: '../../static/icon/icon18.png',
| text: '销售出库校验',
| url: '/pages/xiaoshouchukujiaoyan/form?OperationType=1',
| id: 20,
| },{
| img: '../../static/icon/icon30.png',
| text: '委外领料校验',
| url: '/pages/weiwailingliaojiaoyan/form?OperationType=1',
| id: 21,
| }],
| // itemData: [{
| // img: '../../static/icon/icon1.png',
| // text: '设备档案',
| // url: '/pages/shebeidangan/table',
| // id: 1
| // }, {
| // img: '../../static/icon/icon8.png',
| // text: '设备履历',
| // url: '/pages/shebeilvli/table',
| // id: 0,
| // }, {
| // img: '../../static/icon/icon2.png',
| // text: '设备保养计划单',
| // url: '/pages/baoyangjihua/table',
| // id: 2
| // }, {
| // img: '../../static/icon/icon3.png',
| // text: '设备保养记录单',
| // url: '/pages/baoyangjilu/table',
| // id: 3
| // }, {
| // img: '../../static/icon/icon4.png',
| // text: '设备点检计划单',
| // url: '',
| // id: 4
| // }, {
| // img: '../../static/icon/icon5.png',
| // text: '设备点检记录单',
| // url: '',
| // id: 5,
| // }, {
| // img: '../../static/icon/icon6.png',
| // text: '设备故障登记表',
| // url: '/pages/guzhangdengji/table',
| // id: 6
| // }, {
| // img: '../../static/icon/icon7.png',
| // text: '设备维修记录单',
| // url: '/pages/shebeiweixiu/table',
| // id: 7,
| // // },{
| // // img:'../../static/icon/icon8.png',
| // // text:'设备履历',
| // // url:'/pages/shebeilvli/table',
| // // id:8,
| // }, {
| // img: '../../static/icon/icon9.png',
| // text: '工序进站接收单',
| // url: '/pages/gongxuIn/table',
| // id: 9,
| // }, {
| // img: '../../static/icon/icon10.png',
| // text: '工序出站汇报单',
| // url: '/pages/gongxuOut/table',
| // id: 10,
| // }, {
| // img: '../../static/icon/icon11.png',
| // text: '工序委外发出单',
| // url: '/pages/weiwaigxIn/table',
| // id: 11,
| // }, {
| // img: '../../static/icon/icon12.png',
| // text: '工序委外接收单',
| // url: '/pages/weiwaigxOut/table',
| // id: 12,
| // // }, {
| // // img: '../../static/icon/icon13.png',
| // // text: '设备管理',
| // // url: '/pages/shebeiguanli/table',
| // // id: 13,
| // }, {
| // img: '../../static/icon/icon14.png',
| // text: '报工平台',
| // url: '/pages/baogong/table',
| // id: 14,
| // }, {
| // img: '../../static/icon/icon15.png',
| // text: '异常反馈单',
| // url: '/pages/yichang/table',
| // id: 15,
| // }, {
| // img: '../../static/icon/icon16.png',
| // text: '异常反馈处理单',
| // url: '/pages/yichang/list',
| // id: 16,
| // }, {
| // img: '../../static/icon/icon17.png',
| // text: '采购入库',
| // url: '/pages/caigouruku/table',
| // id: 17,
| // }, {
| // img: '../../static/icon/icon18.png',
| // text: '采购退料',
| // url: '/pages/caigoutuiliao/table',
| // id: 18,
| // }, {
| // img: '../../static/icon/icon19.png',
| // text: '销售出库',
| // url: '/pages/xiaoshouchuku/table',
| // id: 19,
| // }, {
| // img: '../../static/icon/icon20.png',
| // text: '销售退货',
| // url: '/pages/xiaoshoutuihuo/table',
| // id: 20,
| // }, {
| // img: '../../static/icon/icon21.png',
| // text: '收料通知单',
| // url: '/pages/shouliaotongzhi/table',
| // id: 21,
| // },{
| // img: '../../static/icon/icon30.png',
| // text: '生产领料校验',
| // url: '/pages/shengchanlingliao/table',
| // id: 30,
| // },{
| // img: '../../static/icon/icon31.png',
| // text: '生产入库校验',
| // url: '/pages/shengchanruku/table',
| // id: 31,
| // },{
| // img: '../../static/icon/icon32.png',
| // text: '生产调拨校验',
| // url: '/pages/shengchandiaobo/table',
| // id: 32,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '标签打印',
| // url: '/pages/labelPrinter/index',
| // id: 22,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '设备运行状态',
| // url: '/pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai',
| // id: 23,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '模具运行状态',
| // url: '/pages/mujvzhuangtai/mujvzhuangtai',
| // id: 24,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '条码拆码',
| // url: '/pages/tiaomachaima/tiaomachaima',
| // id: 25,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '其他入库',
| // url: '/pages/qitaruku/qitaruku',
| // id: 26,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '其他出库',
| // url: '/pages/qitachuku/qitachuku',
| // id: 27,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '来料条码打印',
| // url: '/pages/tiaomadaying/tiaomadaying',
| // id: 28,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '上模单',
| // url: '/pages/MJGL/shangmudan/table',
| // id: 29,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '采购订单',
| // url: '/pages/caigoudingdan/caigoudingdan',
| // id: 30,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '其他出库校验',
| // url: '/pages/qitachukujiaoyan/qitachukujiaoyan',
| // id: 31,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '生产补料校验',
| // url: '/pages/shengchanbuliaojiaoyan/CacheList',
| // id: 32,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '销售出库校验',
| // url: '/pages/xiaoshouchukujiaoyan/table',
| // id: 33,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '委外领料校验',
| // url: '/pages/weiwailingliaojiaoyan/table',
| // id: 34,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '采购入库校验',
| // url: '/pages/caigourukujiaoyan/table',
| // id: 35,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '其他入库校验',
| // url: '/pages/qitarukujiaoyan/table',
| // id: 36,
| // },
| // {
| // img: '../../static/icon/icon16.png',
| // text: '委外补料校验',
| // url: '/pages/weiwaibuliaojiaoyan/table',
| // id: 37,
| // },
| // {
| // img: '../../static/icon/icon17.png',
| // text: '生产领料',
| // url: '/pages/shengchanlingliaoshengdan/table',
| // id: 38,
| // },
| // ]
| }
| },
| onLoad() {
|
| },
| methods: {
| toUrl(item) {
| if (item.url) {
| uni.navigateTo({
| url: item.url
| })
| } else {
| uni.showToast({
| title:'功能开发中。。。',
| icon:'none'
| })
| }
| }
| }
| }
| </script>
|
| <style lang="scss" scoped>
| .header {
| width: 750rpx;
| background: linear-gradient(0deg, #71AFFC 0%, #3A78FF 100%);
| font-size: 47rpx;
| font-weight: bold;
| color: #FFFFFF;
| text-align: center;
| padding: 9vh 0 6vh 0;
| }
|
| .mains {
| width: 720rpx;
| margin: 0 auto;
| display: flex;
| flex-wrap: wrap;
| margin-top: 3vh;
| padding-bottom: 5vh;
|
| .box {
| width: 25%;
| margin-top: 2.5vh;
| text-align: center;
|
| image {
| width: 18vw;
| height: 18vw;
| }
|
| .texts {
| width: 120rpx;
| margin: 0 auto;
| font-size: 29rpx;
| font-weight: normal;
| color: #333333;
| margin-top: .2vh;
| }
| }
| }
| </style>
|
|