Commit feee1933 authored by 吴春's avatar 吴春

房间预订数为0的时候默认房间数

parent 5e3dc7e0
...@@ -218,7 +218,12 @@ export default { ...@@ -218,7 +218,12 @@ export default {
ID:item.NewHotelId ID:item.NewHotelId
}) })
item.PayStyle=item.PayStyle.toString() item.PayStyle=item.PayStyle.toString()
item.OrderDetailsList.forEach(x=>{ item.OrderDetailsList.forEach((x,index1)=>{
if(x.HouseTypeCount<=0){
x.HouseTypeCount = item.HouseStatistics.HouseTypeList[index1].HouseTypeCount.toString();
}else{
x.HouseTypeCount =x.HouseTypeCount.toString();
}
x.HouseTypeCount = x.HouseTypeCount.toString(); x.HouseTypeCount = x.HouseTypeCount.toString();
x.UnitPrice = x.UnitPrice.toString(); x.UnitPrice = x.UnitPrice.toString();
x.HotelDiscount = x.HotelDiscount.toString(); x.HotelDiscount = x.HotelDiscount.toString();
......
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