819527061@qq.com
2024-10-16 ea9873e11a265ae1d4188a50c7aadc29deec7574
无车牌查询
1个文件已修改
32 ■■■■ 已修改文件
src/components/page/IndexXTYH.vue 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/page/IndexXTYH.vue
@@ -389,24 +389,24 @@
      }
    },
    noCarOut(){
      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,
            });
          }
        })
      }else{
      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;
            }
          })
        }else{
          this.$message({
            message: '请输入手机号',
            type: 'error',
          });
        }
      }else {
        this.$message({
          message: '请输入手机号',
          message: '非法输入',
          type: 'error',
          duration:2000,
        });
      }