diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-19 09:40:38 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-19 09:40:38 +0000 |
| commit | fd542b5ad4bf94b82d872f87b96aa2e7514ffbc3 (patch) | |
| tree | 0dbf6e67a56efaf556c65245cf07fcf79bbde0f1 /lib/bidding/list/create-bidding-dialog.tsx | |
| parent | 9ecdfb23fe3df6a5df86782385002c562dfc1198 (diff) | |
(최겸) 구매 일반계약 수정, 견적 입찰 계약 세금코드 select 적용
Diffstat (limited to 'lib/bidding/list/create-bidding-dialog.tsx')
| -rw-r--r-- | lib/bidding/list/create-bidding-dialog.tsx | 21 |
1 files changed, 16 insertions, 5 deletions
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"> |
