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

领队报账详情

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