src/views/hosp/project/index.vue
@@ -692,13 +692,7 @@ } else if (this.treeDate.id) { if(this.treeDate.qf == "0"){ this.form.proParentId = "0" this.projectOptions.forEach((item) => { item.children.forEach((item1) => { if (this.treeDate.id == item1.deptId) { this.form.deptId = item1.deptId; } }); }); this.form.deptId =this.treeDate.id }else{ this.form.proParentId = this.treeDate.id; this.projectOptions.forEach((item) => {