Quellcode durchsuchen

经费开支优化

新疆警官学校中职
ndbs vor 1 Jahr
Ursprung
Commit
43a2f6066a
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Form.js
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/FormView.js

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Form.js Datei anzeigen

@@ -125,12 +125,12 @@ var bootstrap = function ($, learun) {
},
{
label: '单价(元)', name: 'Price', width: 150, align: 'left', formatter: function (cellvalue) {
return cellvalue.toString().indexOf(".") > 0 ? cellvalue : cellvalue.toFixed(2);
return cellvalue.toString().indexOf(".") > 0 ? Number(cellvalue).toFixed(2) : Number(cellvalue).toFixed(2);
}
},
{
label: '金额(元)', name: 'Amount', width: 150, align: 'left', formatter: function (cellvalue) {
return cellvalue.toString().indexOf(".") > 0 ? cellvalue : cellvalue.toFixed(2);
return cellvalue.toString().indexOf(".") > 0 ? Number(cellvalue).toFixed(2) : Number(cellvalue).toFixed(2);
}
},
],


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/FormView.js Datei anzeigen

@@ -125,12 +125,12 @@ var bootstrap = function ($, learun) {
},
{
label: '单价(元)', name: 'Price', width: 150, align: 'left', formatter: function (cellvalue) {
return cellvalue.toString().indexOf(".") > 0 ? cellvalue : cellvalue.toFixed(2);
return cellvalue.toString().indexOf(".") > 0 ? Number(cellvalue).toFixed(2) : Number(cellvalue).toFixed(2);
}
},
{
label: '金额(元)', name: 'Amount', width: 150, align: 'left', formatter: function (cellvalue) {
return cellvalue.toString().indexOf(".") > 0 ? cellvalue : cellvalue.toFixed(2);
return cellvalue.toString().indexOf(".") > 0 ? Number(cellvalue).toFixed(2) : Number(cellvalue).toFixed(2);
}
},
],


Laden…
Abbrechen
Speichern