Browse Source

修改计算公式

devlop
杨阁辉 4 years ago
parent
commit
433553e390
1 changed files with 3 additions and 2 deletions
  1. 5
      pages/submit-quotation/index.vue

5
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() {

Loading…
Cancel
Save