From 054f945b8a2f2534dcf9d5cf3cfecbb304c2def7 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Thu, 20 Jul 2023 17:03:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- driverManagement/serviceStation/serviceStation.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/driverManagement/serviceStation/serviceStation.vue b/driverManagement/serviceStation/serviceStation.vue index ae70d5b..6efc9d8 100644 --- a/driverManagement/serviceStation/serviceStation.vue +++ b/driverManagement/serviceStation/serviceStation.vue @@ -56,6 +56,7 @@ }, methods: { channelJudgment(item) { + let result = '' if (item.channelCode) { let cenum = { TY: '团油', @@ -63,7 +64,7 @@ XOIL: '星油', SQL: '三千里', } - return ` - ${cenum[item.channelCode]}` + result += ` - ${cenum[item.channelCode]}` } if (item.secondChannelCode) { let cenum = { @@ -74,9 +75,9 @@ SQ: '上汽', TY: '团油', } - return ` - ${cenum[item.secondChannelCode]}` + result += ` - ${cenum[item.secondChannelCode]}` } - return '' + return result }, seleFn(e) { clearTimeout(this.timer)