From 8e1860f55e400eab23865ef8df5f241ff2356897 Mon Sep 17 00:00:00 2001 From: schry <2433098676@qq.com> Date: Fri, 16 Jun 2023 11:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/udi/trace/search/index.vue | 92 +++++++++++++++++++++--- src/views/udi/trace/searchLive/index.vue | 8 +-- 2 files changed, 85 insertions(+), 15 deletions(-) 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 = {