查询出现null

This commit is contained in:
zhangjun
2022-09-09 16:43:14 +08:00
parent b5f130d6d8
commit c77d40d508
@@ -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