{ field: "contractmoney", title: "合同总价", width: , formatter: function (value, row, index) {
if (row != null) {
return parseFloat(value).toFixed();
}
}
},
//二位小数、千分位 { field: "price", title: "单价", width: , align: 'right', formatter: function (value, row, index) {
if (row != null) {
return (parseFloat(value).toFixed() + '').replace(/\d{,}(?=(\d{})+(\.\d*)?$)/g, '$&,');
}
}
},