refactor(841-1): B09 재료 관급 · 별도 = M02 자재표시 — A 걸음 이어서

- 대가 · 산근 재료 줄 = M02 자재표시(기본 별도계상 · 관급) → 대가 · 산근 안 0 원(M02 셈과 같음) · % 덧줄 밑수는 엔진 값 그대로
- 자재단가대비표 기본 표시 = M02 자재표시(사용자 표시가 앞섬 · 「사급」 = 기본 끔 · 칸 누름 차례 관급 → 별도 → 사급)
- 4 자재대 · 관급자재대 수량 = 대가 · 산근 밖 재료 역전개 수량(aside_qty) · 집계표에서 겹침 0
- 새 파일 B09_Estimation_Supply.py(표시 함수 · Router 700 줄 막음)
- 견본 대가 = M02 반영합(1,527,221 · 1,267,314) · 전후 표 tmp/841_1/전후표.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 15:50:56 +09:00
co-authored by Claude Opus 5.5
parent f2d51252a0
commit 30c062bd48
13 changed files with 131 additions and 23 deletions
+3 -1
View File
@@ -158,7 +158,9 @@ function compareSheet(materials: Row[], user: Row, gaps: Gap[]): Row[] {
else [applied, appliedFrom] = [low, lowFrom];
if (applied === null) gaps.push(gap("compare", m.key, m.name, "적용 단가 없음(출처 없음)"));
const supply =
[mine.supply, m.supply].find((v) => (SUPPLY as readonly string[]).includes(v)) ?? null;
mine.supply === "사급" // 841-1 사용자가 기본 표시(M02 자재표시)를 끔
? null
: ([mine.supply, m.supply].find((v) => (SUPPLY as readonly string[]).includes(v)) ?? null);
return {
...head(m, i + 1),
unit: m.unit || "",