| | |
| | | // barcode input 事件 |
| | | barcodeInput() { |
| | | let _this = this |
| | | let barcode = this.barcode.split(",") |
| | | _this.barcode = barcode[0] |
| | | // let barcode = this.barcode.split(",") |
| | | // _this.barcode = barcode[0] |
| | | // let batch = barcode[0] |
| | | uni.request({ |
| | | url: _this.baseUrl + '/mobile/wrkDetl/search/batch/auth', |
| | |
| | | comb() { |
| | | let that = this; |
| | | uni.request({ |
| | | url: that.baseUrl + '/mobile/order/search/orderNo/auth', |
| | | url: that.baseUrl + '/mobile/order/search/batch/auth', |
| | | data: that.barcode, |
| | | method: 'POST', |
| | | header: {'token': uni.getStorageSync('token')}, |
| | |
| | | let res = result.data |
| | | if (res.code === 200) { |
| | | that.dataList = [] |
| | | this.barcode = '' |
| | | that.barcode = '' |
| | | that.messageText = "确认成功" |
| | | that.messageToggle('success') |
| | | } else if (res.code == 403) { |