feat(813-2): M01 「기계」 · 「계수」 아래 부품 문서 · 줄 쌓기 [+] 메뉴 「식」

- M01 기계 › 상세구분(기종) = 「시간당 기계경비 계산식」(그 기종 기계가 쓰는 방식 · 기계 수) · 「작업량 공식 틀」 · 계수 = 「계수식」 넷
- 이름 누름 = 줄 쌓기 읽기 창(고침 없음) · [단가산출 기초에서 열기] = 지금 수식 탭에서 고침(목록 밖 부품 키도 키로 읽어 엶)
- 줄 쌓기 [+] 메뉴 「식 — 공식 틀」 → 「식」
- 할 일 4 ② 공식 묶음 [찾아 넣기] 걷기 · ③ 기계 넣기 + 작업량 틀 = 요구 739 · 740 로 뺌(지금 동작 그대로)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 20:50:00 +09:00
co-authored by Claude Opus 5.5
parent 58a3e039b3
commit 0b91e37806
5 changed files with 135 additions and 2 deletions
+4
View File
@@ -48,6 +48,7 @@ import {
} from "./M01_MasterData_UI_Side";
import { loadTable } from "./M01_MasterData_UI_Logic_Note";
import { tl } from "./M01_MasterData_UI_LogicLab_Text";
import { renderParts } from "./M01_MasterData_UI_Parts";
import { renderTables } from "./M01_MasterData_UI_Tables";
import type { LogicHandle } from "./M01_MasterData_UI_LogicLab";
import "./M01_MasterData_UI_Style.css";
@@ -84,6 +85,7 @@ function buildPage(): HTMLElement {
attrs: { hidden: "" },
});
const body = el("div", { className: "m01-master__body" });
const partsHost = el("div"); // 기계 · 계수 표 아래 부품 문서(813-2)
// 제목 줄 · 찾기 줄 = 「단가산출 로직」 화면과 같은 공용 조각
const headBar = buildHeadBar({ title, status: [summary], buttons: [drop, save] });
const head = el("div", {
@@ -99,6 +101,7 @@ function buildPage(): HTMLElement {
notice,
el("p", { className: "m01-master__hint", text: L("M01_WideHint") }),
body,
partsHost,
],
});
@@ -173,6 +176,7 @@ function buildPage(): HTMLElement {
: pick.group === "요율"
? renderRateRows(body, pick, query)
: renderRows(body, pick, query);
renderParts(partsHost, pick, (key) => openLogicTab(key));
showNotice(isStale(pick.file.file, pick.file.version) ? [L("M01_FileStale")] : []);
};