From cfec86ba0c56b4fe4a69618ea9e256e013a0a650 Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Fri, 24 Dec 2021 09:35:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E5=8D=95=E6=8A=BD=E5=B1=89=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=A1=AE=E8=AE=A4=E6=B7=BB=E5=8A=A0=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=A9=BA=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/pages/addEdit.vue | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index edc19d107..26874117b 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -1267,7 +1267,6 @@ export default { }, // 编辑按钮 editTghisRow(row) { - console.log(row); // 用来储存取消时原来的数据,防止取消时修改 localStorage.setItem("obj", JSON.stringify(row)); @@ -1300,14 +1299,13 @@ export default { }, // 抽屉提交按钮 saveInfo() { - console.log(this.editRowData); - if (this.editRowData.ssrq !== '') { + if (this.editRowData.ssrq !== '' && this.editRowData.ssrq !== null) { this.editRowData.ssrq = this.editRowData.ssrq.join(',') } - if (this.editRowData.xcxssrqgj !== ''){ + if (this.editRowData.xcxssrqgj !== '' && this.editRowData.xcxssrqgj !== null){ this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.join(',') } - if (this.editRowData.zccssrqgj !== ''){ + if (this.editRowData.zccssrqgj !== '' && this.editRowData.zccssrqgj !== null){ this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.join(',') } this.drawerEdit = false @@ -2127,8 +2125,6 @@ export default { this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this }, res => { - console.log('能源类型',res.data.NYLXCLASS); - console.log('适用车型',res.data.ENERGYTYPES); this.allSelectOptions = res.data || {} this.regionOptions = res.data.REGION // 基础信息 区域list this.applyArcticOptions = res.data.NYLXCLASS // 能源类型