|
@@ -398,6 +398,8 @@ export default {
|
|
|
updateTotals() {
|
|
|
// Calculate cost total
|
|
|
this.conferenceAffairsCost.costAll = this.tableDatas.reduce((sum, item) => {
|
|
|
+ console.log(item);
|
|
|
+
|
|
|
if (this.rateStatistics.length > 1) {
|
|
|
return sum + (Number(item.costPrice) || 0) * (Number(item.count) || 0) * (Number(item.rate) || 0);
|
|
|
} else {
|
|
@@ -412,7 +414,7 @@ export default {
|
|
|
} else {
|
|
|
return sum + (Number(item.costPrice) || 0) * (Number(item.count) || 0) * (Number(item.coefficient) || 0);
|
|
|
}
|
|
|
- // return sum + (Number(item.baoJiaPrice) || 0);
|
|
|
+
|
|
|
}, 0).toFixed(2);
|
|
|
},
|
|
|
//分配HUI率切换
|