| | |
| | | </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> |
| | |
| | | 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'; |
| | |
| | | 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: { |