| | |
| | | <view class="itemstyle"> |
| | | <uni-forms label-width="180"> |
| | | <uni-forms-item label="åå§æçæ¡ç :"> |
| | | <uni-easyinput type="text" placeholder="è¯·æ«ææçæ¡ç " ref='midInput' :focus="!focus" v-model="soussAddress" |
| | | @input="barcodeInput" /> |
| | | <uni-easyinput type="text" placeholder="è¯·æ«ææçæ¡ç " ref='midInput' :focus="!focus" |
| | | v-model="soussAddress" @input="barcodeInput" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="ç®æ æçæ¡ç :"> |
| | | <uni-easyinput type="text" placeholder="è¯·æ«ææçæ¡ç " ref='midInput' :focus="!focus" v-model="targetAddress" |
| | | @input="barcodeInput" /> |
| | | <uni-easyinput type="text" placeholder="è¯·æ«ææçæ¡ç " ref='midInput' :focus="!focus" |
| | | v-model="targetAddress" @input="barcodeInput" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item> |
| | | <button @click="AGVTasks" type="primary" size="default" style="margin-top: 2%;">ç¡®è®¤å®æ</button> |
| | |
| | | focus: false, |
| | | soussAddress: "", |
| | | targetAddress: "", |
| | | warehouseId: "", |
| | | warehouseId: "", |
| | | } |
| | | }, |
| | | onShow() {}, |
| | | onLoad(res) { |
| | | this.focus = false; |
| | | this.warehouseId=res.warehouseId; |
| | | this.warehouseId = res.warehouseId; |
| | | }, |
| | | methods: { |
| | | barcodeInput() { |
| | |
| | | MainData: { |
| | | soussAddress: this.soussAddress, |
| | | targetAddress: this.targetAddress, |
| | | warehouseId:this.warehouseId, |
| | | warehouseId: this.warehouseId, |
| | | } |
| | | } |
| | | this.$u.post('/api/InboundOrder/SYMaterielGroup', postDate).then( |
| | | res => { |
| | | if (res.status) { |
| | | this.$refs.uToast.show({ |
| | | title: "ä»»å¡å建æåæå", |
| | | title: "åææå", |
| | | type: "success" |
| | | }) |
| | | this.barcode = ""; |
| | | this.soussAddress = ""; |
| | | this.targetAddress = ""; |
| | | } else { |
| | | this.$refs.uToast.show({ |
| | | title: res.message, |