| | |
| | | } |
| | | }, |
| | | inbound() { |
| | | // æåè¾å
¥æ¡çå¼ |
| | | const sourceAddress = this.sourceAddress; |
| | | |
| | | if (sourceAddress == "") { |
| | | this.$t.message.toast('è¯·éæ©èµ·ç¹ä½ç½®'); |
| | | return; |
| | | var postData = { |
| | | MainData: { |
| | | "sourceAddress": this.sourceAddress, |
| | | } |
| | | } |
| | | // æåè¾å
¥æ¡çå¼ |
| | | // const sourceAddress = this.sourceAddress; |
| | | |
| | | // if (sourceAddress == "") { |
| | | // this.$t.message.toast('è¯·éæ©èµ·ç¹ä½ç½®'); |
| | | // return; |
| | | // } |
| | | // console.log(Exception); |
| | | this.$u.post('/api/PDA/OutBoundTask', sourceAddress).then(res => { |
| | | this.$u.post('/api/PDA/OutBoundTask', postData).then(res => { |
| | | this.$t.message.closeLoading(); |
| | | if (res.code == 0) { |
| | | if (res.code == 200) { |
| | | this.$t.message.toast('å¼å«æå'); |
| | | this.sourceAddress = ""; |
| | | // this.$refs.popup.close(); |
| | | // this.$refs.popup.close(); |
| | | // this.submit(); |
| | | } else { |
| | | this.$t.message.toast(res.message); |
| | |
| | | }) |
| | | }) |
| | | }, |
| | | |
| | | |
| | | inputChangebarcode() { |
| | | this.addressFocus = false; |
| | | this.$nextTick(function(x) { |