From fd542b5ad4bf94b82d872f87b96aa2e7514ffbc3 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 19 Sep 2025 09:40:38 +0000
Subject: (최겸) 구매 일반계약 수정, 견적 입찰 계약 세금코드 select 적용
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding/list/create-bidding-dialog.tsx | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

(limited to 'lib/bidding/list/create-bidding-dialog.tsx')

diff --git a/lib/bidding/list/create-bidding-dialog.tsx b/lib/bidding/list/create-bidding-dialog.tsx
index a25dd363..cb91a984 100644
--- a/lib/bidding/list/create-bidding-dialog.tsx
+++ b/lib/bidding/list/create-bidding-dialog.tsx
@@ -69,6 +69,7 @@ import { Checkbox } from "@/components/ui/checkbox"
 
 import { createBidding, type CreateBiddingInput } from "@/lib/bidding/service"
 import { getIncotermsForSelection, getPaymentTermsForSelection, getPlaceOfShippingForSelection, getPlaceOfDestinationForSelection } from "@/lib/procurement-select/service"
+import { TAX_CONDITIONS } from "@/lib/tax-conditions/types"
 import {
     createBiddingSchema,
     type CreateBiddingSchema
@@ -1475,14 +1476,24 @@ export function CreateBiddingDialog() {
                                                             <label className="text-sm font-medium">
                                                                 세금조건 <span className="text-red-500">*</span>
                                                             </label>
-                                                            <Input
-                                                                placeholder="예: 부가세 별도"
+                                                            <Select 
                                                                 value={biddingConditions.taxConditions}
-                                                                onChange={(e) => setBiddingConditions(prev => ({
+                                                                onValueChange={(value) => setBiddingConditions(prev => ({
                                                                     ...prev,
-                                                                    taxConditions: e.target.value
+                                                                    taxConditions: value
                                                                 }))}
-                                                            />
+                                                            >
+                                                                <SelectTrigger>
+                                                                    <SelectValue placeholder="세금조건 선택" />
+                                                                </SelectTrigger>
+                                                                <SelectContent>
+                                                                    {TAX_CONDITIONS.map((condition) => (
+                                                                        <SelectItem key={condition.code} value={condition.code}>
+                                                                            {condition.name}
+                                                                        </SelectItem>
+                                                                    ))}
+                                                                </SelectContent>
+                                                            </Select>
                                                         </div>
 
                                                         <div className="space-y-2">
-- 
cgit v1.2.3

