| 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
 | | let buttons = [ |  |   { |  |     name: '查询', |  |     value: 'Search', |  |     icon: 'el-icon-search', |  |     class: '', |  |     type: 'primary', |  |     onClick: function () { |  |       this.search() |  |     } |  |   }, |  |   { |  |     name: '新建', |  |     icon: 'el-icon-plus', |  |     value: 'Add', |  |     class: '', |  |     plain: true, |  |     type: 'success', |  |     // color: '#67C23A', |  |     // plain:true, |  |     onClick: function () { |  |       this.add() |  |     } |  |   }, |  |   { |  |     name: '编辑', |  |     icon: 'el-icon-edit', |  |     value: 'Update', |  |     plain: true, |  |     class: '', |  |     color: '#79bbff', |  |     type: 'primary', |  |     onClick: function () { |  |       this.edit() |  |     } |  |   }, |  |   { |  |     name: '删除', |  |     icon: 'el-icon-delete', |  |     class: '', |  |     plain: true, |  |     value: 'Delete', |  |     type: 'danger', |  |     color: '#F56C6C', |  |     onClick: function () { |  |       this.del() |  |     } |  |   }, |  |   { |  |     name: '审核', |  |     icon: 'el-icon-check', |  |     class: '', |  |     value: 'Audit', |  |     plain: true, |  |     type: 'primary', |  |     onClick: function () { |  |       this.audit() |  |     } |  |   }, |  |   { |  |     name: '反审', |  |     icon: 'el-icon-finished', |  |     class: '', |  |     value: 'AntiAudit', |  |     // plain: true, |  |     // type: 'danger', |  |     // color:"rgb(254, 240, 240)", |  |     plain: true, |  |     // type: 'success', |  |     color: '#67C23A', |  |     onClick: function () { |  |       this.antiAudit() |  |     } |  |   }, |  |   { |  |     name: '导入', |  |     icon: 'el-icon-top', |  |     class: '', |  |     type: 'success', |  |     plain: true, |  |     value: 'Import', |  |     onClick: function () { |  |       this.import() |  |     } |  |   }, |  |   { |  |     name: '导出', |  |     icon: 'el-icon-bottom', |  |     type: 'primary', |  |     plain: true, |  |     value: 'Export', |  |     onClick: function () { |  |       this.export() |  |     } |  |   }, |  |   { |  |     name: '打印', |  |     icon: 'el-icon-printer', |  |     type: 'primary', |  |     plain: true, |  |     color: '#529b2e', |  |     value: 'Print', |  |     onClick: function () { |  |       this.printClick() |  |     } |  |   },{ |  |     name: '任务完成', |  |     // icon: 'el-icon-printer', |  |     type: 'primary', |  |     // plain: true, |  |     // color: '#529b2e', |  |     value: 'TaskHandComplete', |  |     onClick: function () { |  |        |  |     } |  |   },{ |  |     name: '直接出库', |  |     // icon: 'el-icon-printer', |  |     type: 'primary', |  |     // plain: true, |  |     // color: '#529b2e', |  |     value: 'OutBound', |  |     onClick: function () { |  |        |  |     } |  |   },{ |  |     name: '初始化库位', |  |     type: 'primary', |  |     // color: '#529b2e', |  |     value: 'initializeLocation', |  |     onClick: function () { |  |        |  |     } |  |      |  |   },{ |  |     name: '补录数据', |  |     type: 'primary', |  |     // color: '#529b2e', |  |     value: 'SupplementationData', |  |     onClick: function () { |  |        |  |     } |  |   } |  | ] |  |   |  | export default buttons | 
 |