diff --git a/src/views/modules/shequzhili/event/cpts/process-form-demand.vue b/src/views/modules/shequzhili/event/cpts/process-form-demand.vue index 86c46658..b9b0ed97 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-demand.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-demand.vue @@ -367,6 +367,7 @@ export default { this.selCategoryArray = [] this.selCategoryArray.push(this.eventDetailCopy.parentCategoryId) this.selCategoryArray.push(this.eventDetailCopy.categoryId) + this.formData.categoryId = this.eventDetailCopy.categoryId this.selCateObj = { name: this.eventDetailCopy.categoryName, diff --git a/src/views/modules/shequzhili/event/cpts/process-form-project.vue b/src/views/modules/shequzhili/event/cpts/process-form-project.vue index 1f254eb4..715019ec 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-project.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-project.vue @@ -371,10 +371,14 @@ export default { this.selCategoryArray.push(this.eventDetailCopy.parentCategoryId) this.selCategoryArray.push(this.eventDetailCopy.categoryId) + this.selCateObj = { name: this.eventDetailCopy.categoryName, id: this.eventDetailCopy.categoryId } + + this.formData.categoryList = [] + this.formData.categoryList.push(this.selCateObj) } } else {