Commit 7e5e6cce authored by 黄奎's avatar 黄奎

页面修改

parent 3ed0f2f4
...@@ -635,7 +635,6 @@ ...@@ -635,7 +635,6 @@
} else { } else {
y.HotelDiscount = 0; y.HotelDiscount = 0;
} }
if (y.BookNum == "") { if (y.BookNum == "") {
y.BookNum = 0; y.BookNum = 0;
} }
...@@ -660,7 +659,11 @@ ...@@ -660,7 +659,11 @@
item.HotelOrderList.forEach(subItem => { item.HotelOrderList.forEach(subItem => {
subItem.OrderDetailsList.forEach(y => { subItem.OrderDetailsList.forEach(y => {
y.HouseTypeCount = parseFloat(y.HouseTypeCount); y.HouseTypeCount = parseFloat(y.HouseTypeCount);
y.UnitPrice = parseInt(y.UnitPrice); if (y.UnitPrice) {
y.UnitPrice = parseInt(y.UnitPrice);
} else {
y.UnitPrice = 0;
}
if (y.HotelDiscount) { if (y.HotelDiscount) {
y.HotelDiscount = parseInt(y.HotelDiscount); y.HotelDiscount = parseInt(y.HotelDiscount);
} else { } else {
......
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