From d9461036f8c487bde55fc3b54fbfa1bcc126517d Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E5=8F=91=E5=B8=83=E6=97=B6=E9=97=B4=E4=B8=BA?= =?UTF-8?q?N/A=E7=9A=84=E4=B8=80=E7=B3=BB=E5=88=97=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/addEdit.vue | 41 ++++++++++++------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index e91f8deb4..0b1b4c7fc 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -487,22 +487,26 @@ - - + --> + + - - + + + + + + + + + @@ -1578,11 +1582,17 @@ export default { } else if (this.editRowData.zccssrqgj && this.editRowData.zccssrqgj !== "-") { this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.split(","); } + if (this.editRowData.zccssrqgj instanceof Array && this.editRowData.zccssrqgj[0] === 'N/A'){ + this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.join(',') + } if (this.editRowData.xcxssrqgj === "-") { this.editRowData.xcxssrqgj = ""; } else if (this.editRowData.xcxssrqgj && this.editRowData.xcxssrqgj !== "-") { this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.split(","); } + if (this.editRowData.xcxssrqgj instanceof Array && this.editRowData.xcxssrqgj[0] === 'N/A'){ + this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.join(',') + } this.drawerEdit = true; }, // 抽屉取消按钮 @@ -1602,12 +1612,6 @@ export default { if (this.editRowData.ssrq !== '' && this.editRowData.ssrq !== null) { this.editRowData.ssrq = this.editRowData.ssrq.join(',') } - if (this.editRowData.xcxssrqgj !== '' && this.editRowData.xcxssrqgj !== null) { - this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.join(',') - } - if (this.editRowData.zccssrqgj !== '' && this.editRowData.zccssrqgj !== null) { - this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.join(',') - } this.drawerEdit = false }, // 点击清单条目导入按钮事件 @@ -2498,6 +2502,13 @@ export default { }