From 7738caf497efdfb61f5e262d2a854fc23f86bf88 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期六, 08 十一月 2025 18:01:47 +0800
Subject: [PATCH] fix: bug
---
src/views/EmploymentManage/CheckReceiveTaskDetail.vue | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/src/views/EmploymentManage/CheckReceiveTaskDetail.vue b/src/views/EmploymentManage/CheckReceiveTaskDetail.vue
index 33f4f1e..ff3612f 100644
--- a/src/views/EmploymentManage/CheckReceiveTaskDetail.vue
+++ b/src/views/EmploymentManage/CheckReceiveTaskDetail.vue
@@ -16,11 +16,7 @@
</ProFormColItem>
<ProFormColItem :span="8">
<ProFormItemV2 label="鏈嶅姟璐归噾棰�:">
- {{
- taskInfo.billingMethod === EnumBillingMethod.Face
- ? EnumBillingMethodText[taskInfo.billingMethod]
- : `${taskInfo.serviceFee}${EnumBillingMethodUnitText[taskInfo.billingMethod]}`
- }}
+ {{ OrderUtils.getServiceFeeText(taskInfo.serviceFee, taskInfo.billingMethod) }}
</ProFormItemV2>
</ProFormColItem>
</ProFormCol>
@@ -73,6 +69,7 @@
import * as taskCheckReceiveServices from '@/services/api/taskCheckReceive';
import * as taskServices from '@/services/api/task';
import { useQuery } from '@tanstack/vue-query';
+import { OrderUtils } from '@/utils';
import { CheckReceiveTaskDetailColumns } from './constants';
import { EnumBillingMethodUnitText, EnumBillingMethod, EnumBillingMethodText } from '@/constants';
import dayjs from 'dayjs';
@@ -92,11 +89,13 @@
emits: {
onClick: (role) => openDialog(role),
},
- // extraProps: {
- // hide: (row: API.GetCheckReceiveTaskQueryResultItem) =>
- // row.checkReceiveStatus === EnumTaskCheckReceiveStatus.Completed ||
- // state.checkReceiveMethod === EnumTaskCheckReceiveMethod.CheckIn,
- // },
+ extraProps: {
+ hide: (row: API.GetCheckReceiveTaskQueryResultItem) =>
+ !(
+ row.checkReceiveStatus === EnumTaskCheckReceiveStatus.WaitCheckReceive &&
+ row.checkReceiveMethods.includes(EnumTaskCheckReceiveMethod.CheckIn)
+ ),
+ },
},
{
data: {
--
Gitblit v1.9.1