查询出现null
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user