From 5fe800c27ff8caabbb0ac64c5dab8062aac43684 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 14 Oct 2025 08:35:00 +0000
Subject: (최겸) 구매 입찰 status 별 중복 응답 제한 및 기타 요구사항 반영
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding/list/biddings-table-columns.tsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'lib/bidding/list/biddings-table-columns.tsx')

diff --git a/lib/bidding/list/biddings-table-columns.tsx b/lib/bidding/list/biddings-table-columns.tsx
index 4900d18a..d6044e93 100644
--- a/lib/bidding/list/biddings-table-columns.tsx
+++ b/lib/bidding/list/biddings-table-columns.tsx
@@ -601,9 +601,15 @@ export function getBiddingsColumns({ setRowAction }: GetColumnsProps): ColumnDef
               <Eye className="mr-2 h-4 w-4" />
               상세보기
             </DropdownMenuItem>
-            <DropdownMenuItem onClick={() => setRowAction({ row, type: "update" })}>
+            <DropdownMenuItem
+              onClick={() => setRowAction({ row, type: "update" })}
+              disabled={['bidding_opened', 'bidding_closed', 'vendor_selected'].includes(row.original.status)}
+            >
               <Edit className="mr-2 h-4 w-4" />
               수정
+              {['bidding_opened', 'bidding_closed', 'vendor_selected'].includes(row.original.status) && (
+                <span className="text-xs text-muted-foreground ml-2">(수정 불가)</span>
+              )}
             </DropdownMenuItem>
             {/* <DropdownMenuSeparator />
             <DropdownMenuItem onClick={() => setRowAction({ row, type: "copy" })}>
-- 
cgit v1.2.3

