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)