| | |
| | | success(res) { |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | |
| | | if (res.data.records[0].locSts == 'O') { |
| | | _this.btnType = 'emptyPakin' |
| | | } else if (res.data.records[0].locSts == 'F') { |
| | |
| | | _this.reload.loadingText = '更新状态' |
| | | _this.getContainerType() |
| | | },500) |
| | | |
| | | _this.getWrkMast(res.data.records[0].barcode) |
| | | uni.showToast({ title: '更新成功!', icon: "none", position: 'top' }) |
| | | } else if (res.code == 403) { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(() => { uni.reLaunch({ url: '../login/login' }); }, 1000); |
| | |
| | | doContainerMoveOut() { |
| | | this.$refs.doContainerMoveOut.open() |
| | | }, |
| | | containerMoveOutC() { |
| | | containerMoveOutClose() { |
| | | this.$refs.doContainerMoveOut.close() |
| | | }, |
| | | containerMoveOut() { |
| | |
| | | success(res) { |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | this.$refs.doContainerMoveOut.close() |
| | | _this.$refs.doContainerMoveOut.close() |
| | | setTimeout(()=> { |
| | | _this.barcode = '' |
| | | _this.reloadStation() |