diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 34122febe..c0dd20f61 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -2515,17 +2515,24 @@ export default { if (this.selectedItemList.length>0){ this.editResolveListShowflag = true let editItem = JSON.parse(JSON.stringify(this.selectedItemList[0])) + console.log('2518',editItem) this.resolveListForm = editItem this.resolveListForm.termsConditions = this.resolveListForm.termsConditions?this.resolveListForm.termsConditions.replace(/<.*?>/ig, ' '):'' // this.resolveListForm.readContent = this.readContent?this.readContent.replace(/<.*?>/ig, ' '):'' + this.resolveListForm.xccssrq = this.resolveListForm.xccssrq.split(',') + this.resolveListForm.zccssrq = this.resolveListForm.zccssrq.split(',') }else { this.$message.warning('请选择一条数据') } }, saveEditInfo(){ - console.log('2530',this.resolveListForm) - this.resolveListForm.xccssrq = this.resolveListForm.xccssrq.join(',') - this.resolveListForm.zccssrq = this.resolveListForm.zccssrq.join(',') + console.log('2530',typeof this.resolveListForm.xccssrq) + if (typeof this.resolveListForm.xccssrq !== 'string'){ + this.resolveListForm.xccssrq = this.resolveListForm.xccssrq.join(',') + } + if (typeof this.resolveListForm.zccssrq !== 'string'){ + this.resolveListForm.zccssrq = this.resolveListForm.zccssrq.join(',') + } this.$http.putData( 'SarStandItems/sar-stand-items/updateSarItemAndInterpretation', this.resolveListForm,