src/utils/summarizeTable.js
@@ -42,7 +42,8 @@ }; // 不含税总价计算 const calculateTaxExclusiveTotalPrice = (taxInclusiveTotalPrice, taxRate) => { const taxRateDecimal = taxRate / 100; const taxRateNumber = taxRate?Number(taxRate):0; const taxRateDecimal = taxRateNumber / 100; return (taxInclusiveTotalPrice / (1 + taxRateDecimal)).toFixed(2); }; // 含税总价计算