|
@@ -12,7 +12,7 @@
|
|
|
</div>
|
|
|
<div class="mui-input-row">
|
|
|
<label>手机号码</label>
|
|
|
- <span class="color4fc5f7">{{info.telephone}}</span>
|
|
|
+ <span>{{info.telephone}}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="mui-input-row">
|
|
@@ -359,8 +359,13 @@
|
|
|
this.isLoading = true;
|
|
|
|
|
|
API.parkingUnit().then(response => {
|
|
|
- this.detail.unitId=response.unit.id;
|
|
|
- this.unitName=response.unit.name;
|
|
|
+ if(!response.unit){
|
|
|
+ mui.toast('未配置租用单位,请联系管理员');
|
|
|
+ }else{
|
|
|
+ this.detail.unitId=response.unit.id;
|
|
|
+ this.unitName=response.unit.name;
|
|
|
+ }
|
|
|
+
|
|
|
this.isLoading = false;
|
|
|
if(response.id){
|
|
|
this.issubmit=false;
|