JGJS2026/src/components/ht/HtReserveFee.vue
2026-03-17 12:05:22 +08:00

26 lines
656 B
Vue

<script setup lang="ts">
import { computed } from 'vue'
import HtFeeMethodGrid from '@/components/shared/HtFeeMethodGrid.vue'
import { reserveList } from '@/sql'
const props = defineProps<{
contractId: string
contractName?: string
}>()
const STORAGE_KEY = computed(() => `htExtraFee-${props.contractId}-reserve`)
const reserveFeeNames = computed(() =>
reserveList.map(item => String(item?.name || '').trim()).filter(Boolean)
)
</script>
<template>
<HtFeeMethodGrid
title="预备费"
:storageKey="STORAGE_KEY"
:contract-id="props.contractId"
:contract-name="props.contractName"
:fixed-names="reserveFeeNames"
/>
</template>