From 5c7d78e847739fbd4af4aa28359fc3ee36763a19 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期三, 10 七月 2024 08:31:27 +0800
Subject: [PATCH] feat:修改业务文字,原发磅单上传增加条件

---
 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