From 25491bc3ddba9ca76d15c7b5ea462a581a4e9d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Wed, 30 Mar 2022 13:52:54 +0800 Subject: [PATCH] =?UTF-8?q?52249=20=E6=A0=87=E5=87=86=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=EF=BC=8C=E9=80=89=E6=8B=A9=E6=B5=B7=E5=A4=96?= =?UTF-8?q?=EF=BC=8C=E5=88=B0=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9=EF=BC=8C?= =?UTF-8?q?=E5=9C=88=E4=BD=8F=E7=9A=84=E7=9C=8B=E7=9C=8B=E8=BF=99=E5=9B=9B?= =?UTF-8?q?=E4=B8=AA=E6=A1=86=E8=83=BD=E4=B8=8D=E8=83=BD=E4=B8=8D=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/bzrk/step2.vue | 9 ++++----- .../processCenter/pages/creatProcess/bzrk/step3.vue | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index cedbb0aab..bcd2d3a5e 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -1170,11 +1170,10 @@ export default { this.form = JSON.parse(JSON.stringify(item)) let wssmrName = this.form.wssmrname this.form.wssmr = wssmrName - this.form.sycpx = this.form.sycpx.split(',') - this.form.nylx = this.form.nylx.split(',') - this.form.cllx = this.form.cllx.split(',') - this.form.syrz = this.form.syrz.split(',') - this.form.syrz = this.form.syrz.split(',') + this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx.split(',') : '' + this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx.split(',') : '' + this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx.split(',') : '' + this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz.split(',') : '' this.defaultCheckedKeys = [this.form.standSystem] this.defaultCheckedKeys1 = [this.form.cycvppsbm] this.defaultCheckedKeys2 = [this.form.kccvppsbm] diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index c8b3f398a..9b5301fa0 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -1131,11 +1131,10 @@ export default { this.form = JSON.parse(JSON.stringify(item)) let wssmrName = this.form.wssmrname this.form.wssmr = wssmrName - this.form.sycpx = this.form.sycpx.split(',') - this.form.nylx = this.form.nylx.split(',') - this.form.cllx = this.form.cllx.split(',') - this.form.syrz = this.form.syrz.split(',') - this.form.syrz = this.form.syrz.split(',') + this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx.split(',') : '' + this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx.split(',') : '' + this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx.split(',') : '' + this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz.split(',') : '' this.defaultCheckedKeys = [this.form.standSystem] this.defaultCheckedKeys1 = [this.form.cycvppsbm] this.defaultCheckedKeys2 = [this.form.kccvppsbm]