From 6ba1c5a9f73604edb005212b7fed058e185ce295 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 18 七月 2024 16:38:41 +0800 Subject: [PATCH] featL库管首页样式更新 --- 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