From 30e3526b109a94b83ee53d460b5626300361e5a5 Mon Sep 17 00:00:00 2001
From: wk
Date: 星期二, 18 六月 2024 09:48:40 +0800
Subject: [PATCH] feat:司机人脸更改

---
 pages/public-page/forward/forward.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/pages/public-page/forward/forward.vue b/pages/public-page/forward/forward.vue
index d0fb07b..f27b4b9 100644
--- a/pages/public-page/forward/forward.vue
+++ b/pages/public-page/forward/forward.vue
@@ -191,8 +191,9 @@
 			return {
 				forwardSurplus: 0,
 				paramsName: {},
-				huoDaiData: [],  //璐т唬Data
-				fleetData: [],  //杞﹂槦Data
+				huoDaiData: [],
+				isClickFlag:true,// true 鍙互 or false for forward and back to the direction of the car direction (default	 	
+				fleetData: [],
 				// 鏃ヨ鍒抜d
 				orderPlanId: '',
 				jhOrderPlanForwardList: [{  //杞彂瀵硅薄
@@ -384,11 +385,16 @@
 			},
 			// 杞彂瀵硅薄
 			forwardObjectClick(index, name, id) {
+				if(!id){
 				this.selectPopupShow = true;
 				this.index = index;
 				this.originForwardName = name || ''
 				this.isDirectAdd = this.originForwardName !== ''
 				this.forwardId = id
+				}else{
+					return 
+				}
+				
 			},
 			selectPopupClose() {
 				this.selectPopupShow = false;
@@ -613,6 +619,7 @@
 						return isPass;
 					}
 				});
+				console.log(this.jhOrderPlanForwardList,'jhOderPlan')
 				if (isPass) {
 					this.loading = true;
 					this.$reqPost('forward', this.jhOrderPlanForwardList, 'json').then(res => {

--
Gitblit v1.9.1