| | |
| | | 'token':uni.getStorageSync('token'), |
| | | }, |
| | | success(result) { |
| | | console.log('findBarcode:' + result.data); |
| | | let res = result.data; |
| | | if (res.code === 200) { |
| | | if (res.data.ioType === 101) { |
| | |
| | | }, 100); |
| | | return; |
| | | } |
| | | if (that.matCount == that.matList.length) { |
| | | uni.showToast({title: '请确认出库数量!', icon: "none",position: 'top'}) |
| | | return; |
| | | } |
| | | uni.request({ |
| | | url: that.commonUrl + '/mobile/pakout/confirm/pick/auth', |
| | | data: { |
| | |
| | | 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 |
| | | console.log(matnr); |
| | | if (matnr === that.matnr) { |
| | | that.messageToggle('warn'); |
| | | that.messageText = '该商品已添加'; |