diff --git a/src/views/udi/trace/search/index.vue b/src/views/udi/trace/search/index.vue index f42b16e..fdb5ade 100644 --- a/src/views/udi/trace/search/index.vue +++ b/src/views/udi/trace/search/index.vue @@ -155,7 +155,7 @@ - @@ -461,7 +461,7 @@ - @@ -713,12 +713,14 @@ diff --git a/src/views/udi/trace/searchLive/index.vue b/src/views/udi/trace/searchLive/index.vue index 24b941d..fb0ab3d 100644 --- a/src/views/udi/trace/searchLive/index.vue +++ b/src/views/udi/trace/searchLive/index.vue @@ -482,11 +482,11 @@ export default { } }, formatCompanyName(row){ - let temp = this.companyNameList.find(item=>{ - return item.id == row.companyIdFk + this.companyNameList.find(item=>{ + if (item.id == row.companyIdFk) { + this.companyNameDetail = item.companyName + } }) - this.companyNameDetail = temp.companyName - return temp && temp.companyName }, geCompanyNameList(query) { let cQuery = {