diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 385e9fd5f..f90ad9a0d 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -845,10 +845,18 @@ export default { this.standardFormTotal = res.data.total; this.total = res.data.total; this.standinfoList.forEach(item => { - if (item.standYear === null) { - item.standNumber = item.standSortShow + " " + item.standNumber; + if (item.standYear === null || item.standYear ==='') { + if(item.standSortShow!= null){ + item.standNumber = item.standSortShow + " " + item.standNumber; + }else{ + item.standNumber = item.standNumber; + } } else { - item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear; + if(item.standSortShow!= null){ + item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear; + }else{ + item.standNumber = item.standNumber + "-" + item.standYear; + } } }); this.standInfoTableLoading = false