| | |
| | | } |
| | | }, |
| | | noCarOut(){ |
| | | if(this.oldCarNo == '无车牌'){ |
| | | if(this.carNo){ |
| | | this.$byutil.postData(this, this.$systemconfig.basePath + '/outPark/outPark2', {code2:this.code2,carNo:this.carNo}, res => { |
| | | if(res.success){ |
| | | this.outParkId = res.data.id; |
| | | this.pay(); |
| | | this.showFlag = false; |
| | | }else{ |
| | | this.$message({ |
| | | message: res.msg, type: 'error', duration:2000, |
| | | }); |
| | | this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/car/outParkByPhone', {code2:this.code2,carNo:this.carNo}, res => { |
| | | if(res.code===0){ |
| | | this.statisticData = res.data; |
| | | this.outParkId = this.statisticData.id; |
| | | } |
| | | |
| | | }) |
| | | }else{ |
| | | this.$message({ |
| | | message: '请输入手机号', |
| | | type: 'error', |
| | | duration:2000, |
| | | }); |
| | | } |
| | | }else { |
| | | this.$message({ |
| | | message: '非法输入', |
| | | type: 'error', |
| | | }); |
| | | } |
| | | |