业绩明细弹窗金额保留两位小数

业绩明细弹窗金额保留两位小数
This commit is contained in:
yueyang 2026-10-25 00:20:04 +08:00
parent 13c9d031c1
commit bcbb5d5a50
2 changed files with 3 additions and 2 deletions

View File

@ -2347,7 +2347,7 @@
function wan(value) {
return '¥' + (Number(value || 0) / 10000).toLocaleString('zh-CN', {
minimumFractionDigits: 2,
maximumFractionDigits: 4
maximumFractionDigits: 2
});
}

View File

@ -110,7 +110,8 @@ class NavigationTest extends FeatureTestCase
], false)
->assertSee('function wan(value)', false)
->assertSee('(Number(value || 0) / 10000)', false)
->assertSee('maximumFractionDigits: 4', false)
->assertSee('minimumFractionDigits: 2', false)
->assertSee('maximumFractionDigits: 2', false)
->assertDontSeeText('查看完整字段与差额判定规则')
->assertDontSee('receipt-method-guide', false)
->assertDontSee('receipt-match-summary', false)