kongdeqiang
2023-09-12 eadd5784244d98dca21e5788440004432af8e803
src/components/page/Index2.vue
@@ -76,6 +76,7 @@
                showFlag2:true,
                status3:0,
                carNo:"",
                oldCarNo:"",
                code2:""
            }
        },
@@ -93,6 +94,7 @@
                this.statisticData = res.data;
                this.outParkId = this.statisticData.id;
                this.status3 = this.statisticData.status3;
                this.oldCarNo = this.statisticData.carNo;
                this.payFlag = false
                if(this.status3==1){
                    this.$message({
@@ -120,19 +122,27 @@
                })
            },
            noCarOut(){
                if(this.carNo){
                if(this.oldCarNo == '无车牌'){
                  if(this.carNo){
                    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;
                        }
                      if(res.code===0){
                        this.statisticData = res.data;
                        this.outParkId = this.statisticData.id;
                      }
                    })
                }else{
                  }else{
                    this.$message({
                        message: '请输入手机号',
                        type: 'error',
                      message: '请输入手机号',
                      type: 'error',
                    });
                  }
                }else {
                  this.$message({
                    message: '非法输入',
                    type: 'error',
                  });
                }
            },
        }
    }