| | |
| | | <view class="itemstyle"> |
| | | <uni-forms label-width="120"> |
| | | <uni-forms-item label="ç¼åæ¶ç¼å·"> |
| | | <uni-easyinput type="text" v-model="stationcode" placeholder="请æ«çç¼åæ¶ç¼å·" ref='midInput':focus="addressFocus"/> |
| | | <!-- <uni-easyinput type="text" v-model="stationcode" placeholder="请æ«çç¼åæ¶ç¼å·" ref='midInput':focus="addressFocus"/> --> |
| | | <uni-easyinput type="text" :focus="!addressFocus" v-model="stationcode" |
| | | placeholder="请æ«çç¼åæ¶ç¼å·" ref='midInput' @input="inputChangebarcode" /> |
| | | </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> --> |
| | | <uni-forms-item label="æçç¼å·"> |
| | | <uni-easyinput type="text" v-model="PalletCode" placeholder="è¯·æ«ææçç¼å·" ref='midInput' |
| | | <uni-forms-item label="ç©æç±»å"> |
| | | <uni-easyinput type="text" v-model="PalletCode" placeholder="è¯·æ«æç©æç±»å" ref='midInput' |
| | | :focus="addressFocus" /> |
| | | </uni-forms-item> |
| | | <!-- <uni-forms-item label="ç»ç¹ç¼åä½åºå"> |
| | | <uni-data-select v-model="value" :localdata="rangs"></uni-data-select> |
| | | </uni-forms-item> --> |
| | | <uni-forms-item> |
| | | <button @click="inbound" type="primary" size="default" style="margin-top: 2%;">å
¥åºç¡®è®¤</button> |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <u-toast ref="uToast" /> |
| | | </view> |
| | | </template> |
| | |
| | | materSn: "", |
| | | sns: [], |
| | | addressFocus: false, |
| | | PalletCode:"", |
| | | PalletCode: "", |
| | | stationcode: "", |
| | | address: "", |
| | | check: true, |
| | | value: "", |
| | | matInfo: [], |
| | | value2: "", |
| | | matTotals: [] |
| | | matTotals: [], |
| | | rangs: [{ |
| | | value: "PVCåº", |
| | | text: "PVCåº" |
| | | }, |
| | | { |
| | | value: "æ å¤åº", |
| | | text: "æ å¤åº" |
| | | }, |
| | | { |
| | | value: "ç¡
ç·åº", |
| | | text: "ç¡
ç·åº" |
| | | }, |
| | | ], |
| | | } |
| | | }, |
| | | onShow() {}, |
| | |
| | | innerAudioContext.src = src; // '../../static/success.mp3'; |
| | | innerAudioContext.play(); |
| | | }, |
| | | |
| | | |
| | | updateFocus() { |
| | | this.$nextTick(() => { |
| | | this.materSn = ''; |
| | |
| | | MainData: { |
| | | "stationcode": this.stationcode, |
| | | "PalletCode": this.PalletCode, |
| | | // "PointName": this.value, |
| | | } |
| | | } |
| | | this.$u.post('/api/Task/InboundTask', postData).then(res => { |
| | |
| | | uni.$showMsg("任塿·»å æå"); |
| | | this.stationcode = ""; |
| | | this.PalletCode = ""; |
| | | // this.PointName = ";" |
| | | setTimeout(() => { |
| | | // this.materialtype = false; |
| | | }, 200); |