|
@@ -43,7 +43,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="fyy-footer" v-if="step==1" >
|
|
<div class="fyy-footer" v-if="step==1" >
|
|
- <div class="bindfyy-btn"><button class="mui-btn mui-btn-primary " @click="submit()">提交</button></div>
|
|
|
|
|
|
+ <div class="bindfyy-btn"><button class="mui-btn mui-btn-primary " v-if="issubmit" @click="submit()">提交</button></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@@ -115,6 +115,7 @@
|
|
num:'',
|
|
num:'',
|
|
unitId:'',
|
|
unitId:'',
|
|
},
|
|
},
|
|
|
|
+ issubmit:true,
|
|
carName:"请选择",
|
|
carName:"请选择",
|
|
unitName:'月',
|
|
unitName:'月',
|
|
map:null,
|
|
map:null,
|
|
@@ -294,7 +295,10 @@
|
|
this.detail.unitId=response.unit.id;
|
|
this.detail.unitId=response.unit.id;
|
|
this.unitName=response.unit.name;
|
|
this.unitName=response.unit.name;
|
|
this.isLoading = false;
|
|
this.isLoading = false;
|
|
-
|
|
|
|
|
|
+ if(response.id){
|
|
|
|
+ this.issubmit=false;
|
|
|
|
+ mui.toast("您已有一条待处理的车位申请记录");
|
|
|
|
+ }
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
this.isLoading = false;
|
|
this.isLoading = false;
|
|
mui.toast(error);
|
|
mui.toast(error);
|