Commit f612518c authored by 黄奎's avatar 黄奎

总计计算修改

parent 6f8c6e26
...@@ -336,7 +336,8 @@ ...@@ -336,7 +336,8 @@
</template> </template>
<template v-for="(childItem,childIndex) in CostNumberList"> <template v-for="(childItem,childIndex) in CostNumberList">
<tr> <tr>
<td colspan="3" class="CP_ComTitle2 CostcomCenter" v-if="childIndex==0" :rowspan="CostNumberList.length"> <td colspan="3" class="CP_ComTitle2 CostcomCenter" v-if="childIndex==0"
:rowspan="CostNumberList.length">
人民币 小计 人民币 小计
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
...@@ -967,27 +968,32 @@ ...@@ -967,27 +968,32 @@
getCostTotalMoney() { getCostTotalMoney() {
let totalMoney = let totalMoney =
this.getConvertMoney(this.OtherPrice.InlandAirTicketMoney) * this.getConvertMoney(this.OtherPrice.InlandAirTicketMoney) *
this.getCurrencyMoney( this.getCurrencyMoney( this.OtherPrice.InlandAirTicketCurrency) +
this.OtherPrice.InlandAirTicketCurrency
) +
this.getConvertMoney(this.OtherPrice.InlandShipTicketMoney) * this.getConvertMoney(this.OtherPrice.InlandShipTicketMoney) *
this.getCurrencyMoney( this.getCurrencyMoney(
this.OtherPrice.InlandShipTicketCurrency this.OtherPrice.InlandShipTicketCurrency
) + ) +
this.getConvertMoney(this.OtherPrice.InlandTrainTicketMoney) * this.getConvertMoney(this.OtherPrice.InlandTrainTicketMoney) *
this.getCurrencyMoney( this.getCurrencyMoney( this.OtherPrice.InlandTrainTicketCurrency)
this.OtherPrice.InlandTrainTicketCurrency +
this.getConvertMoney(this.OtherPrice.DriverGuideMoney) * this.getCurrencyMoney(
this.OtherPrice.DriverGuideMoneyCurrencyId
) +
this.getConvertMoney(this.OtherPrice.LeaderTripMoney) * this.getCurrencyMoney(
this.OtherPrice.LeaderTripMoneyCurrencyId
) + ) +
this.getConvertMoney(this.OtherPrice.DriverGuideMoney) +
this.getConvertMoney(this.OtherPrice.LeaderTripMoney) +
this.getConvertMoney(this.OtherPrice.OfficeCommissionMoney) + this.getConvertMoney(this.OtherPrice.OfficeCommissionMoney) +
this.getConvertMoney(this.OtherPrice.SafeMoney) + this.getConvertMoney(this.OtherPrice.SafeMoney) * this.getCurrencyMoney(
this.OtherPrice.SafeMoneyCurrencyId
) +
this.getConvertMoney(this.OtherPrice.SalesCommissionMoney) + this.getConvertMoney(this.OtherPrice.SalesCommissionMoney) +
this.getConvertMoney(this.OtherPrice.TripMoney) + this.getConvertMoney(this.OtherPrice.TripMoney) +
this.getConvertMoney(this.OtherPrice.GuidePeopleMoney) + this.getConvertMoney(this.OtherPrice.GuidePeopleMoney) +
this.getConvertMoney(this.OtherPrice.AirTicketMoeny) + this.getConvertMoney(this.OtherPrice.AirTicketMoeny) +
this.getConvertMoney(this.OtherPrice.KBMoney) + this.getConvertMoney(this.OtherPrice.KBMoney) +
this.getConvertMoney(this.OtherPrice.VisaMoney); this.getConvertMoney(this.OtherPrice.VisaMoney) * this.getCurrencyMoney(
this.OtherPrice.VisaMoneyCurrencyId
);
return totalMoney; return totalMoney;
}, },
//获取系列列表 //获取系列列表
......
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