diff --git a/web/Public/Scripts/PSI/SLN0002/Voucher/MainForm.js b/web/Public/Scripts/PSI/SLN0002/Voucher/MainForm.js index 7264bf84..32329208 100644 --- a/web/Public/Scripts/PSI/SLN0002/Voucher/MainForm.js +++ b/web/Public/Scripts/PSI/SLN0002/Voucher/MainForm.js @@ -864,12 +864,17 @@ PCL.define("PSI.SLN0002.Voucher.MainForm", { if (value == 0 || isNaN(value)) { return ""; } else { - return value; + const s = PCL.util.Format.number(value, "0,0.00"); + if (value < 0) { + return `${s}`; + } else { + return s; + } } } }, { header: "贷方金额", - dataIndex: "crebit", + dataIndex: "credit", menuDisabled: true, sortable: false, align: "right", @@ -879,7 +884,12 @@ PCL.define("PSI.SLN0002.Voucher.MainForm", { if (value == 0 || isNaN(value)) { return ""; } else { - return value; + const s = PCL.util.Format.number(value, "0,0.00"); + if (value < 0) { + return `${s}`; + } else { + return s; + } } } }, {