refactor(shipping-inventory): 统一库存准备事实来源与门禁状态

This commit is contained in:
hugo committed 2026-09-04 20:23:00 +08:00
1 parent 761a06e21a
commit eb55f407ae
62 files changed
+4242 -1471

No files matched your search

@@ -7,7 +7,7 @@ def test_format_match_summary_fulfillable():
[
{
"part_number": "D4-A08AR12000002",
"reservation_id": "AWS-311",
"reservation_id": "1000140351",
"required_qty": 2,
"available_qty": 5,
"shortage_qty": 0,
@@ -17,7 +17,7 @@ def test_format_match_summary_fulfillable():
)
assert "【库存匹配结果】" in msg or "匹配明细" in msg
assert "| # | 预订单号 | 内部料号 |" in msg
assert "| 1 | AWS-311 | D4-A08AR12000002 | 2 | 5 | - |" in msg
assert "| 1 | 1000140351 | D4-A08AR12000002 | 2 | 5 | - |" in msg
assert "✅ 充足" in msg
assert "可生成发货 Excel" in msg