From 6a232ec3d1d75af66b5afb475895d585a494cbaf Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期六, 29 六月 2024 16:24:35 +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