JGJS2026/src/components/views/HtAdditionalWorkFee.vue
2026-03-10 15:50:07 +08:00

24 lines
654 B
Vue

<script setup lang="ts">
import { computed } from 'vue'
import HtFeeMethodGrid from '@/components/common/HtFeeMethodGrid.vue'
import { additionalWorkList } from '@/sql'
const props = defineProps<{
contractId: string
contractName?: string
}>()
const STORAGE_KEY = computed(() => `htExtraFee-${props.contractId}-additional-work`)
const additionalWorkNames = computed(() => additionalWorkList.map(item => String(item)))
</script>
<template>
<HtFeeMethodGrid
title="附加工作费"
:storageKey="STORAGE_KEY"
:contract-id="props.contractId"
:contract-name="props.contractName"
:fixed-names="additionalWorkNames"
/>
</template>