From a64865dcc1e8e11998f932b1460ac226f9484833 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Fri, 20 Sep 2024 12:02:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/CollectOrderTabs.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/collect/CollectOrderTabs.vue b/src/views/collect/CollectOrderTabs.vue index a9036b32..cb072417 100644 --- a/src/views/collect/CollectOrderTabs.vue +++ b/src/views/collect/CollectOrderTabs.vue @@ -516,6 +516,10 @@ export default { let item = this.curWorkPlaces.find(item => item.workplaceId == this.$route.query.workplaceId); this.formData.workplaceName = item.workplaceName this.formData.workplaceStatus = item.workplaceStatus + }else + if (this.curWorkPlaces.length == 1 && this.formData.workPlaceCode == null) { + this.formData.workPlaceCode = this.curWorkPlaces[0].workplaceId; + this.workPlaceCodeChange(this.formData.workPlaceCode); } }) },