diff --git a/resources/tester/test_m02_item_list.py b/resources/tester/test_m02_item_list.py index 63b809bd7..ccdfa1f68 100644 --- a/resources/tester/test_m02_item_list.py +++ b/resources/tester/test_m02_item_list.py @@ -75,7 +75,9 @@ def test_서버_목록_칸_수정일_labor(world): ditch, wall = t.item(["배수", "측구"]), t.item(["옹벽"]) assert set(ditch["수정일"]) >= {"structure", "area"} assert len(ditch["수정일"]["structure"]) == 19 # 초 단위 ISO - assert ditch["labor"] is None # 일위대가 파일 없음 + assert ( + ditch["labor"]["로직수"] == 0 and ditch["labor"]["합계"] is None + ) # 새 열 = 빈 일위대가(39-1b) (root / "labor").mkdir(exist_ok=True) doc = { "일위대가번": "SU-000001", diff --git a/resources/tester/test_m02_structure_panel.py b/resources/tester/test_m02_structure_panel.py index 51b58e851..1df781508 100644 --- a/resources/tester/test_m02_structure_panel.py +++ b/resources/tester/test_m02_structure_panel.py @@ -46,7 +46,7 @@ def test_소스가_700줄을_넘지_않음(): [ ( "M02_MasterTemplete_Api_Fetch.ts", - ["createStructure", "fetchStructureNumbers", "readTemplate"], + ["createStructure", "fetchStructureNumbers"], # readTemplate 은 39-4 에서 뺌 PANEL, ), # 산출근거 저장은 컨테이너가 안 함 — [산출근거 수정] 이 여는 메인 칸 전체 편집이 함 diff --git a/ui_template/ui_template_item_picker_project.ts b/ui_template/ui_template_item_picker_project.ts index b3f46bb7a..ef9a68c3e 100644 --- a/ui_template/ui_template_item_picker_project.ts +++ b/ui_template/ui_template_item_picker_project.ts @@ -301,8 +301,8 @@ export async function laborOf( 번호: null, 로직: got.줄.map((line) => line.로직), 자재: got.자재.length, - base: got.기준합.계 ?? null, - reflected: got.반영합.계 ?? null, + base: got.기준합?.계 ?? null, + reflected: got.반영합?.계 ?? null, gaps: 0, stuck: got.줄.filter((line) => line.까닭).length, };