| | |
| | | return; |
| | | } |
| | | uni.request({ |
| | | url: that.baseUrl + '/mobile/combBinging/auth', |
| | | url: that.baseUrl + '/agvMobile/combBinging/auth', |
| | | data: JSON.stringify({ |
| | | barcode: that.barcode, |
| | | stationCode: that.stationCode |
| | |
| | | 'token': uni.getStorageSync('token') |
| | | }, |
| | | success(result) { |
| | | console.log(result); |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | that.resst(); |
| | |
| | | // 确认重置 |
| | | resetConfirm() { |
| | | this.dataList = [] |
| | | this.stationCode = '' |
| | | this.messageText = "重置完成" |
| | | this.messageToggle('success') |
| | | }, |
| | |
| | | resst() { |
| | | this.dataList = [] |
| | | this.barcode = '' |
| | | this.stationCode = '' |
| | | this.barcodeFocuss() |
| | | }, |
| | | } |