From a8651ec657fd2ef85cacc6660916dc847a932e1f Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 10 十一月 2025 16:36:05 +0800
Subject: [PATCH] fix: bug

---
 src/views/EmploymentManage/TaskManageList.vue |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/views/EmploymentManage/TaskManageList.vue b/src/views/EmploymentManage/TaskManageList.vue
index b86a93e..e015140 100644
--- a/src/views/EmploymentManage/TaskManageList.vue
+++ b/src/views/EmploymentManage/TaskManageList.vue
@@ -78,7 +78,7 @@
 import { EnumTaskStatusText, EnumTaskReleaseStatusText } from '@/constants';
 import { useGlobalEventContext } from '@/hooks';
 import * as taskServices from '@/services/api/task';
-import { format } from '@/utils';
+import { format, OrderUtils } from '@/utils';
 import { ModelValueType } from 'element-plus';
 import { Message } from '@bole-core/core';
 import dayjs from 'dayjs';
@@ -225,10 +225,8 @@
       endTime: { type: 'date', format: 'YYYY-MM-DD' },
       serviceFee: {
         type: 'money',
-        formatter: (row) => {
-          return row.billingMethod === EnumBillingMethod.Face
-            ? ''
-            : `${row.serviceFee}${EnumBillingMethodUnitText[row.billingMethod]}`;
+        formatter: (row: API.GetTaskInfosQueryResultItem) => {
+          return OrderUtils.getServiceFeeText(row.serviceFee, row.billingMethod);
         },
       },
       applyBeginTime: { type: 'date', format: 'YYYY-MM-DD' },

--
Gitblit v1.9.1