Merge branch 'main' into feature/negodata
Helped-By: Claude Opus 4.8뀨 <noreply@anthropic.com>
This commit is contained in:
commit
3176ec4262
55 files changed
+915
-771
No files matched your search
+1
-1
@@ -104,7 +104,7 @@ export function DrawerHeaderCards({
|
||||
<span className="font-sans font-bold text-foreground">{won(repSession?.target_price)}</span>
|
||||
)}
|
||||
</InfoField>
|
||||
<InfoField label="앵커링가" value={won(repSession?.target_anchoring_price)} valueClassName="font-sans" />
|
||||
<InfoField label="앵커링가" value={won(repSession?.anchoring_price)} valueClassName="font-sans" />
|
||||
<InfoField label="견적상태" labelClassName="opacity-90 font-bold mb-1">
|
||||
<QuotationStatusBadge status={quotation.status} />
|
||||
</InfoField>
|
||||
|
||||
+3
-3
@@ -181,12 +181,12 @@ export function SessionsStatusTab({
|
||||
<StatusPill tone={sessionStatusTone(sess.status)}>{sessionStatusLabel(sess.status)}</StatusPill>
|
||||
</TableCell>
|
||||
<TableCell className="p-3 text-right text-muted-foreground">
|
||||
{sess.target_anchoring_price > 0 ? (
|
||||
{sess.anchoring_price > 0 ? (
|
||||
<>
|
||||
₩{sess.target_anchoring_price.toLocaleString()}
|
||||
₩{sess.anchoring_price.toLocaleString()}
|
||||
{sess.target_price > 0 && (
|
||||
<span className="ml-0.5 text-[10px] opacity-70">
|
||||
({((1 - sess.target_anchoring_price / sess.target_price) * 100).toFixed(1)}%)
|
||||
({((1 - sess.anchoring_price / sess.target_price) * 100).toFixed(1)}%)
|
||||
</span>
|
||||
)}
|
||||
</>
|
||||
|
||||
+3
-2
@@ -122,15 +122,16 @@ export function TargetPriceModal({
|
||||
})}
|
||||
</div>
|
||||
|
||||
{/* 앵커링 (negodata: 앵커링가는 칸 rate v1.2로 산정·박제, 세팅 고정율 폐지) */}
|
||||
{/* 앵커링 (negodata: 설정 anchoring_value 고정율) */}
|
||||
<div className="mt-4 bg-muted/40 border border-border rounded p-3 space-y-1">
|
||||
<Typography as="p" variant="small" className="font-bold text-foreground text-[11px]">앵커링</Typography>
|
||||
{category && (
|
||||
<Typography as="p" variant="small" className="text-[11px] text-muted-foreground">서비스 카테고리: {category}</Typography>
|
||||
)}
|
||||
<Typography as="p" variant="small" className="text-[11px] text-muted-foreground">공급 업체 유형: {supplierTypeLabel}</Typography>
|
||||
<Typography as="p" variant="small" className="text-[11px] text-muted-foreground">앵커링 값: {bd.anchoring_value}</Typography>
|
||||
<Typography as="p" variant="small" className="text-[11px] font-bold text-foreground">
|
||||
앵커링가: {won(bd.target_anchoring_price)} <span className="font-normal text-[10px] text-muted-foreground">= 목표가 × (1 − 앵커링율)</span>
|
||||
앵커링가: {won(bd.anchoring_price)} <span className="font-normal text-[10px] text-muted-foreground">= 목표가×(1−{bd.anchoring_value})</span>
|
||||
</Typography>
|
||||
</div>
|
||||
</>
|
||||
|
||||
@@ -242,7 +242,7 @@ export type SessionView = {
|
||||
item_name: string;
|
||||
status: number;
|
||||
target_price: number;
|
||||
target_anchoring_price: number;
|
||||
anchoring_price: number;
|
||||
bid_price: number | null;
|
||||
bid_at: string;
|
||||
reject_reason: string | null;
|
||||
@@ -379,7 +379,7 @@ export function mapServerSessionView(sd: SessionData, partners: Partner[], produ
|
||||
item_name: product?.name || '-',
|
||||
status: sd.status,
|
||||
target_price: sd.target_price ?? 0,
|
||||
target_anchoring_price: sd.target_anchoring_price ?? 0,
|
||||
anchoring_price: sd.anchoring_price ?? 0,
|
||||
bid_price: sd.bid_price ?? null,
|
||||
bid_at: sd.bid_at ? fmtDateTime(sd.bid_at) : '-',
|
||||
reject_reason: sd.reject_reason ?? null,
|
||||
|
||||
Reference in new issue
Block a user