| | |
| | | icon: 'el-icon-search', |
| | | class: '', |
| | | type: 'primary', |
| | | onClick: function() { |
| | | this.search(); |
| | | onClick: function () { |
| | | this.search() |
| | | } |
| | | }, |
| | | { |
| | |
| | | icon: 'el-icon-plus', |
| | | value: 'Add', |
| | | class: '', |
| | | plain:true, |
| | | // type: 'success', |
| | | color:"#67C23A", |
| | | plain: true, |
| | | type: 'success', |
| | | // color: '#67C23A', |
| | | // plain:true, |
| | | onClick: function() { |
| | | this.add(); |
| | | onClick: function () { |
| | | this.add() |
| | | } |
| | | }, |
| | | { |
| | | name: '编辑', |
| | | icon: 'el-icon-edit', |
| | | value: 'Update', |
| | | plain:true, |
| | | plain: true, |
| | | class: '', |
| | | color:"#79bbff", |
| | | color: '#79bbff', |
| | | type: 'primary', |
| | | onClick: function() { |
| | | this.edit(); |
| | | onClick: function () { |
| | | this.edit() |
| | | } |
| | | }, |
| | | { |
| | | name: '删除', |
| | | icon: 'el-icon-delete', |
| | | class: '', |
| | | plain:true, |
| | | plain: true, |
| | | value: 'Delete', |
| | | type: 'danger', |
| | | color:"#F56C6C", |
| | | onClick: function() { |
| | | this.del(); |
| | | color: '#F56C6C', |
| | | onClick: function () { |
| | | this.del() |
| | | } |
| | | }, |
| | | { |
| | |
| | | value: 'Audit', |
| | | plain: true, |
| | | type: 'primary', |
| | | onClick: function() { |
| | | this.audit(); |
| | | onClick: function () { |
| | | this.audit() |
| | | } |
| | | }, |
| | | { |
| | |
| | | // plain: true, |
| | | // type: 'danger', |
| | | // color:"rgb(254, 240, 240)", |
| | | plain:true, |
| | | plain: true, |
| | | // type: 'success', |
| | | color:"#67C23A", |
| | | onClick: function() { |
| | | this.antiAudit(); |
| | | color: '#67C23A', |
| | | onClick: function () { |
| | | this.antiAudit() |
| | | } |
| | | }, |
| | | { |
| | |
| | | type: 'success', |
| | | plain: true, |
| | | value: 'Import', |
| | | onClick: function() { |
| | | this.import(); |
| | | onClick: function () { |
| | | this.import() |
| | | } |
| | | }, |
| | | { |
| | |
| | | type: 'primary', |
| | | plain: true, |
| | | value: 'Export', |
| | | onClick: function() { |
| | | this.export(); |
| | | onClick: function () { |
| | | this.export() |
| | | } |
| | | }, |
| | | { |
| | |
| | | icon: 'el-icon-printer', |
| | | type: 'primary', |
| | | plain: true, |
| | | color:"#529b2e", |
| | | color: '#529b2e', |
| | | value: 'Print', |
| | | onClick: function() { |
| | | this.printClick(); |
| | | 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; |
| | | export default buttons |