| | |
| | | barcode: '', |
| | | matnr: null, |
| | | matFocus: false, |
| | | selected: [], |
| | | } |
| | | },
|
| | | onLoad(option) {
|
| | | this.barcode = option.barcode
|
| | | let that = this |
| | | const eventChannel = this.getOpenerEventChannel()
|
| | | this.barcode = option.barcode; |
| | | eventChannel.once('acceptOpenPager', function(data){ |
| | | console.log(data); |
| | | that.selected = data |
| | | })
|
| | | },
|
| | |
|
| | | onShow() {
|
| | |
| | | success(result) {
|
| | | result = result.data
|
| | | if (result.code === 200 && result.data) {
|
| | | that.matData = result.data
|
| | | that.matData = result.data.filter(data => !that.selected.includes(data.matnr)); |
| | | that.matData['batch'] = ''
|
| | |
|
| | | } else if (result.code == 403) {
|