| | |
| | | <script setup lang="ts"> |
| | | import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types'; |
| | | import { NumberInput } from '@12333/components'; |
| | | import { FormValidator, Message } from '@12333/utils'; |
| | | import { FormValidator, Message, toRound } from '@12333/utils'; |
| | | import * as userServices from '@12333/services/apiV2/user'; |
| | | import { EnumEnterpriseWalletAccess, EnumUserBankCardAccess } from '@12333/constants'; |
| | | import { goBack } from '@/utils'; |
| | |
| | | const settlementAmount = computed(() => sumSettlementAmount()); |
| | | |
| | | function sumSettlementAmount() { |
| | | return ( |
| | | return toRound( |
| | | getFeeValue(Number(form.timeoutFee ?? 0)) + |
| | | getFeeValue(Number(form.serviceFee ?? 0)) + |
| | | getFeeValue(Number(form.otherFee ?? 0)) |