|
@@ -100,7 +100,7 @@
|
|
<div class="mui-popup-inner vongi-pop-inner">
|
|
<div class="mui-popup-inner vongi-pop-inner">
|
|
<div class="mui-popup-title">关闭申请理由</div>
|
|
<div class="mui-popup-title">关闭申请理由</div>
|
|
<div class="mui-popup-input">
|
|
<div class="mui-popup-input">
|
|
- <textarea id="textarea" rows="3" placeholder="该车位已被售出/租出" v-model="detail.reason"></textarea>
|
|
|
|
|
|
+ <textarea id="textarea" rows="3" placeholder="可输入关闭申请理由" v-model="detail.reason"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="mui-popup-buttons" ><span class="mui-popup-button"@click="show=0" >取消</span>
|
|
<div class="mui-popup-buttons" ><span class="mui-popup-button"@click="show=0" >取消</span>
|
|
@@ -157,7 +157,7 @@
|
|
detail: {
|
|
detail: {
|
|
id: this.$route.query.id,
|
|
id: this.$route.query.id,
|
|
actualFee:'',
|
|
actualFee:'',
|
|
- reason:'',
|
|
|
|
|
|
+ reason:'该车位已被售出/租出',
|
|
},
|
|
},
|
|
info: {},
|
|
info: {},
|
|
show:0,
|
|
show:0,
|
|
@@ -191,10 +191,6 @@
|
|
if(!this.detail.actualFee){
|
|
if(!this.detail.actualFee){
|
|
this.detail.actualFee=this.info.estimateFee;
|
|
this.detail.actualFee=this.info.estimateFee;
|
|
}
|
|
}
|
|
- if(!this.detail.reason){
|
|
|
|
- this.detail.reason='该车位已被售出/租出';
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
this.show=0;
|
|
this.show=0;
|
|
this.isLoading = true;
|
|
this.isLoading = true;
|
|
|
|
|
|
@@ -222,6 +218,10 @@
|
|
|
|
|
|
},
|
|
},
|
|
opClose(){
|
|
opClose(){
|
|
|
|
+ if(!this.detail.reason){
|
|
|
|
+ mui.toast("请填写关闭申请理由")
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
this.isLoading = true;
|
|
this.isLoading = true;
|
|
this.show=0;
|
|
this.show=0;
|
|
API.ParkingApplicationClose(this.detail).then(res => {
|
|
API.ParkingApplicationClose(this.detail).then(res => {
|