Commit 604d64e4 authored by 黄奎's avatar 黄奎

酒店保存修改

parent 81f8a7d9
...@@ -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