feat: 完善真实采购订单核对与恢复 (#100)

This commit is contained in:
chengma
2026-08-10 16:54:06 +08:00
parent 16107aaa18
commit df67b0eaaa
16 changed files with 1134 additions and 103 deletions
+7 -2
View File
@@ -122,8 +122,13 @@ class TaskDetailViewTest(unittest.TestCase):
def test_purchase_recovery_steps_are_clear_chinese(self):
cases = {
"purchase_dry_run_stopped": "采购演练已在提交前停止",
"reconcile_purchase": "只允许核对订单",
"reconcile_manual_review": "核对结果不确定,需人工处理",
"reconcile_purchase": "订单已提交,只允许核对未付款订单",
"purchase_order_matched_pending_report": (
"已提交待付款,等待向 Admin 上报"
),
"reconcile_manual_review": (
"订单结果不确定或存在多个候选,需人工处理"
),
}
for step, expected in cases.items():
with self.subTest(step=step):