From 92f6bdbe4290190f402b14a53fa848f772db961d Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 6 May 2024 14:55:31 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BC=81=E6=A0=87=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=A0=87=E5=87=86=E7=AD=89=E7=BA=A7=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E6=B2=A1=E6=9C=89=E5=80=BC=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=E5=AD=98=E8=8D=89=E7=A8=BF=EF=BC=8C=E5=8A=9E=E7=90=86=E8=8D=89?= =?UTF-8?q?=E7=A8=BF=E6=A0=87=E5=87=86=E7=AD=89=E7=BA=A7=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E4=B8=8D=E7=AE=A1=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../enterpriseStandardChange/modules/BaseInfoForm.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)