diff --git a/src/views/modules/custom/gridforceinfo-add-or-update.vue b/src/views/modules/custom/gridforceinfo-add-or-update.vue index 29975b00..a23b1c9b 100755 --- a/src/views/modules/custom/gridforceinfo-add-or-update.vue +++ b/src/views/modules/custom/gridforceinfo-add-or-update.vue @@ -17,13 +17,13 @@ @@ -79,7 +79,8 @@ export default { dutyCategoryId: '', remark: '', deptId: '', - allDeptIds: [] + allDeptIds: [], + selectedDeptIds: [] }, loading: false, options: [], @@ -131,6 +132,9 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.getInfo() + } else { + this.dataForm.allDeptIds = [] + this.dataForm.deptId = '' } }) },