fix(entryexit): 资金记录 金额 小数点精度调整
- 将数值格式从三位小数调整为两位小数 - 统一正负数值的格式化处理逻辑 - 修复 NaN 判断条件下的格式化显示问题
This commit is contained in:
@@ -355,7 +355,7 @@
|
||||
return numeral(-1 * cellValue).format("0,0.00") === 'NaN' ? "0" : numeral(-1 * cellValue).format("0,0.00");
|
||||
}
|
||||
else {
|
||||
return numeral(cellValue).format("0,0.000") === 'NaN' ? "0" : numeral(cellValue).format("0,0.000");
|
||||
return numeral(cellValue).format("0,0.00") === 'NaN' ? "0" : numeral(cellValue).format("0,0.00");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user