Commit 53c27702 authored by 华国豪's avatar 华国豪 🙄
parents a96e6a14 604d64e4
...@@ -469,7 +469,14 @@ ...@@ -469,7 +469,14 @@
item.HotelOrderList.forEach(subItem => { item.HotelOrderList.forEach(subItem => {
subItem.OrderDetailsList.forEach(y => { subItem.OrderDetailsList.forEach(y => {
y.HouseTypeCount = parseInt(y.HouseTypeCount); y.HouseTypeCount = parseInt(y.HouseTypeCount);
if(y.UnitPrice)
{
y.UnitPrice = parseInt(y.UnitPrice); y.UnitPrice = parseInt(y.UnitPrice);
}
else
{
y.UnitPrice=0;
}
y.HotelDiscount = parseInt(y.HotelDiscount); y.HotelDiscount = parseInt(y.HotelDiscount);
if (y.BookNum == "") { if (y.BookNum == "") {
y.BookNum = 0; y.BookNum = 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