From c77d40d5084826377487b4b11de55dd878669a01 Mon Sep 17 00:00:00 2001 From: zhangjun <879913833@qq.com> Date: Fri, 9 Sep 2022 16:43:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=87=BA=E7=8E=B0null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/pages/addEdit.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 45ddb69bb..47db002e0 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -1769,10 +1769,19 @@ export default { // } this.sarAccessInfoSearchList = res.data.list this.sarAccessInfoSearchList.forEach(item => { + // if (null == item.standSortShow){ + // item.standSortShow = ''; + // } if (item.standYear === null) { - item.standNumber = item.standSortShow + ' ' + item.standNumber + if (null != item.standSortShow) { + item.standNumber = item.standSortShow + ' ' + item.standNumber + } } else { - item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear + if (null != item.standSortShow) { + item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear + }else{ + item.standNumber = item.standNumber + '-' + item.standYear + } } item.zrbm = item.attrInfoCaseMap.zrbm item.sycpx = item.attrInfoCaseMap.sycpx