diff --git a/pages/submit-quotation/index.vue b/pages/submit-quotation/index.vue index 4bae0ac..ba4d561 100644 --- a/pages/submit-quotation/index.vue +++ b/pages/submit-quotation/index.vue @@ -475,10 +475,11 @@ export default { this.upDataObj.otherFee = 0 for (let i = 0; i < this.upDataObj.itemList.length; i++) { var totalAllPrice = parseFloat(this.upDataObj.totalAllPrice) + parseFloat(this.upDataObj.itemList[i].totalPrice) - this.upDataObj.totalAllPrice = round(totalAllPrice, 2) var otherFee = parseFloat(this.upDataObj.otherFee) + parseFloat(this.upDataObj.itemList[i].otherFee) - this.upDataObj.otherFee = round(otherFee, 2) } + this.upDataObj.otherFee = round(otherFee, 2) + var zj = totalAllPrice + otherFee + this.upDataObj.totalAllPrice = round(zj, 2) }, //提交报价 updateQuery() {