fix: 认证清单中标准号显示错误的BUG修复
This commit is contained in:
@@ -845,10 +845,18 @@ export default {
|
|||||||
this.standardFormTotal = res.data.total;
|
this.standardFormTotal = res.data.total;
|
||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
this.standinfoList.forEach(item => {
|
this.standinfoList.forEach(item => {
|
||||||
if (item.standYear === null) {
|
if (item.standYear === null || item.standYear ==='') {
|
||||||
|
if(item.standSortShow!= null){
|
||||||
item.standNumber = item.standSortShow + " " + item.standNumber;
|
item.standNumber = item.standSortShow + " " + item.standNumber;
|
||||||
|
}else{
|
||||||
|
item.standNumber = item.standNumber;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if(item.standSortShow!= null){
|
||||||
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
|
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
|
||||||
|
}else{
|
||||||
|
item.standNumber = item.standNumber + "-" + item.standYear;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.standInfoTableLoading = false
|
this.standInfoTableLoading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user