26 lines
656 B
Vue
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>
|