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 { }