Commit 90a26b07 authored by 吴春's avatar 吴春

领队报账详情

parent 623b4ef5
......@@ -123,7 +123,9 @@
</td>
<td>
{{hotelTotalPrice(item.ReimburseList.ReimburseDetailsList)}}
<div v-for="subItem in outItem.HotelOrderList">
{{hotelTotalPrice(subItem.OrderDetailsList)}}
</div>
</td>
<td class="jdtd" valign="middle">
......@@ -559,12 +561,12 @@
return totalPrice
},
hotelTotalPrice(obj) {
let totalPrice = 0
obj.forEach(x => {
totalPrice += x.UserNum * x.UnitPrice
hotelTotalPrice(obj){
let totalPrice=0
obj.forEach(x=>{
totalPrice+=x.UnitPrice*(x.HouseGuestNum-x.HotelDiscount)*(1-x.RebateRatio/100)
})
return totalPrice
return this.moneyFormat(totalPrice)
},
diningTotalPrice(obj) {
let totalPrice = 0
......
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