From e737ccaa65b18c32996f923d92ce9bcdee97a521 Mon Sep 17 00:00:00 2001 From: liujun Date: Fri, 1 Mar 2024 21:32:24 +0800 Subject: [PATCH] =?UTF-8?q?14384=20=E9=9B=86=E5=9B=A2=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E7=9C=8B=E4=B8=8D=E8=A7=81=20=E5=BA=94=E8=AF=A5=E7=9C=8B?= =?UTF-8?q?=E8=A7=81=E7=9A=84=E7=9B=B8=E5=85=B3=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/insert/components/corpInfoEdit.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/xgf/insert/components/corpInfoEdit.vue b/src/views/xgf/insert/components/corpInfoEdit.vue index 55e982d..a6996b6 100644 --- a/src/views/xgf/insert/components/corpInfoEdit.vue +++ b/src/views/xgf/insert/components/corpInfoEdit.vue @@ -474,7 +474,11 @@ export default { } ).then((data) => { this.form = Object.assign(this.form, data.pd) - this.form.CORP_TYPE = JSON.parse(this.form.CORP_TYPE) + if (this.form.CORP_TYPE.indexOf('[') > -1) { + this.form.CORP_TYPE = JSON.parse(this.form.CORP_TYPE) + } else { + this.form.CORP_TYPE = [this.form.CORP_TYPE] + } var sz = this.form.SELECT_FORM var cdi = this.form.COMPETENT_DEPT_ID var mdi = this.form.MANAGER_DEPARTMENT_ID