From 156a667b09390614c685c15a3c42b035e7a1d269 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 15 七月 2024 14:58:13 +0800
Subject: [PATCH] fix:库管日计划页面详情 列表修改样式

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

diff --git a/pages/customer-page/addDailyPlan/addDailyPlan.vue b/pages/customer-page/addDailyPlan/addDailyPlan.vue
index d1f7b32..cc9f5ad 100644
--- a/pages/customer-page/addDailyPlan/addDailyPlan.vue
+++ b/pages/customer-page/addDailyPlan/addDailyPlan.vue
@@ -158,7 +158,7 @@
 		methods: {
             //鏌ヨ璁㈠崟
             getDingdan(){
-                    this.$reqGet('getAppOrderList',{orderType:'澶栬喘'})
+                    this.$reqGet('getAppOrderList',{orderType:'澶栭攢'})
 					.then(res => {
 						uni.hideLoading()
 						if (res.code == 0) {
@@ -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