...
|
...
|
@@ -102,21 +102,20 @@ var Order = { |
|
|
var e = this.e,
|
|
|
d = Order.Data,
|
|
|
c = Order.Common;
|
|
|
var i = 0,
|
|
|
key;
|
|
|
var i = 0;
|
|
|
|
|
|
e.$total.html('0.00');
|
|
|
e.$statistics.slice(3, 5).hide();
|
|
|
e.$statistics.slice(0, 5).find('em').html('0.00');
|
|
|
|
|
|
for (key in d) {
|
|
|
$.each(d, function(key) {
|
|
|
if (d.hasOwnProperty(key)) {
|
|
|
if (d[key]) {
|
|
|
e.$statistics.eq(i).show().find('em').html(c.strFixed(d[key]));
|
|
|
}
|
|
|
}
|
|
|
i++;
|
|
|
}
|
|
|
});
|
|
|
e.$total.html(c.strFixed(c.calucate()));
|
|
|
|
|
|
}
|
...
|
...
|
|