diff --git a/src/views/workCenter/enterpriseStandardChange/modules/BaseInfoForm.vue b/src/views/workCenter/enterpriseStandardChange/modules/BaseInfoForm.vue index 8f0c6bde..2f6bc71f 100644 --- a/src/views/workCenter/enterpriseStandardChange/modules/BaseInfoForm.vue +++ b/src/views/workCenter/enterpriseStandardChange/modules/BaseInfoForm.vue @@ -652,11 +652,12 @@ export default { // 拿到外面传进来的数据初始化,因为套了几层就不在外层初始化数据了 initData (data) { this.isEditSetData = true - this.formInline = Object.assign({}, data) - this.formInline.standardSystem = this.formInline.standardSystem ? this.formInline.standardSystem.split(',').map(item => { + const formInline = Object.assign({}, data) + formInline.standardSystem = formInline.standardSystem ? formInline.standardSystem.split(',').map(item => { return { value: item } }) : [] - this.formInline.gradeClassification = this.formInline.gradeClassification || undefined + formInline.gradeClassification = formInline.gradeClassification || undefined + this.formInline = Object.assign({}, formInline) setTimeout(() => { this.isEditSetData = false }, 500)