update EventRecordEdit.vue style

This commit is contained in:
Timi
2026-09-01 16:27:53 +08:00
parent bfea58f714
commit 9c5306d8e4
30 changed files with 583 additions and 621 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function formatPackageAmount(cents?: number | null): string {
const absolute = Math.abs(Math.trunc(cents));
const yuan = Math.floor(absolute / 100);
const fen = String(absolute % 100).padStart(2, "0");
return `${negative ? "-" : ""}${yuan}.${fen} 元`;
return `${negative ? "-" : ""}${yuan}.${fen}`;
}
/** 将分转换为金额输入框文本。 */