| | |
| | | </view> |
| | | <view class="btn"> |
| | | <button class="btn-left" @click="processedClose">取消</button> |
| | | <button class="btn-right" @click="processedConfirm()" :disabled="processedDis">确认离场</button> |
| | | <button class="btn-right" @click="processedConfirm()" :disabled="processedDis">加工完成</button> |
| | | </view> |
| | | </view> |
| | | </uni-popup> |
| | |
| | | }, |
| | | emptyPakinConfirm() { |
| | | let _this = this; |
| | | this.barcode = this.barcode.replace(/\s+/g, '') |
| | | _this.emptyPakinDis = true |
| | | if (this.barcode.length != 6) { |
| | | _this.emptyPakinDis = false |
| | |
| | | }); |
| | | }, |
| | | processed() { |
| | | this.$refs.process.open() |
| | | let _this = this |
| | | uni.navigateTo({ |
| | | url: './confirmProcessed', |
| | | success(res) { |
| | | res.eventChannel.emit('item', { |
| | | item: _this.wrkDetls |
| | | }) |
| | | }, |
| | | // events: { |
| | | // acceptDataFromOpenedPage: function(data) { |
| | | // _this.getOrderDetlList(this.searchValue1,10) |
| | | // } |
| | | // } |
| | | }) |
| | | }, |
| | | // processed() { |
| | | // this.$refs.process.open() |
| | | // }, |
| | | processedClose() { |
| | | this.$refs.process.close() |
| | | }, |
| | |
| | | that.barcode = '' |
| | | that.reloadStation() |
| | | },1000) |
| | | uni.showToast({ title: '退库任务申请成功', icon: "success", position: 'top' }) |
| | | uni.showToast({ title: '操作成功', icon: "success", position: 'top' }) |
| | | } else if (res.code == 403) { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); |