feat(m02): 「단가승격」 화면 글 → 「일위대가화」(149-3)

- 로직 줄 구분 칸 · 드롭다운 글 = 일위대가화 · 저장 키 `승격` 그대로
- B09 안내 · 빈 표 글은 155(데스크탑 보조) 몫 — 안 고침

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SE9MxeXTu2uaDZ55BJowAY
This commit is contained in:
2026-10-09 19:05:05 +09:00
co-authored by Claude Opus 5.5
parent 549e0fea69
commit 8ad8516717
2 changed files with 14 additions and 1 deletions
@@ -90,7 +90,7 @@ const TEXT = {
Labor_Calc_Fail: ["계산 못 함", "Calculation failed"],
// 구분(50-4)
Kind_Logic: ["단가산출", "Logic"],
Kind_Promote: ["단가승격", "Promoted"],
Kind_Promote: ["일위대가화", "Unit-price item"],
Kind_Combo: ["일위조합", "Combination"],
Labor_LineDetail: ["상세 — {value}", "Detail — {value}"],
Labor_LineApplied: ["반영(수량 곱함)", "Applied (× quantity)"],
@@ -88,3 +88,16 @@ def test_화면_정리도_참만_통과():
)
rows = json.loads(proc.stdout)["담은로직"]
assert [r.get("승격") for r in rows] == [True, None, None]
def test_화면_글은_일위대가화_저장_키는_승격():
"""149-3 — 구분 칸 · 드롭다운 글 = 「일위대가화」 · 저장 키 `승격` 그대로"""
from pathlib import Path
m02 = Path(HERE).parents[1] / "M02_MasterTemplete"
text = (m02 / "M02_MasterTemplete_Labor_Text.ts").read_text("utf-8")
assert 'Kind_Promote: ["일위대가화", "Unit-price item"],' in text
assert "단가승격" not in text
rows = (m02 / "M02_MasterTemplete_Labor_Rows.ts").read_text("utf-8")
assert 'tc("Kind_Promote")' in rows
assert "승격?: boolean;" in (m02 / "M02_MasterTemplete_Labor_Api.ts").read_text("utf-8")