|
@@ -504,7 +504,7 @@ $(document).ready(() => {
|
|
|
$('#calc_zdy').on('blur', function () {
|
|
|
let newValue = parseFloat($(this).val());
|
|
|
// 判断输入位数,并自动四舍五入
|
|
|
- newValue = ZhCalc.round(newValue, decimal.tp);
|
|
|
+ newValue = ZhCalc.round(newValue, materialDecimal.tp);
|
|
|
$('#calc_zdy').val(newValue);
|
|
|
if (isNaN(newValue)) {
|
|
|
toastr.error('请输入正确的金额');
|