Commit d7e3ff48 authored by 黄奎's avatar 黄奎
parents 9b74ac84 efe70132
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
<table class="SalesHotelOrderTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading"> <table class="SalesHotelOrderTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr> <tr>
<th>订单号</th> <th>订单号</th>
<th>客户信息</th>
<th>房间数</th> <th>房间数</th>
<th>总价格</th> <th>总价格</th>
<th>总收入</th> <th>总收入</th>
...@@ -87,6 +88,10 @@ ...@@ -87,6 +88,10 @@
<tbody v-for="(item,index) in dataList"> <tbody v-for="(item,index) in dataList">
<tr> <tr>
<td style="border-bottom:2px solid #333" rowspan="2">{{item.ThirdOrderNo}}</td> <td style="border-bottom:2px solid #333" rowspan="2">{{item.ThirdOrderNo}}</td>
<td>
<div>{{item.CustomerName}}</div>
<div>{{item.CustomerPhone}}</div>
</td>
<td>{{item.Number}}</td> <td>{{item.Number}}</td>
<td>{{item.TotalPrice}}</td> <td>{{item.TotalPrice}}</td>
<td>{{item.Income}}</td> <td>{{item.Income}}</td>
...@@ -185,7 +190,6 @@ export default { ...@@ -185,7 +190,6 @@ export default {
res => { res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res,'resssss');
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
this.total = res.data.data.count; this.total = res.data.data.count;
} else { } else {
......
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
<table class="SalesHotelOrderTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading"> <table class="SalesHotelOrderTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr> <tr>
<th>订单号</th> <th>订单号</th>
<th>客户信息</th>
<th>房间数</th> <th>房间数</th>
<th>总价格</th> <th>总价格</th>
<th>总收入</th> <th>总收入</th>
...@@ -87,6 +88,10 @@ ...@@ -87,6 +88,10 @@
<tbody v-for="(item,index) in dataList"> <tbody v-for="(item,index) in dataList">
<tr> <tr>
<td style="border-bottom:2px solid #333" rowspan="2">{{item.ThirdOrderNo}}</td> <td style="border-bottom:2px solid #333" rowspan="2">{{item.ThirdOrderNo}}</td>
<td>
<div>{{item.CustomerName}}</div>
<div>{{item.CustomerPhone}}</div>
</td>
<td>{{item.Number}}</td> <td>{{item.Number}}</td>
<td>{{item.TotalPrice}}</td> <td>{{item.TotalPrice}}</td>
<td>{{item.Income}}</td> <td>{{item.Income}}</td>
...@@ -185,7 +190,6 @@ export default { ...@@ -185,7 +190,6 @@ export default {
res => { res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res,'resssss');
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
this.total = res.data.data.count; this.total = res.data.data.count;
} else { } else {
......
...@@ -169,7 +169,7 @@ input[type="number"] { ...@@ -169,7 +169,7 @@ input[type="number"] {
<td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length">
{{scenicTotalPrice(subItem, subItem.TicketPriceList)}} {{scenicTotalPrice(subItem, subItem.TicketPriceList)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="item.data.length*subItem.TicketPriceList.length"> <td v-if="childIndex==0 && subIndex ==0" :rowspan="item.data.length*subItem.TicketPriceList.length">
{{subItem.TradingTotalPrice}} {{subItem.TradingTotalPrice}}
</td> </td>
...@@ -299,7 +299,7 @@ input[type="number"] { ...@@ -299,7 +299,7 @@ input[type="number"] {
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
{{diningTotalPrice(subItem, subItem.DiningPriceList)}} {{diningTotalPrice(subItem, subItem.DiningPriceList)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="item.data.length * subItem.DiningPriceList.length">{{subItem.TradingTotalPrice}}</td> <td v-if="childIndex==0 && subIndex ==0" :rowspan="item.data.length * subItem.DiningPriceList.length">{{subItem.TradingTotalPrice}}</td>
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
{{subItem.Remarks}} {{subItem.Remarks}}
</td> </td>
...@@ -402,7 +402,7 @@ input[type="number"] { ...@@ -402,7 +402,7 @@ input[type="number"] {
<td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length"> <td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length">
{{hotelTotalPrice(subItem.OrderDetailsList)}} {{hotelTotalPrice(subItem.OrderDetailsList)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length * item.data.length">{{subItem.TradingTotalPrice}}</td> <td v-if="childIndex==0 && subIndex ==0" :rowspan="subItem.OrderDetailsList.length * item.data.length">{{subItem.TradingTotalPrice}}</td>
<td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length"> <td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length">
{{subItem.Remarks}} {{subItem.Remarks}}
</td> </td>
...@@ -962,8 +962,7 @@ export default { ...@@ -962,8 +962,7 @@ export default {
} }
} }
this.DiningDataList = Diningdest this.DiningDataList = Diningdest
//票 //票
console.log(res.data.data.ScenicList)
let ScenicList = [] let ScenicList = []
for(let i = 0; i < res.data.data.ScenicList.length; i++) { for(let i = 0; i < res.data.data.ScenicList.length; i++) {
for(let o = 0; o < res.data.data.ScenicList[i].ScenicStatisticsList.length; o++) { for(let o = 0; o < res.data.data.ScenicList[i].ScenicStatisticsList.length; o++) {
...@@ -990,7 +989,7 @@ export default { ...@@ -990,7 +989,7 @@ export default {
} }
} }
} }
} }
this.ScenicDataList = Scenicdest this.ScenicDataList = Scenicdest
//酒 //酒
let HotelList = [] let HotelList = []
...@@ -1009,18 +1008,17 @@ export default { ...@@ -1009,18 +1008,17 @@ export default {
NewHotelId: ai.NewHotelId, NewHotelId: ai.NewHotelId,
data: [ai] data: [ai]
}); });
Hotelmap[ai.CheckInDateStr] = ai; Hotelmap[ai.CheckInDateStr] = ai;
}else{ }else{
for(var j = 0; j < Hoteldest.length; j++){ for(var j = 0; j < Hoteldest.length; j++){
var dj = Hoteldest[j]; var dj = Hoteldest[j];
if(dj.CheckInDateStr == ai.CheckInDateStr && dj.NewHotelId == ai.NewHotelId){ if(dj.CheckInDateStr == ai.CheckInDateStr && dj.NewHotelId == ai.NewHotelId){
dj.data.push(ai); dj.data.push(ai);
break; break;
} }
} }
} }
} }
console.log(HotelList)
this.HotelDataList = Hoteldest this.HotelDataList = Hoteldest
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
......
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