diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Index.js index e207e1b05..d03a7e1e5 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Index.js @@ -194,7 +194,7 @@ var bootstrap = function ($, learun) { { label: "申报人", name: "Remark", width: 100, align: "left" }, { label: "总金额", name: "SumAmount", width: 100, align: "left", formatter: function (cellvalue) { - return cellvalue.toFixed(2); + return cellvalue != null && cellvalue != "" && cellvalue != undefined ? cellvalue.toFixed(2):"0.00" ; } }, { label: "人民币(大写)", name: "UpperAmount", width: 200, align: "left" }, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApplyDetail/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApplyDetail/Index.js index df0b22486..f4d548a22 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApplyDetail/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApplyDetail/Index.js @@ -73,12 +73,12 @@ var bootstrap = function ($, learun) { { label: "数量", name: "Number", width: 100, align: "left"}, { label: "单价(元)", name: "Price", width: 100, align: "left", formatter: function (cellvalue) { - return cellvalue.toFixed(2); + return cellvalue != null && cellvalue != "" && cellvalue != undefined ? cellvalue.toFixed(2) : "0.00"; } }, { label: "金额(元)", name: "Amount", width: 100, align: "left", formatter: function (cellvalue) { - return cellvalue.toFixed(2); + return cellvalue != null && cellvalue != "" && cellvalue != undefined ? cellvalue.toFixed(2) : "0.00"; } }, ],