|
|
@@ -194,9 +194,9 @@
|
|
|
item.forEach(accumulator => { accumulatorTax += tool.calculateTax(Number(accumulator.SELL_PRICE), Number(accumulator.TAX_RATE), Number(accumulator.chose_num)); });
|
|
|
})
|
|
|
|
|
|
- this.sell_price_sum = accumulatorSellPrice;
|
|
|
- this.price_pv_sum = accumulatorPricePv;
|
|
|
- this.tax_sum = accumulatorTax;
|
|
|
+ this.sell_price_sum = parseFloat(accumulatorSellPrice).toFixed(2);
|
|
|
+ this.price_pv_sum = parseFloat(accumulatorPricePv).toFixed(2);
|
|
|
+ this.tax_sum = parseFloat(accumulatorTax).toFixed(2);
|
|
|
} else {
|
|
|
this.sell_price_sum = 0.00;
|
|
|
this.price_pv_sum = 0.00;
|