feat(WEB): Vercel 배포 대응 및 타입 안정성 개선

- puppeteer → puppeteer-core + @sparticuz/chromium 전환 (Vercel 서버리스 호환)
- PDF 생성 API 로컬/Vercel 환경 분기 처리
- next.config.ts: ignoreBuildErrors false로 전환
- WorkOrder items에 orderNodeId/orderNodeName 필드 추가
- 결재선 데이터에 name/dept 필드 추가
- OrderSalesDetailView 타입 캐스팅 안전하게 수정
- vercel.json 설정 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-02-09 10:45:57 +09:00
parent f3b07ac875
commit f320ec7d37
20 changed files with 226 additions and 269 deletions

View File

@@ -133,16 +133,16 @@ function OrderNodeCard({ node, depth = 0 }: { node: OrderNode; depth?: number })
)}
<MapPin className="h-4 w-4 text-blue-500" />
<span className="font-semibold text-sm">{node.name}</span>
{options.product_name && (
{options.product_name ? (
<span className="text-xs text-muted-foreground">
({options.product_name as string})
({String(options.product_name)})
</span>
)}
{(options.open_width || options.open_height) && (
) : null}
{(options.open_width || options.open_height) ? (
<span className="text-xs text-muted-foreground">
{options.open_width as string}x{options.open_height as string}mm
{String(options.open_width ?? '')}x{String(options.open_height ?? '')}mm
</span>
)}
) : null}
</div>
<div className="flex items-center gap-3">
<BadgeSm className={statusConfig.className}>