| | |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | | <button @click="submit" type="primary" size="default" style="margin-top: 2%;">éæ¾</button> |
| | | <u-toast ref="uToast" /> |
| | | <u-toast ref="BindluToast" /> |
| | | </view> |
| | | </view> |
| | | <view v-show="current === 1"> |
| | |
| | | istrue: false, |
| | | range: [], |
| | | value: "", |
| | | items: ['éæ¾ç¼åä½', 'æå
'], |
| | | items: ['éæ¾ç¼åä½'], //, 'æå
' |
| | | current: 0 |
| | | } |
| | | }, |
| | |
| | | } |
| | | }, |
| | | submit() { |
| | | if (this.value.length <= 0) { |
| | | this.$refs.uToast.show({ |
| | | if (this.value == "") { |
| | | this.$refs.BindluToast.show({ |
| | | title: "请è¾å
¥ç¼åç¹", |
| | | type: "error" |
| | | }) |
| | | return; |
| | | } |
| | | var param = { |
| | | MainData: { |
| | | matCode: this.value, |
| | | endPoint: this.value |
| | | } |
| | | } |
| | | this.$u.post('/api/AcrossFloorCarry/AcrossFloorCallMat', param).then(res => { |
| | | // var param = { |
| | | // MainData: { |
| | | // matCode: this.value, |
| | | // endPoint: this.value |
| | | // } |
| | | // } |
| | | this.$u.post('/api/PDA/AcrossFloorCallMat?Point=' + this.value, {}).then(res => { |
| | | if (res.status) { |
| | | this.$refs.uToast.show({ |
| | | this.$refs.BindluToast.show({ |
| | | title: "éæ¾æå", |
| | | type: "success" |
| | | }) |
| | | this.carNo = ""; |
| | | // this.carNo = ""; |
| | | this.value = ""; |
| | | this.locationNo = ""; |
| | | // this.locationNo = ""; |
| | | this.istrue = false; |
| | | } else { |
| | | this.$refs.uToast.show({ |
| | | this.$refs.BindluToast.show({ |
| | | title: res.message, |
| | | type: "error" |
| | | }) |