| | |
| | | }, |
| | | barcodeInput() { |
| | | // 不设置定时器 会出现扫入的字符串不全 |
| | | this.barcode = this.barcode.split('_')[1] |
| | | setTimeout(() => { |
| | | var len = this.barcode.length |
| | | let len = this.barcode.length |
| | | if (len != 10) { |
| | | uni.showToast({ |
| | | title: '托盘码有误请重试', |
| | | title: '料箱码有误请重试', |
| | | icon: "none", |
| | | position: 'top' |
| | | }); |
| | |
| | | return; |
| | | } |
| | | } |
| | | console.log(that.dataList); |
| | | uni.request({ |
| | | url: that.baseUrl + '/agvMobile/comb/auth', |
| | | data: JSON.stringify({ |
| | |
| | | selectMat() { |
| | | let that = this |
| | | uni.navigateTo({ |
| | | url: "../mat/matQuery", |
| | | url: "../../mat/matQuery", |
| | | success: function(res) { |
| | | // 通过eventChannel向被打开页面传送数据 向另外一个页面传递值的 |
| | | res.eventChannel.emit('commonUrl', { |