zhengkaixin 4 سال پیش
والد
کامیت
de373afb89
1فایلهای تغییر یافته به همراه12 افزوده شده و 4 حذف شده
  1. 12 4
      src/projects/business/views/Master/Property/Car/Info.vue

+ 12 - 4
src/projects/business/views/Master/Property/Car/Info.vue

@@ -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>
@@ -175,11 +175,13 @@
 				picker.setData([
 				picker.setData([
 					{
 					{
 						text:'线下收款',value:'1'
 						text:'线下收款',value:'1'
-					},
-					{
-						text:'推送账单',value:'2'
 					}
 					}
+
 				]);
 				]);
+			// ,
+			// 	{
+			// 		text:'推送账单',value:'2'
+			// 	}
 				picker.show((selectItems) => {
 				picker.show((selectItems) => {
 					this.payType = selectItems[0].value;
 					this.payType = selectItems[0].value;
 					this.payTypeN = selectItems[0].text;
 					this.payTypeN = selectItems[0].text;
@@ -189,7 +191,13 @@
 				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;
+
 				if(this.payType ==1){
 				if(this.payType ==1){
 					API.ParkingApplicationConfirmLease(this.detail).then(res => {
 					API.ParkingApplicationConfirmLease(this.detail).then(res => {
 						mui.toast("操作成功");
 						mui.toast("操作成功");