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); } }) },