diff --git a/src/views/modules/quote/detail/primary/quoteDetailCost.vue b/src/views/modules/quote/detail/primary/quoteDetailCost.vue index 6e9fcde..f7d3295 100644 --- a/src/views/modules/quote/detail/primary/quoteDetailCost.vue +++ b/src/views/modules/quote/detail/primary/quoteDetailCost.vue @@ -257,6 +257,9 @@ export default { switch (type){ case 'va': value = this.quoteDetail.quoteProfitRate/100 + if (1-value === 0){ + return; + } //price = (物料成本+工具成本+运输成本+包装成本)/(1-value)+其他额外成本 this.quoteDetail.quoteTaxTotalPrice = (this.quoteDetail.adjustPartCost + otherCost)/(1-value)+this.totalElseCost // contribution = 1-(物料成本+人工成本+工具成本+运输成本+包装成本)/(price-额外其他成本)