From e84cf02a1cb4959a9d3bb5bbf37885c13a447f78 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 13 Oct 2025 17:29:33 +0900 Subject: (김준회) SHI/벤더 PO 구현 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/po/vendor-table/shi-vendor-po-columns.tsx | 59 ++++++++++++++------------- 1 file changed, 30 insertions(+), 29 deletions(-) (limited to 'lib/po/vendor-table/shi-vendor-po-columns.tsx') diff --git a/lib/po/vendor-table/shi-vendor-po-columns.tsx b/lib/po/vendor-table/shi-vendor-po-columns.tsx index 041e0c05..356b3dab 100644 --- a/lib/po/vendor-table/shi-vendor-po-columns.tsx +++ b/lib/po/vendor-table/shi-vendor-po-columns.tsx @@ -6,7 +6,9 @@ import { SendIcon, FileTextIcon, MoreHorizontalIcon, + EyeIcon, } from "lucide-react" +import { useRouter, useParams } from "next/navigation" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" @@ -404,8 +406,34 @@ export function getShiVendorColumns({ enableHiding: false, header: () =>
Actions
, cell: ({ row }) => { + // eslint-disable-next-line react-hooks/rules-of-hooks + const router = useRouter() + // eslint-disable-next-line react-hooks/rules-of-hooks + const params = useParams() + const lng = params.lng as string + return (
+ {/* 계약 상세보기 버튼 */} + + + + + + + 계약 상세 정보 보기 + + + + {/* 서명 요청 버튼 */} @@ -425,38 +453,11 @@ export function getShiVendorColumns({ - - {/* 드롭다운 메뉴 (추가 액션) - - - - - - 액션 - setRowAction({ row, type: "view-items" })} - > - - 상세품목 보기 - - - setRowAction({ row, type: "signature-request" })} - className="text-blue-600" - > - - 서명 요청 - - - */}
) }, - size: 160, - minSize: 160, + size: 200, + minSize: 200, }, ] } \ No newline at end of file -- cgit v1.2.3