summaryrefslogtreecommitdiff
path: root/lib/rfq-last
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-11-24 11:16:32 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-11-24 11:16:32 +0000
commita8674e6b91fb4d356c311fad0251878de154da53 (patch)
tree8bdf91ef99b2628f319df37912ccede1e2f5009c /lib/rfq-last
parent68160eba15a2c8408329b6e14b94d5e44fa7e3ab (diff)
(최겸) 구매 입찰 수정(폐찰, 낙찰 결재 기능 추가 등)
Diffstat (limited to 'lib/rfq-last')
-rw-r--r--lib/rfq-last/quotation-compare-view.tsx2
-rw-r--r--lib/rfq-last/vendor-response/editor/commercial-terms-form.tsx23
-rw-r--r--lib/rfq-last/vendor/price-adjustment-dialog.tsx23
3 files changed, 33 insertions, 15 deletions
diff --git a/lib/rfq-last/quotation-compare-view.tsx b/lib/rfq-last/quotation-compare-view.tsx
index c6710d7b..be19f738 100644
--- a/lib/rfq-last/quotation-compare-view.tsx
+++ b/lib/rfq-last/quotation-compare-view.tsx
@@ -119,8 +119,6 @@ export function QuotationCompareView({ data }: QuotationCompareViewProps) {
{ value: 'construction', label: '공사' },
{ value: 'service', label: '용역' },
{ value: 'lease', label: '임차' },
- { value: 'steel_stock', label: '형강스톡' },
- { value: 'piping', label: '배관' },
{ value: 'transport', label: '운송' },
{ value: 'waste', label: '폐기물' },
{ value: 'sale', label: '매각' }
diff --git a/lib/rfq-last/vendor-response/editor/commercial-terms-form.tsx b/lib/rfq-last/vendor-response/editor/commercial-terms-form.tsx
index 41592e46..463a36c9 100644
--- a/lib/rfq-last/vendor-response/editor/commercial-terms-form.tsx
+++ b/lib/rfq-last/vendor-response/editor/commercial-terms-form.tsx
@@ -805,7 +805,7 @@ export default function CommercialTermsForm({ rfqDetail, rfq, onCurrencyDecimalP
{/* 공통 필드 - 품목등의 명칭 */}
{watch("priceAdjustmentForm.priceAdjustmentResponse") !== null && watch("priceAdjustmentForm.priceAdjustmentResponse") !== undefined && (
<div className="space-y-2">
- <Label htmlFor="priceAdjustmentForm.itemName">품목등의 명칭 *</Label>
+ <Label htmlFor="priceAdjustmentForm.itemName">물품등의 명칭 *</Label>
<Input
id="priceAdjustmentForm.itemName"
{...register("priceAdjustmentForm.itemName")}
@@ -830,7 +830,7 @@ export default function CommercialTermsForm({ rfqDetail, rfq, onCurrencyDecimalP
</div>
<div className="space-y-2">
- <Label htmlFor="priceAdjustmentForm.adjustmentRatio">연동 비율 (%) *</Label>
+ <Label htmlFor="priceAdjustmentForm.adjustmentRatio">반영비율 (%) *</Label>
<Input
id="priceAdjustmentForm.adjustmentRatio"
type="number"
@@ -852,7 +852,7 @@ export default function CommercialTermsForm({ rfqDetail, rfq, onCurrencyDecimalP
</div>
<div className="space-y-2">
- <Label htmlFor="priceAdjustmentForm.referenceDate">기준시점 *</Label>
+ <Label htmlFor="priceAdjustmentForm.referenceDate">원재료 기준 가격의 변동률 산정을 위한 기준시점 *</Label>
<Input
id="priceAdjustmentForm.referenceDate"
type="date"
@@ -862,7 +862,7 @@ export default function CommercialTermsForm({ rfqDetail, rfq, onCurrencyDecimalP
</div>
<div className="space-y-2">
- <Label htmlFor="priceAdjustmentForm.comparisonDate">비교시점 *</Label>
+ <Label htmlFor="priceAdjustmentForm.comparisonDate">원재료 기준 가격의 변동률 산정을 위한 비교시점 *</Label>
<Input
id="priceAdjustmentForm.comparisonDate"
type="date"
@@ -872,7 +872,7 @@ export default function CommercialTermsForm({ rfqDetail, rfq, onCurrencyDecimalP
</div>
<div className="space-y-2">
- <Label htmlFor="priceAdjustmentForm.contractorWriter">수탁기업(협력사) 작성자 *</Label>
+ <Label htmlFor="priceAdjustmentForm.contractorWriter">수탁기업(협력사)작성자 *</Label>
<Input
id="priceAdjustmentForm.contractorWriter"
{...register("priceAdjustmentForm.contractorWriter")}
@@ -937,7 +937,7 @@ export default function CommercialTermsForm({ rfqDetail, rfq, onCurrencyDecimalP
</div>
<div className="space-y-2">
- <Label htmlFor="priceAdjustmentForm.notes">기타 사항</Label>
+ <Label htmlFor="priceAdjustmentForm.notes">기타사항</Label>
<Textarea
id="priceAdjustmentForm.notes"
{...register("priceAdjustmentForm.notes")}
@@ -963,7 +963,7 @@ export default function CommercialTermsForm({ rfqDetail, rfq, onCurrencyDecimalP
</div>
<div className="space-y-2">
- <Label htmlFor="priceAdjustmentForm.contractorWriterNonApplicable">수탁기업(협력사) 작성자 *</Label>
+ <Label htmlFor="priceAdjustmentForm.contractorWriterNonApplicable">수탁기업(협력사)작성자 *</Label>
<Input
id="priceAdjustmentForm.contractorWriterNonApplicable"
{...register("priceAdjustmentForm.contractorWriter")}
@@ -988,6 +988,15 @@ export default function CommercialTermsForm({ rfqDetail, rfq, onCurrencyDecimalP
</CardContent>
</Card>
)}
+
+ {/* 참고 경고문 */}
+ <div className="text-xs text-red-600 space-y-2 bg-red-50 p-3 rounded-md border border-red-200 mt-4">
+ <p className="font-medium">※ 참고사항</p>
+ <div className="space-y-1">
+ <p>• 납품대금의 10% 이상을 차지하는 주요 원재료가 있는 경우 모든 주요 원재료에 대해서 적용 또는 미적용에 대한 연동표를 작성해야 한다.</p>
+ <p>• 납품대급연동표를 허위로 작성하거나 근거자료를 허위로 제출할 경우 본 계약이 체결되지 않을 수 있으며, 본 계약이 체결되었더라도 계약의 전부 또는 일부를 해제 또는 해지할 수 있다.</p>
+ </div>
+ </div>
</>
)}
</CardContent>
diff --git a/lib/rfq-last/vendor/price-adjustment-dialog.tsx b/lib/rfq-last/vendor/price-adjustment-dialog.tsx
index b7fd48a6..56cf5bb0 100644
--- a/lib/rfq-last/vendor/price-adjustment-dialog.tsx
+++ b/lib/rfq-last/vendor/price-adjustment-dialog.tsx
@@ -95,7 +95,7 @@ export function PriceAdjustmentDialog({
<h3 className="text-sm font-medium text-gray-900 mb-3">기본 정보</h3>
<div className="grid grid-cols-2 gap-4">
<div>
- <label className="text-xs text-gray-500">품목등의 명칭</label>
+ <label className="text-xs text-gray-500">물품등의 명칭</label>
<p className="text-sm font-medium">{data.itemName || '-'}</p>
</div>
<div>
@@ -182,17 +182,17 @@ export function PriceAdjustmentDialog({
</div>
<div className="grid grid-cols-2 gap-4">
<div>
- <label className="text-xs text-gray-500">기준시점</label>
+ <label className="text-xs text-gray-500">원재료 기준 가격의 변동률 산정을 위한 기준시점</label>
<p className="text-sm font-medium">{data.referenceDate ? formatDateValue(data.referenceDate) : '-'}</p>
</div>
<div>
- <label className="text-xs text-gray-500">비교시점</label>
+ <label className="text-xs text-gray-500">원재료 기준 가격의 변동률 산정을 위한 비교시점</label>
<p className="text-sm font-medium">{data.comparisonDate ? formatDateValue(data.comparisonDate) : '-'}</p>
</div>
</div>
{data.adjustmentRatio && (
<div>
- <label className="text-xs text-gray-500">연동 비율</label>
+ <label className="text-xs text-gray-500">반영비율</label>
<p className="text-sm font-medium">
{data.adjustmentRatio}%
</p>
@@ -224,12 +224,12 @@ export function PriceAdjustmentDialog({
</div>
</div>
<div>
- <label className="text-xs text-gray-500">수탁기업(협력사) 작성자</label>
+ <label className="text-xs text-gray-500">수탁기업(협력사)작성자</label>
<p className="text-sm font-medium">{data.contractorWriter || '-'}</p>
</div>
{data.notes && (
<div>
- <label className="text-xs text-gray-500">기타 사항</label>
+ <label className="text-xs text-gray-500">기타사항</label>
<p className="text-sm font-medium whitespace-pre-wrap">
{data.notes}
</p>
@@ -260,6 +260,17 @@ export function PriceAdjustmentDialog({
<p>작성일: {formatDateValue(data.createdAt)}</p>
<p>수정일: {formatDateValue(data.updatedAt)}</p>
</div>
+
+ <Separator />
+
+ {/* 참고 경고문 */}
+ <div className="text-xs text-red-600 space-y-2 bg-red-50 p-3 rounded-md border border-red-200">
+ <p className="font-medium">※ 참고사항</p>
+ <div className="space-y-1">
+ <p>• 납품대금의 10% 이상을 차지하는 주요 원재료가 있는 경우 모든 주요 원재료에 대해서 적용 또는 미적용에 대한 연동표를 작성해야 한다.</p>
+ <p>• 납품대급연동표를 허위로 작성하거나 근거자료를 허위로 제출할 경우 본 계약이 체결되지 않을 수 있으며, 본 계약이 체결되었더라도 계약의 전부 또는 일부를 해제 또는 해지할 수 있다.</p>
+ </div>
+ </div>
</div>
</DialogContent>
</Dialog>