diff --git a/js/car_settlement/child/payment_form.js b/js/car_settlement/child/payment_form.js index 742d6d9..8c32aef 100644 --- a/js/car_settlement/child/payment_form.js +++ b/js/car_settlement/child/payment_form.js @@ -265,7 +265,7 @@ function getPayCarDetails(id) { imgNum += item.fileList.length; const actualGls = item.gls || 0; // 实际公里数初始=预估公里数 - const actualMoney = item.glsMoney || 0; // 实际金额初始=预估金额 + const actualMoney = 0; // 实际金额初始=预估金额 html += "" + "" + item.type + "" + @@ -313,7 +313,7 @@ function getPayCarDetails(id) { imgNum += item.fileList.length; const actualPlanDay = item.planDay || 0; - const actualDcMoney = item.dcMoney || 0; + const actualDcMoney = 0; html += '' + '' + item.type + '' + @@ -448,12 +448,7 @@ $(document).on('input', '.classTable input.form-control', function() { } }); -// 输入框失焦时格式化(补零 + 统一两位小数) -$(document).on('blur', '.classTable input.form-control', function() { - if (this.value === '') return; // 空值不处理 - // 转数字后格式化,自动补两位小数(如 123 → 123.00,123.4 → 123.40) - this.value = Number(this.value).toFixed(2); -}); + // 关闭页面 function closePage(type) {