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
+7 -1
View File
@@ -571,7 +571,13 @@ export async function mountM01LogicLab(
showLoadingOverlay();
const openKeyOn = async (key: string): Promise<void> => {
if (!(await leave())) return;
const found = allLogics.find((x) => x.키 === key);
// 목록에 없는 부품 문서(813-2) = 키로 읽어 엶
const found =
allLogics.find((x) => x.키 === key) ??
(await fetchLogic(key).then(
(o) => o.logic as unknown as { 구분: string; 키: string },
() => null,
));
if (found) await open(logicId(found.구분, found.키), found.구분, found.키);
else showToast(tx("Load_Failed"), "error");
};