Commit c8b0b91d authored by 黄奎's avatar 黄奎

页面验证修改

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