From e6a02c8b09a796e436a501e9b87d19e25c34c9d1 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期日, 07 四月 2024 15:53:37 +0800
Subject: [PATCH] #

---
 pages/business/plan/addPlan2.vue |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/pages/business/plan/addPlan2.vue b/pages/business/plan/addPlan2.vue
index 91b91c3..032fd8f 100644
--- a/pages/business/plan/addPlan2.vue
+++ b/pages/business/plan/addPlan2.vue
@@ -420,14 +420,11 @@
 						that.baseFormData.orderId = element.id
 					}
 				}
-				// for (element of that.userList) {
-				// 	if(element.value == that.baseFormData.userId) {
-				// 		that.baseFormData.userId = element.id
-				// 	}
-				// }
-				for(var i = 1;i <= that.selList.length; i++) {
+				for(let i = 0; i < that.selList.length;i++) {
 					if (that.selList[i] == that.baseFormData.select_3) {
-						that.baseFormData.select_3 = 'value' + i
+						let index =  i + 1
+						console.log(index);
+						that.baseFormData.select_3 = 'value' + index
 					}
 				}
 				that.baseFormData.planType = 5

--
Gitblit v1.9.1