From a8674e6b91fb4d356c311fad0251878de154da53 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 24 Nov 2025 11:16:32 +0000 Subject: (최겸) 구매 입찰 수정(폐찰, 낙찰 결재 기능 추가 등) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bidding/manage/bidding-basic-info-editor.tsx | 22 +- .../bidding/manage/bidding-companies-editor.tsx | 27 +- .../manage/bidding-detail-vendor-create-dialog.tsx | 30 ++- components/bidding/manage/bidding-items-editor.tsx | 271 ++++++++++++++++++--- .../bidding/manage/create-pre-quote-rfq-dialog.tsx | 62 +++-- 5 files changed, 347 insertions(+), 65 deletions(-) (limited to 'components/bidding/manage') diff --git a/components/bidding/manage/bidding-basic-info-editor.tsx b/components/bidding/manage/bidding-basic-info-editor.tsx index c2c668a4..3c450065 100644 --- a/components/bidding/manage/bidding-basic-info-editor.tsx +++ b/components/bidding/manage/bidding-basic-info-editor.tsx @@ -721,7 +721,7 @@ export function BiddingBasicInfoEditor({ biddingId, readonly = false }: BiddingB - 구매조직 + 구매조직 * - + {biddingType !== 'equipment' ? ( updatePRItem(item.id, { quantity: e.target.value })} className="h-8 text-xs" + required /> ) : ( updatePRItem(item.id, { totalWeight: e.target.value })} className="h-8 text-xs" + required /> )} @@ -762,6 +913,7 @@ export function BiddingItemsEditor({ biddingId, readonly = false }: BiddingItems updatePRItem(item.id, { weightUnit: value })} + required > @@ -797,9 +950,42 @@ export function BiddingItemsEditor({ biddingId, readonly = false }: BiddingItems type="number" min="1" step="1" - placeholder="구매단위" - value={item.purchaseUnit || ''} - onChange={(e) => updatePRItem(item.id, { purchaseUnit: e.target.value })} + placeholder="가격단위" + value={item.priceUnit || ''} + onChange={(e) => updatePRItem(item.id, { priceUnit: e.target.value })} + className="h-8 text-xs" + /> + + + + + + updatePRItem(item.id, { materialWeight: e.target.value })} className="h-8 text-xs" /> @@ -887,10 +1073,24 @@ export function BiddingItemsEditor({ biddingId, readonly = false }: BiddingItems + + updatePRItem(item.id, { requestedDeliveryDate: e.target.value })} + className="h-8 text-xs" + required + /> +