From 4f9eb354382eda4fe5e47c12e58a40896df552d9 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期五, 05 七月 2024 17:08:34 +0800
Subject: [PATCH] fix:沧化修改测试bug

---
 pages/customer-page/addDailyPlan/addDailyPlan.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/pages/customer-page/addDailyPlan/addDailyPlan.vue b/pages/customer-page/addDailyPlan/addDailyPlan.vue
index d1f7b32..b722403 100644
--- a/pages/customer-page/addDailyPlan/addDailyPlan.vue
+++ b/pages/customer-page/addDailyPlan/addDailyPlan.vue
@@ -166,7 +166,15 @@
 								item.text = (item.productNames ? item.productNames : item.productName) + '-' + item.orderCode;
 								item.value = item.id;
 								return item;
-							})
+							});
+							if(this.customerNameList.length === 1){
+								this.deptId = this.customerNameList[0].value; //閫夋嫨褰撳墠 
+								if(this.deptId){
+									this.deptChange(this.deptId);
+								}
+								
+							}
+				
 							console.log(this.customerNameList,'')
 						}
 					})

--
Gitblit v1.9.1