修复财务整柜成本雪花ID精度

This commit is contained in:
2026-08-12 13:37:47 +08:00
parent c2b1ab92ff
commit 584b73faf5
2 changed files with 3 additions and 2 deletions
@@ -152,7 +152,8 @@ test('fixture creates four real receivable manual sources before payable source'
})
test('container cost uses loading plan identity and verifies snapshot fields before Finance', () => {
assert.match(source, /containerId: Number\(container\.loadingPlanId\)/)
assert.match(source, /containerId: String\(container\.loadingPlanId\)/)
assert.doesNotMatch(source, /containerId: Number\(container\.loadingPlanId\)/)
assert.match(source, /smart-loading\/plans\/\$\{encodeURIComponent\(container\.loadingPlanId\)\}/)
assert.match(source, /id\(item\?\.accountId\) === id\(customerId\)/)
assert.match(source, /Number\(item\?\.orderId\) > 0/)