| | |
| | | combConfirm(type) { |
| | | this.msgType = type |
| | | this.title = '警告' |
| | | this.content = '是否现在组托!' |
| | | this.content = '是否现在补料出库!' |
| | | this.$refs.combConfirm.open() |
| | | }, |
| | | combClose() { |
| | |
| | | } |
| | | } |
| | | uni.request({ |
| | | url: that.baseUrl + '/mobile/comb/auth', |
| | | url: that.baseUrl + '/locComb/out/start', |
| | | data: JSON.stringify({ |
| | | barcode: that.barcode, |
| | | combMats: that.dataList |
| | | devpNo: that.floor, |
| | | list: that.newDataList, |
| | | locNo: that.barcode |
| | | }), |
| | | method: 'POST', |
| | | header: { |
| | |
| | | success(result) { |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | that.resst(); |
| | | that.messageText = "组托成功" |
| | | console.log(res); |
| | | that.dataList = [] |
| | | that.newDataList = [] |
| | | that.barcode = '' |
| | | that.floor = null |
| | | that.messageText = res.msg |
| | | that.messageToggle('success') |
| | | const innerAudioContext = uni.createInnerAudioContext(); |
| | | innerAudioContext.src = '/static/music/pakinOk.mp3'; |
| | | innerAudioContext.play() |
| | | that.barcodeFocuss() |
| | | } else if (res.code == 403) { |
| | | that.messageText = res.msg |
| | | that.messageToggle('error') |
| | |
| | | margin-top: 360rpx; |
| | | } |
| | | .list:last-child { |
| | | /* margin-bottom: 120rpx; */ |
| | | margin-bottom: 20rpx; |
| | | } |
| | | .code { |
| | | width: 100%; |