| | |
| | | <uni-forms-item label="ä»»å¡ç¼å·"> |
| | | <uni-easyinput type="text" v-model="taskname" placeholder="请确认任å¡å·" ref='midInput':focus="addressFocus"/> |
| | | </uni-forms-item> |
| | | <!-- <uni-forms-item label="æçæ¡ç "> |
| | | <uni-forms-item label="ç©æç±»å"> |
| | | <uni-easyinput type="text" :focus="!addressFocus" v-model="inboundBarcode" |
| | | placeholder="è¯·æ«ææçæ¡ç " ref='midInput' @input="inputChangebarcode" /> |
| | | </uni-forms-item> --> |
| | | placeholder="è¯·æ«æç©æç±»å" ref='midInput' @input="inputChangebarcode" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="èµ·å§å°åæ¡ç "> |
| | | <uni-easyinput type="text" v-model="address" placeholder="è¯·æ«æèµ·å§å°åæ¡ç " ref='midInput' |
| | | :focus="addressFocus" /> |
| | |
| | | this.addressFocus = false; |
| | | this.orderNo = res.orderNo; |
| | | this.label = "åæ®ç¼å·ï¼" + this.orderNo; |
| | | this.taskname=res.orderNo; |
| | | this.getData(); |
| | | }, |
| | | methods: { |
| | |
| | | }) |
| | | }, |
| | | inbound() { |
| | | var postData = { |
| | | MainData: { |
| | | "barcode": this.inboundBarcode, |
| | | "startPoint": this.address, |
| | | "taskname":this.taskname, |
| | | } |
| | | var postData = { |
| | | MainData: { |
| | | "barcode": this.inboundBarcode, |
| | | "startPoint": this.address, |
| | | "taskname":this.taskname, |
| | | } |
| | | this.$u.post('/api/Task/RequestInbound', postData).then(res => { |
| | | if (res.status) { |
| | | uni.$showMsg("任塿·»å æå"); |
| | | this.inboundBarcode = ""; |
| | | this.address = ""; |
| | | this.taskname=""; |
| | | setTimeout(() => { |
| | | this.addressFocus = false; |
| | | }, 200); |
| | | } |
| | | this.$u.post('/api/Task/RequestInbound', postData).then(res => { |
| | | if (res.status) { |
| | | uni.$showMsg("任塿·»å æå"); |
| | | this.inboundBarcode = ""; |
| | | this.address = ""; |
| | | this.taskname=""; |
| | | setTimeout(() => { |
| | | this.addressFocus = false; |
| | | }, 200); |
| | | } else { |
| | | this.$refs.uToast.show({ |
| | | title: res.message, |