zhengkaixin пре 2 година
родитељ
комит
a5cf1eefd3

+ 7 - 1
pages/login/completeInfo.vue

@@ -20,7 +20,7 @@
 				</u-form>
 			</view>
 			<p class="car-num"  @tap="keyShow=!keyShow" >车牌号码<span style="color: #9e9e9e;float: right;padding-right: 10px;">(点击唤起键盘)</span></p>
-			
+			<p class="car-num" style="padding: 10px 0 0 40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
 			
 			<view class="key-input"
 			 
@@ -243,6 +243,12 @@
 				}
 			},
 			keepCar() {
+				if(this.form.carNum.length != 8) {
+					uni.showToast({
+						title:"请填写新能源车牌"
+					})
+					return
+				}
 				//(this.form)
 				uni.showLoading({
 					title: "加载中",

+ 3 - 0
pages/search/search.vue

@@ -341,6 +341,9 @@
 					//	_self.$refs.amap.updateCharger(_self.stationsmap[0]);
 					 
 				},function(err){
+					uni.showToast({
+						title:err
+					})
 					//('getChargingStationData err'+JSON.stringify(err))
 				}
 				)

+ 3 - 0
pages/searchPile/searchPile.vue

@@ -959,6 +959,9 @@ export default {
 					 
 				}
 			},function(err){
+				uni.showToast({
+					title:err
+				})
 				//('getChargingStationData err'+JSON.stringify(err))
 			}
 			)

+ 4 - 0
pages/user/car/carAdd.vue

@@ -9,6 +9,7 @@
 			<u-modal v-model="show" @confirm="confirmDelete" confirm-color="#fa3534" :show-cancel-button="true" ref="uModal" :asyncClose="true" :title="title" 
 				:content="content" :confirm-text="confirmText"></u-modal>
 		</view>
+		
 		<view class="carDet">
 			<u-form :model="form" ref="uForm">
 				<ucarkeyboard ref="uKeyboard" mode="car" @confirm="confirm" @cancel="cancel" v-show="keyShow" @change="valChange" @backspace="backspace"></ucarkeyboard>
@@ -24,6 +25,9 @@
 			</u-form>
 		</view>
 		<u-button class="login-btn" type="success" shape="circle" @click="keepCar">保存</u-button>
+		
+		<p class="car-num" style="padding: 10px  40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
+		
 	</view>
 </template>
 

+ 2 - 0
pages/user/car/carDet.vue

@@ -2,6 +2,8 @@
 	<view class="wrap">
 		<ujp-navbar title="添加车牌">
  		</ujp-navbar>
+		<p class="car-num" style="padding: 10px  40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
+		
 		<view class="key-input">
 			<u-message-input :focus="true" :value="form.carNum" :maxlength="maxlength" :disabled-keyboard="true"></u-message-input>
 		</view>

+ 45 - 6
pages/user/dataSet.vue

@@ -301,13 +301,52 @@ import {
 			},
 			carClick() {
 				if(this.carList.carNum != null) {
-					if(this.userCardBool){
-						this.monthlyCardBuy();
-						
+					var date = '2022/08/01 00:00:00';
+					var now= new Date().getTime()
+					var datetime= new Date(date).getTime()
+					
+					
+					if(now<datetime){
+						//this.monthlyCardBuy();
+						uni.showModal({
+							title: '提示',
+							confirmText:'修改车牌',
+							//showCancel:false,
+							content: '根据平台要求,8月1日后将暂停车牌号修改,修改请需要联系客服人员',
+							success: res => {
+								if (res.confirm) {
+									// uni.navigateTo({
+									// 	url: '/pages/monthlyCardActivity/monthlyCardBuy'
+									// })
+									uni.navigateTo({
+										url: '/pages/user/car/carAdd?id=' + this.carList.id
+									})
+								} else if (res.cancel) {
+									//('用户点击取消');
+								}
+							}
+						});
 					}else{
-						uni.navigateTo({
-							url: '/pages/user/car/carAdd?id=' + this.carList.id
-						})
+						
+						
+						uni.showModal({
+							title: '提示',
+							//confirmText:'查看活动',
+							showCancel:false,
+							content: '车牌号码输入后暂时不可以修改,修改请需要联系客服人员',
+							success: res => {
+								if (res.confirm) {
+									// uni.navigateTo({
+									// 	url: '/pages/monthlyCardActivity/monthlyCardBuy'
+									// })
+						
+								} else if (res.cancel) {
+									//('用户点击取消');
+								}
+							}
+						});
+						
+						
 					}
 					
 					

+ 5 - 2
pages/user/finance/balance.vue

@@ -83,8 +83,6 @@
 			}
 			this.dateMonth = year + '-' + monthN + '-01';
 			
-			this.getCarPersonAccount();
-			this.getAccountRecordData();
 			
 			if(this.carhelp.get("getElderModeClass") == "长辈模式") {
 				this.elderStatus = true;
@@ -92,6 +90,11 @@
 				this.elderStatus = false;
 			}
 		},
+		onShow(){
+			this.getCarPersonAccount();
+			this.getAccountRecordData();
+				
+		},
 		methods: {
 			toRefundList() {
 				uni.navigateTo({

+ 5 - 5
pages/user/finance/refundApp.vue

@@ -49,12 +49,12 @@
 			  } 
 			},
 			finish(){
-				uni.navigateTo({
-					url:'refundList'
+				// uni.redirectTo({
+				// 	url:'refundList'
+				// })
+				uni.navigateBack({
+				//	delta:1
 				})
-				/*uni.navigateBack({
-					delta:1
-				})*/
 			}
 		}
 	}

+ 8 - 2
pages/user/finance/refundList.vue

@@ -150,19 +150,25 @@
 				
 			},
 			confirm(){
+				uni.showLoading({
+					
+				})
 				let data = {amount:_self.account.totalAmount,refundChannel:'wechat'}
 				api.personAccountRefundApplication(data).then(function(res){
+					uni.hideLoading()
 					if(res.result){
 						
 						//('personAccountRefundApplication'+JSON.stringify(res));
-						uni.navigateTo({
+						uni.redirectTo({
 							url:'refundApp'
 						})
 						
 					}
 					
 				},function(err){
-					
+					uni.showToast({
+						title:err
+					})
 				}
 				);
 				////('confirm')