From f93493f68c9f368e10f1c3379f1c1384068e3b14 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 8 Sep 2025 10:29:19 +0000
Subject: (대표님, 최겸) rfqLast, bidding, prequote
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding/list/create-bidding-dialog.tsx | 31 ++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

(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 e5bfcae4..88697903 100644
--- a/lib/bidding/list/create-bidding-dialog.tsx
+++ b/lib/bidding/list/create-bidding-dialog.tsx
@@ -114,6 +114,8 @@ interface PRItemInfo {
     itemInfo: string
     quantity: string
     quantityUnit: string
+    totalWeight: string
+    weightUnit: string
     requestedDeliveryDate: string
     specFiles: File[]
     isRepresentative: boolean // 대표 아이템 여부
@@ -341,6 +343,8 @@ export function CreateBiddingDialog() {
             itemInfo: "",
             quantity: "",
             quantityUnit: "EA",
+            totalWeight: "",
+            weightUnit: "KG",
             requestedDeliveryDate: "",
             specFiles: [],
             isRepresentative: prItems.length === 0, // 첫 번째 아이템은 자동으로 대표 아이템
@@ -1438,6 +1442,8 @@ export function CreateBiddingDialog() {
                                                                             <TableHead>품목정보</TableHead>
                                                                             <TableHead className="w-[80px]">수량</TableHead>
                                                                             <TableHead className="w-[80px]">단위</TableHead>
+                                                                            <TableHead className="w-[80px]">중량</TableHead>
+                                                                            <TableHead className="w-[80px]">중량단위</TableHead>
                                                                             <TableHead className="w-[140px]">납품요청일</TableHead>
                                                                             <TableHead className="w-[80px]">스펙파일</TableHead>
                                                                             <TableHead className="w-[80px]">액션</TableHead>
@@ -1505,6 +1511,31 @@ export function CreateBiddingDialog() {
                                                                                         </SelectContent>
                                                                                     </Select>
                                                                                 </TableCell>
+                                                                                <TableCell>
+                                                                                    <Input
+                                                                                        type="number"
+                                                                                        placeholder="중량"
+                                                                                        value={item.totalWeight}
+                                                                                        onChange={(e) => updatePRItem(item.id, { totalWeight: e.target.value })}
+                                                                                        className="h-8"
+                                                                                    />
+                                                                                </TableCell>
+                                                                                <TableCell>
+                                                                                    <Select
+                                                                                        value={item.weightUnit}
+                                                                                        onValueChange={(value) => updatePRItem(item.id, { weightUnit: value })}
+                                                                                    >
+                                                                                        <SelectTrigger className="h-8">
+                                                                                            <SelectValue />
+                                                                                        </SelectTrigger>
+                                                                                        <SelectContent>
+                                                                                            <SelectItem value="KG">KG</SelectItem>
+                                                                                            <SelectItem value="TON">TON</SelectItem>
+                                                                                            <SelectItem value="G">G</SelectItem>
+                                                                                            <SelectItem value="LB">LB</SelectItem>
+                                                                                        </SelectContent>
+                                                                                    </Select>
+                                                                                </TableCell>
                                                                                 <TableCell>
                                                                                     <Input
                                                                                         type="date"
-- 
cgit v1.2.3

