feat(830-10): 불러오기 재료 찾기를 지역 · 상하차 칸에 맞춤 — 가져온 줄 글은 빌더 규칙으로 판독

- 새 M02_Mat_Place: 가져온 이름 · 규격 → (뺀 이름, 뺀 규격, 지역, 상하차)(material_merge 판독 한 벌) · 고르는 차례 rank
- 고르는 차례 = 상하차 맞음(글 없으면 -) › 값 있는 줄 › 줄 지역 › 전국 · 지역 모름 › 서울 › 경기 › 그 밖(값 가운데에 가까운 줄)
- Elem_Alias(_same · one · region_of) · Hopyo_Match(목록에 지역 · 상하차 · 값 · 이름 같음 = 뺀 이름 + 지역 · 상하차 같음) · Hopyo_Material(_places · 변형 지역 = 지역 칸 · _prefer) · MatSame._pick · MatFind 후보 글 = 지역 칸
- 다시 고르기 · 찾기 창 · 줄 풍선말 후보 글에 지역 · 상하차(M01 placeNote 한 벌)
- 시험: 814_1 · m02_hopyo_match 기대를 지역 칸 꼴로 · 새 지킴 test_830_10_material_region 21
- 불러오기 지킴 812_1 · 814_1 · 815_1 · 817_1 · 827_2 · 827_3 · 828_1 · 828_2 · 778_5 ×2 · 793_2 ×2 · 797_1 ×2 · m02_hopyo_match 통과 · typecheck 0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-14 20:57:23 +09:00
co-authored by Claude Opus 5.5
parent 98f3ab59cb
commit dd9ebad8d1
12 changed files with 305 additions and 40 deletions
@@ -34,6 +34,7 @@ import { createTabs } from "@ui/ui_template_tabs";
import { createText } from "@ui/ui_template_text";
import { fetchSessionUser } from "../A06_Login/A06_Login_Api_Fetch";
import type { LogicSummary } from "../M01_MasterData/M01_MasterData_UI_Logic_Api";
import { placeNote } from "../M01_MasterData/M01_MasterData_Api_Fetch";
import { call, type Layer } from "./M02_MasterTemplete_Api_Fetch";
import { fetchLibLogics, fetchStandard, type StandardRow } from "./M02_MasterTemplete_Labor_Api";
import type { LaborFixed, LaborRef } from "./M02_MasterTemplete_Labor_Calc";
@@ -156,6 +157,9 @@ interface PickItem {
이름: string;
규격?: string | null;
단위?: string | null;
/** 재료 지역 · 상하차 칸(830-10) */
지역?: string | null;
상하차?: string | null;
값: unknown;
}
/** 표 한 줄 + 누름 */
@@ -278,7 +282,7 @@ export function openFindPicker(opt: FindPickOptions): void {
규격: e.규격,
단위: e.단위,
금액: e.값,
구분: join(kind, m.구분, put ? "" : L("M02_FindElementLater")),
구분: join(kind, m.구분, placeNote(m), put ? "" : L("M02_FindElementLater")),
출처: `M01 ${m.ref}`,
dim: !put,
go: !put