| | |
| | | 'token':uni.getStorageSync('token'), |
| | | }, |
| | | success(result) { |
| | | console.log('findBarcode:' + result.data); |
| | | let res = result.data; |
| | | if (res.code === 200) { |
| | | if (res.data.ioType === 101) { |
| | |
| | | if(res.code === 200 ) { |
| | | var add = true |
| | | if(res.data) { |
| | | console.log(that.matnr); |
| | | for(let i = 0;i < that.matList.length; i++) { |
| | | var matnr = that.matList[i].matnr + '-' + that.matList[i].batch |
| | | if (matnr === that.matnr) { |
| | |
| | | that.barcode = ''; |
| | | that.matList = ''; |
| | | that.matList = []; |
| | | that.owner = ''; |
| | | that.barcodeFocuss(); |
| | | } else if (res.code == 403) { |
| | | uni.showToast({title: res.msg, icon: "none", position: 'top'}) |