feat: 修复

yanshishuju
chenhc 7 months ago
parent f4bbc65cd0
commit a64865dcc1

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

Loading…
Cancel
Save