| | |
| | | placeholder="请è¾å
¥æçç¼ç " ref='midInput' /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="å
¥åºç«å°"> |
| | | <uni-easyinput type="text" :focus="!istrue" @input="carNoInputChange" v-model="Point" |
| | | <uni-easyinput type="text" :focus="istrue" v-model="Point" |
| | | placeholder="请è¾å
¥å
¥åºç«å°" ref='midInput' /> |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | |
| | | <view style="padding: 5%;"> |
| | | <uni-forms label-width="120"> |
| | | <uni-forms-item label="æçç¼ç "> |
| | | <uni-easyinput type="text" :focus="!istrue" @input="carNoInputChange" v-model="Barcode" |
| | | <uni-easyinput type="text" :focus="!barcodefocus" @input="inputChangebarcode" v-model="Barcode" |
| | | placeholder="请è¾å
¥æçç¼ç " ref='midInput' /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="å
¥åºç«å°"> |
| | | <uni-easyinput type="text" :focus="!istrue" @input="carNoInputChange" v-model="EndAddress" |
| | | <uni-easyinput type="text" :focus="barcodefocus" v-model="EndAddress" |
| | | placeholder="请è¾å
¥å
¥åºç«å°" ref='midInput' /> |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | |
| | | data() { |
| | | return { |
| | | istrue: false, |
| | | barcodefocus: false, |
| | | range: [], |
| | | EndAddress: "", |
| | | StartAddress: "", |
| | | PalletCode: "", |
| | | Point: "", |
| | | Barcode: "", |
| | | items: ['å
¥åº', 'æ½æ£ååº'], |
| | | items: ['å
¥åº', 'æ½æ£å
¥åº'], |
| | | current: 0 |
| | | } |
| | | }, |
| | |
| | | if (this.current != e.currentIndex) { |
| | | this.current = e.currentIndex; |
| | | } |
| | | }, |
| | | carNoInputChange() { |
| | | this.istrue = false; |
| | | this.$nextTick(function(x) { |
| | | if (this.barcode != '') { |
| | | this.istrue = true; |
| | | } |
| | | }) |
| | | }, |
| | | inputChangebarcode() { |
| | | this.barcodefocus = false; |
| | | this.$nextTick(function(x) { |
| | | if (this.barcode != '') { |
| | | this.barcodefocus = true; |
| | | } |
| | | }) |
| | | }, |
| | | InboundTask() { |
| | | if (this.PalletCode.length <= 0 && this.Point.length) { |
| | |
| | | } |
| | | this.$u.post('/api/PDA/SamplingInboundTask', param).then(res => { |
| | | if (res.status) { |
| | | // this.$refs.uToast.show({ |
| | | // title: "å¼å«Agvæ¬è¿æå", |
| | | // type: "success" |
| | | // }) |
| | | this.$refs.SamplingInboundTaskluToast.show({ |
| | | title: res.message, |
| | | type: "success" |
| | | }) |
| | | this.Barcode = ""; |
| | | this.EndAddress = ""; |
| | | this.istrue = false; |
| | | } else { |