|
|
@@ -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"; |
|
|
|
} |
|
|
|
}, |
|
|
|
], |
|
|
|