refactor(cost): 优化LME成员去重与措施清单标签还原,清理临时核查脚本

This commit is contained in:
lianjianwei2024
2026-11-04 18:03:16 +08:00
parent 4e5a157687
commit 449d6d18ba
157 changed files with 82259 additions and 300 deletions

View File

@@ -107,5 +107,7 @@ def test_rollup_end_to_end(server):
dv = root.find("DivisionalWorks")
if "Total" in dv.attrib: # 骨架有该列才回填(列由骨架闸门)
assert dv.attrib["Total"] == "2000.00" # 分部合价=修改后的清单合价
assert root.find(".//WorkElement").attrib["Total"] == "2000.00" # 清单合价 2 位(决策 244 补六)
assert root.find(".//WorkElement").attrib["Quantity"] == "20.000000" # 数量 6 位(决策 264 补记五)
_we = root.find(".//WorkElement[@Number='B001']")
assert _we is not None
assert _we.attrib["Total"] == "2000.00" # 清单合价 2 位(决策 244 补六)
assert _we.attrib["Quantity"] == "20.000000" # 数量 6 位(决策 264 补记五)