From 2755be6961b51fe4feb23012c093e0abf6ba00ee Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Tue, 5 Jul 2022 16:58:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20bug=20#5?= =?UTF-8?q?6322=20=E6=8A=80=E6=9C=AF=E6=A0=87=E5=87=86-=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E8=B5=B7=E8=8D=89=E4=BA=BA=E6=97=B6=20=E8=B5=B7=E8=8D=89?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=AF=B9=20?= =?UTF-8?q?=EF=BC=88=E4=BC=81=E6=A0=87=E7=BC=96=E5=86=99=E8=8A=82=E7=82=B9?= =?UTF-8?q?=EF=BC=89=E5=BA=94=E8=AF=A5=E6=98=AF=E4=B8=A4=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/qbrk/step1.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue index 968862d66..fd32e7a3b 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue @@ -1963,6 +1963,14 @@ } return data }, + filterStringDate(data){ + if(data === undefined || data === null || data === '' || data === 'null'){ + return "" + }else { + data = data.toString() + } + return data + }, handleProcessStandardNext(status) { switch (status) { // 新增 @@ -1994,11 +2002,11 @@ // 引用标准 this.form.YYBZ = this.filterDate(this.standardCheckedList[0].esMatingRelations) // 起草人带入 - this.form.QCRBUSS = this.filterDate(this.standardCheckedList[0].drafterName) - this.form.QCRBUSSID = this.filterDate(this.standardCheckedList[0].drafter) + this.form.QCRBUSS = this.filterStringDate(this.standardCheckedList[0].drafterName) + this.form.QCRBUSSID = this.filterStringDate(this.standardCheckedList[0].drafter) // 起草部门带入 - this.form.QCDW = this.filterDate(this.standardCheckedList[0].unitName) - this.form.QCDWID = this.filterDate(this.standardCheckedList[0].unit) + this.form.QCDW = this.filterStringDate(this.standardCheckedList[0].unitName) + this.form.QCDWID = this.filterStringDate(this.standardCheckedList[0].unit) this.form.TXLBBUSS = this.filterDate(this.standardCheckedList[0].tsJsonName) this.form.menuId = this.filterDate(this.standardCheckedList[0].tsJson) this.form.treeType = 'sarMs'