From 433553e3909a07954022b58ec46d1c20ca0f26f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=98=81=E8=BE=89?= Date: Thu, 27 Jan 2022 16:30:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A1=E7=AE=97=E5=85=AC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/submit-quotation/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() {