| | |
| | | <uni-easyinput type="text" v-model="addressEmpty" placeholder="è¯·æ«æå°åæ¡ç " ref='midInput' |
| | | :focus="addressEmptyFocus" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="å ç/ç«åº"> |
| | | <uni-data-checkbox v-model="target" :localdata="targetAddress" style="margin-top: 5px;"/> |
| | | </uni-forms-item> |
| | | <uni-forms-item> |
| | | <button @click="inEmpty" type="primary" size="default" style="margin-top: 2%;">å
¥åºç¡®è®¤</button> |
| | | <button @click="inEmpty" type="primary" size="default" style="margin-top: 2%;">å¼å«ç¡®è®¤</button> |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | | </view> |
| | | </view> |
| | | <view v-if="current === 2" class="headerstyle"> |
| | | |
| | | <view class="itemstyle"> |
| | | <uni-forms label-width="120"> |
| | | <uni-forms-item label="ç©æç¼ç "> |
| | |
| | | bindCode: "", |
| | | rfidCode: "", |
| | | rfid:"", |
| | | targetAddress: [{ |
| | | text: 'å ç', |
| | | value: 0 |
| | | }, { |
| | | text: 'ç«åº', |
| | | value: 1 |
| | | }], |
| | | target: 0, |
| | | outCount: 0, |
| | | addressEmptyFocus: false, |
| | | startPointRange: [] |
| | |
| | | } else { |
| | | this.addressEmptyFocus = false; |
| | | } |
| | | |
| | | if (this.inboundCode) { |
| | | this.addressEmptyFocus = true; |
| | | } else { |
| | | this.addressEmptyFocus = false; |
| | | } |
| | | }, |
| | | inEmpty() { |
| | | if (this.emptyCode == "") { |
| | |
| | | }) |
| | | return; |
| | | } |
| | | var url = "?barCode=" + this.emptyCode + "&startPoint=" + this.addressEmpty; |
| | | var url = "?barCode=" + this.emptyCode + "&startPoint=" + this.addressEmpty + "&target=" + this.target; |
| | | this.$u.post('/api/Task/EmptyBackTask' + url, {}).then(res => { |
| | | if (res.status) { |
| | | this.emptyCode = ""; |
| | | this.addressEmpty = ""; |
| | | this.target=0; |
| | | this.addressEmptyFocus=false; |
| | | //è·åæ»æ°é |
| | | setTimeout(() => { |
| | | this.addressEmptyFocus = false; |