付款单申请
This commit is contained in:
parent
3dd47ed305
commit
d3dbc15b17
|
|
@ -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 += "<tr>" +
|
||||
"<td>" + item.type + "</td>" +
|
||||
|
|
@ -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 += '<tr>' +
|
||||
'<td>' + item.type + '</td>' +
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue