From d3dbc15b172bc3660cc8472105904fc485b932f7 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Wed, 28 Jan 2026 15:14:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=98=E6=AC=BE=E5=8D=95=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/car_settlement/child/payment_form.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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) {