| 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
 | |  // {"msg":"操作成功","code":200,"data":"拣料出库(4426)\n源库位:1200101\n目标站:186\n1101842-10000-22047518517\n\n"}  |  |  // "拣料出库(4426)\n源库位:1200101\n目标站:186\n1101842-10000-22047518517\n\n"  |  | // {"msg":"操作成功", |  | //     "code":200, |  | //     "data":[{ |  | //         "title":"全板出库", |  | //         "workNo":7016, |  | //         "ioType":101, 101 全板出库  103 检料出库 |  | //         "staNo":181, |  | //         "sourceStaNo":null, |  | //         "locNo":null, |  | //         "sourceLocNo":"0900107", |  | //         "matDtos":[ |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22037502300","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22037505146","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027504801","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027507729","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027507727","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027507731","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027504807","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027504805","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027504797","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027504794","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027504791","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027504793","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22037505141","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027507728","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22027504810","count":1.0}, |  | //             {"matnr":"1100349-10000","maknx":"C5S-4-M03/333/KS","batch":"22037505148","count":1.0}], |  | //             "emptyMk":false}]}  |  |     getEEE() { |  |         var result = ycqdata.dataEEE |  |         let that = this |  |         let res = result.data |  |         if (res.data && res.data !== "") { |  |             that.title = '' |  |             that.staNo = '' |  |             that.pakinShow = false |  |             that.errorShow = true |  |             that.errorPaper = res.data |  |             that.move = false // 显示 |  |         } else { |  |             that.errorPaper = '' |  |             that.errorShow = false |  |             if (that.pakinShow) { |  |                 return; |  |             } else { |  |                 that.move = true // 隐藏 |  |             } |  |         } |  |     }, |  |     getYYY() { |  |         var result = ycqdata.dataYYY |  |         let that = this |  |         var newsData = '' |  |         var str = '' |  |         let res = result.data |  |         if(res.data && res.data !== null) { |  |             if (res.data[0].matDtos.length > 0) { |  |                 that.pakinShow = true |  |                 that.pakinGun = true |  |                 if (res.data[0].ioType === 101) { |  |                     that.title = '全板出库' |  |                 } else if(res.data[0].ioType === 103) { |  |                     that.title = '检料出库' |  |                 } |  |                 that.staNo = '目标站' + res.data[0].staNo |  |                 for (var i = 0; i < res.data[0].matDtos.length; i++) { |  |                     str = res.data[0].matDtos[i].matnr + ' - ' + res.data[0].matDtos[i].batch + '\n' |  |                     newsData = newsData + str  |  |                 } |  |                 if (that.errorShow) { |  |                     // that.pakinShow = false |  |                     return; |  |                 } else { |  |                     that.newspaper = newsData |  |                     that.move = false |  |                 } |  |                 if (res.data[0].matDtos.length <= 8) { |  |                     that.errorShow = true |  |                     that.pakinShow = true |  |                     that.pakinGun  = false |  |                 } |  |             } else { |  |                 that.move = true |  |                 } |  |         } else { |  |             that.move = true |  |         } |  |          |  |     }, | 
 |