feat: 落地决策 209/211/213——临删联动与0量隐藏、历史检索硬过滤项单位与0价、附件列及只看未绑筛选
This commit is contained in:
@@ -119,7 +119,9 @@ def test_audit_open_reuse_and_remark(server):
|
||||
rows = get(server, "/api/session/rows", session_id=sid, type="bill")
|
||||
assert rows["total"] == 3 and all(len(r) == 8 for r in rows["rows"])
|
||||
lmes = get(server, "/api/session/rows", session_id=sid, type="lme")
|
||||
assert lmes["total"] == 2
|
||||
# 决策 209(2026-10-26 主人定):显示端与导出端一致——0 量行不显示。
|
||||
# 夹具两条项目级汇总,C25混凝土无定额消耗现算 0 量 → 不出行,只剩网络摄像机(有消耗 1.5×量)。
|
||||
assert lmes["total"] == 1 and lmes["rows"][0][1] == "000001"
|
||||
# 写备注 → 同名重开(原地续用,wipe 后重写)→ 行数不翻倍 + 备注按 rkey 回填
|
||||
bill_id = [r[0] for r in rows["rows"] if r[1] == CAM[0]][0]
|
||||
post(server, "/api/session/remark", {"bill_id": bill_id, "remark": "摄像机价格存疑"})
|
||||
|
||||
Reference in New Issue
Block a user