Commit 1cd35d28 authored by youjie's avatar youjie

no message

parent 0ca8f18f
...@@ -616,9 +616,8 @@ ...@@ -616,9 +616,8 @@
setTimeout(()=>{ setTimeout(()=>{
let arr1 =[this.CommissionInfor.PeopleMoney,this.CommissionInfor.EuropeMoney] let arr1 =[this.CommissionInfor.PeopleMoney,this.CommissionInfor.EuropeMoney]
let arr2 =[this.CommissionInfor.SalesCommission,this.CommissionInfor.JapanCommission,this.CommissionInfor.EuropeCommission,this.GNCommission] let arr2 =[this.CommissionInfor.SalesCommission,this.CommissionInfor.JapanCommission,this.CommissionInfor.EuropeCommission,this.GNCommission]
console.log(arr2) this.CommissionJJ = this.CalculatePrice(arr1,0)
this.CommissionJJ = this.CalculatePrice(arr1) this.CommissionTC = this.CalculatePrice(arr2,2)
this.CommissionTC = this.CalculatePrice(arr2)
},500) },500)
} }
...@@ -647,11 +646,11 @@ ...@@ -647,11 +646,11 @@
}, },
//计算总成本 //计算总成本
CalculatePrice(arr1) { CalculatePrice(arr1,num) {
var CoastPrice = this.$commonUtils.CaluJsonArraySum( var CoastPrice = this.$commonUtils.CaluJsonArraySum(
arr1, arr1,
"", "",
2 num
); );
return CoastPrice return CoastPrice
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment