"use client"; import { useWrStore } from "@/app/store"; import { cmpttnHeadListExport } from "@/app/store/matDmd/coMatRvw/headList"; import { yearOptions } from "@/components/lib/func/commom"; import { SelectBox, UiTable } from "@common/business_components/ui"; import { Label } from "@common/components/ui"; import { useEffect, useState } from "react"; export function ConstCostFeeTable({ setReturnData, }: { setReturnData: (data: any) => void; }) { const { constCostRes,getConstCostFee } = useWrStore((state) => state); const [year, setYear] = useState(String(new Date().getFullYear())); useEffect(() => { getConstCostFee(year) }, [year,getConstCostFee]); useEffect(() => { const tableData = constCostRes.map((item) => {}) console.log(' constCostRes : ', constCostRes); },[constCostRes]) return ( <>

공사비 산정표 보기


setYear(String(val))} />
{}} onPageChange={() => {}} /> ); }