Commit c8b0b91d authored by 黄奎's avatar 黄奎

页面验证修改

parent 72355fd2
...@@ -471,7 +471,14 @@ ...@@ -471,7 +471,14 @@
{ {
y.UnitPrice=0; y.UnitPrice=0;
} }
y.HotelDiscount = parseInt(y.HotelDiscount); if(y.HotelDiscount)
{
y.HotelDiscount = parseInt(y.HotelDiscount);
}else
{
y.HotelDiscount =0;
}
if (y.BookNum == "") { if (y.BookNum == "") {
y.BookNum = 0; y.BookNum = 0;
} }
...@@ -497,7 +504,13 @@ ...@@ -497,7 +504,13 @@
subItem.OrderDetailsList.forEach(y => { subItem.OrderDetailsList.forEach(y => {
y.HouseTypeCount = parseFloat(y.HouseTypeCount); y.HouseTypeCount = parseFloat(y.HouseTypeCount);
y.UnitPrice = parseInt(y.UnitPrice); y.UnitPrice = parseInt(y.UnitPrice);
y.HotelDiscount = parseInt(y.HotelDiscount); if(y.HotelDiscount)
{
y.HotelDiscount = parseInt(y.HotelDiscount);
}else
{
y.HotelDiscount =0;
}
if (y.BookNum == "") { if (y.BookNum == "") {
y.BookNum = 0; y.BookNum = 0;
} }
...@@ -540,9 +553,8 @@ ...@@ -540,9 +553,8 @@
this.TCNUM = this.$route.query.TCNUM; this.TCNUM = this.$route.query.TCNUM;
this.flightTotal = this.$route.query.flightTotal; this.flightTotal = this.$route.query.flightTotal;
this.GuestNum = this.$route.query.GuestNum; this.GuestNum = this.$route.query.GuestNum;
let width = window.innerWidth - 50 let width = window.innerWidth - 50;
let height = window.innerHeight - 65 -55 let height = window.innerHeight - 65 -55;
console.log(height)
this.boxHeight = height; this.boxHeight = height;
this.offsetwidth = width this.offsetwidth = width
this.getList(); this.getList();
......
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