diff --git a/B08_Quantity/B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts b/B08_Quantity/B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts index f61944a7..548dc2cd 100644 --- a/B08_Quantity/B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts +++ b/B08_Quantity/B08_Quantity_UI_StructureSheet_UnitPriceEdit.ts @@ -233,7 +233,16 @@ export function unitPriceEditor(options: EditorOptions): HTMLElement { if (!response.ok) throw new Error(payload.message ?? `HTTP ${response.status}`); const items = payload.items ?? []; results.replaceChildren( - ...(items.length ? items.map(choice) : [el("span", "b08-grid__caption", "없음")]), + ...(items.length + ? items.map(choice) + : [ + // 후보 0 — 조용히 막히지 않게 다음 길을 적음(갈래 바꿔 찾기 · 수동 단가는 미확정으로 셈). + el( + "span", + "b08-grid__caption", + "단가표에 후보 없음 — 낱말·갈래(품셈/자원)를 바꿔 찾거나, 이 줄에 수동 단가를 넣을 것(미확정으로 셈)", + ), + ]), ); } catch (error) { results.replaceChildren( diff --git a/resources/tester/test_b08_stmate_fixed_chain.py b/resources/tester/test_b08_stmate_fixed_chain.py index d7d96d63..6bce200f 100644 --- a/resources/tester/test_b08_stmate_fixed_chain.py +++ b/resources/tester/test_b08_stmate_fixed_chain.py @@ -105,6 +105,8 @@ def test_찾기는_코드_없는_줄_이름으로_후보만_띄운다() -> None: encoding="utf-8" ) assert "query.value = row.name" in ui and "!row.ref_code && !row.work_item_code" in ui + # 후보 0 이면 다음 길(갈래 바꾸기 · 수동 단가)을 적음 — 조용히 「없음」으로 막히지 않게(2026-09-14 브레인) + assert "수동 단가를 넣을 것" in ui def test_사용자가_코드를_고르면_금액이_선다() -> None: