| | |
| | | EnumTaskRecommendStatusText, |
| | | EnumTaskApplyStatusText, |
| | | } from '@/constants'; |
| | | import { format } from '@/utils'; |
| | | import { format, OrderUtils } from '@/utils'; |
| | | import { Message } from '@bole-core/core'; |
| | | |
| | | defineOptions({ |
| | |
| | | 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); |
| | | }, |
| | | }, |
| | | }, |