fix: 完善动态错误指引与发票日期校验(09-05-error-explainability-payment-readiness)

这个提交包含在:
2026-09-16 12:56:27 +08:00
父节点 b7d2285d8d
当前提交 3516d7ec04
共修改 28 个文件,包含 791 行新增和 616 行删除
+5
查看文件
@@ -216,6 +216,10 @@ test.describe("visual portal", () => {
await page.goto(mobile ? "/mobile" : "/portal");
await expect(page.getByText("报销待组建付款批次 · BX-SYN", { exact: true })).toBeVisible();
await expect(page.getByText("付款与回单待处理 · PB-SYN", { exact: true })).toBeVisible();
await expect(page.getByRole("link").filter({ hasText: "报销待组建付款批次 · BX-SYN" }))
.toHaveAttribute("href", mobile ? "/mobile/reimbursements/synthetic" : "/reimbursements/synthetic");
await expect(page.getByRole("link").filter({ hasText: "付款与回单待处理 · PB-SYN" }))
.toHaveAttribute("href", mobile ? "/mobile/payment-batches?id=synthetic" : "/payment-batches?id=synthetic");
await expect(page.getByText("待付款批次 9 个", { exact: true })).toHaveCount(0);
await expect(page.getByText("异常付款 1 项", { exact: true })).toHaveCount(0);
if (mobile) await expect(page.getByTestId("mobile-business-handoffs")).toContainText("2 项");
@@ -225,6 +229,7 @@ test.describe("visual portal", () => {
items = [];
await page.reload();
await expect(page.getByText("付款与回单待处理 · PB-SYN", { exact: true })).toHaveCount(0);
await expect(page.getByText("报销待组建付款批次 · BX-SYN", { exact: true })).toHaveCount(0);
await expect(page.getByText("待付款批次 9 个", { exact: true })).toHaveCount(0);
});
}