Commit 1f053b1d authored by Mac's avatar Mac
parents e3f559a3 69b68682
...@@ -127,16 +127,6 @@ ...@@ -127,16 +127,6 @@
酒店选择 酒店选择
</el-button> </el-button>
</el-popover> </el-popover>
<!-- <el-select class='w120 sel' v-model='subItem.NewHotelId' filterable
:placeholder="$t('pub.pleaseSel')" @visible-change='getHotelList(subItem)'
@change='sendValue(subItem)'>
<el-option v-for='itemHotel in subItem.hotelList' :label='itemHotel.Name' :value='itemHotel.ID'
:key='itemHotel.ID'>
<span style="float: left">{{itemHotel.Name}}</span>
<span style="float: right; color:red; font-size: 13px">{{itemHotel.Inventory }}</span>
</el-option>
</el-select> -->
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -234,6 +224,19 @@ ...@@ -234,6 +224,19 @@
<tr> <tr>
<td colspan="2" style="height:5px;"></td> <td colspan="2" style="height:5px;"></td>
</tr> </tr>
<tr>
<td width="70" style="text-align:right;">税入/税别</td>
<td>
<el-select class='w135 sel' v-model='subItem.TaxType' :placeholder="$t('pub.pleaseSel')">
<el-option label='请选择' :value='0'></el-option>
<el-option label='税入' :value='1'></el-option>
<el-option label='税别' :value='2'></el-option>
</el-select>
</td>
</tr>
<tr>
<td colspan="2" style="height:5px;"></td>
</tr>
<tr> <tr>
<td width="70" style="text-align:right;">付款方式:</td> <td width="70" style="text-align:right;">付款方式:</td>
<td> <td>
...@@ -264,7 +267,6 @@ ...@@ -264,7 +267,6 @@
<td width="70" style="text-align:right;">订团号:</td> <td width="70" style="text-align:right;">订团号:</td>
<td> <td>
<el-input class='w135' v-model='subItem.ReserveNo'></el-input> <el-input class='w135' v-model='subItem.ReserveNo'></el-input>
</td> </td>
</tr> </tr>
<tr> <tr>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<li> <li>
<span> <span>
<em>月份</em> <em>月份</em>
<el-date-picker v-model="msg.QMonthStr" type="month" value-format="yyyy-MM-dd" placeholder="选择月"> <el-date-picker v-model="msg.QMonthStr" type="month" value-format="yyyy-MM" placeholder="选择月">
</el-date-picker> </el-date-picker>
</span> </span>
</li> </li>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<el-popover placement="bottom" width="800" trigger="click" popper-class="rq_HotelDetails"> <el-popover placement="bottom" width="800" trigger="click" popper-class="rq_HotelDetails">
<table class="rq_HotelTable"> <table class="rq_HotelTable">
<tr> <tr>
<th width="160"> <th width="180">
时间 时间
</th> </th>
<th width="200"> <th width="200">
...@@ -78,12 +78,16 @@ ...@@ -78,12 +78,16 @@
<th width="500"> <th width="500">
价格 价格
</th> </th>
<th width="120">
税入/税别
</th>
</tr> </tr>
<template v-for="(subItem,subIndex) in HotelList"> <template v-for="(subItem,subIndex) in HotelList">
<tbody v-for="(childItem,childIndex) in subItem.HotelOrderList"> <tbody >
<template v-for="(childItem,childIndex) in subItem.HotelOrderList">
<tr> <tr>
<td v-if="childIndex==0" :rowspan="subItem.HotelOrderList.length"> <td v-if="childIndex==0" :rowspan="subItem.HotelOrderList.length>1?subItem.HotelOrderList.length*2:subItem.HotelOrderList.length+1" style="text-align:center;">
{{subIndex+1}}<br/> {{subIndex+1}} <br/>
{{subItem.UseTimeStr}} {{subItem.UseTimeStr}}
</td> </td>
<td> <td>
...@@ -101,19 +105,21 @@ ...@@ -101,19 +105,21 @@
<template v-if="detailsItem.HouseType==4">司导间</template> <template v-if="detailsItem.HouseType==4">司导间</template>
{{detailsItem.HouseTypeCount}} 间 {{detailsItem.HouseTypeCount}} 间
价格: {{detailsItem.UnitPrice}} 价格: {{detailsItem.UnitPrice}}
{{detailsItem.TaxType}}
<template v-if="detailsItem.TaxType==1">税入</template>
<template v-if="detailsItem.TaxType==2">税别</template>
返佣: {{detailsItem.RebateRatio}} 返佣: {{detailsItem.RebateRatio}}
<br/> <br/>
</template> </template>
</td> </td>
<td>
<template v-if="childItem.TaxType==1">税入</template>
<template v-if="childItem.TaxType==2">税别</template>
</td>
</tr> </tr>
<tr > <tr>
<td colspan="4"> <td colspan="4">
<span style="display:inline-block;width:40px;vertical-align:top;">备注:</span> <span style="display:inline-block;width:40px;vertical-align:top;">备注:</span>
<span style="display:inline-block;width:400px;">{{childItem.Remarks}}</span></td> <span style="display:inline-block;width:400px;">{{childItem.Remarks}}</span></td>
</tr> </tr>
</template>
</tbody> </tbody>
</template> </template>
</table> </table>
...@@ -123,8 +129,8 @@ ...@@ -123,8 +129,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="5" style="text-align:left;padding-left:5px;"> <td colspan="8" style="text-align:left;padding-left:5px;">
注意事项: {{item.SupplierRemarks}} 注意事项 {{item.SupplierRemarks}}
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -161,7 +167,7 @@ ...@@ -161,7 +167,7 @@
TCNUM: '', TCNUM: '',
PriceStatus: 0, PriceStatus: 0,
CombinationNum: '', CombinationNum: '',
QMonthStr: "" //月份字符串 QMonthStr: new Date().Format("yyyy-MM") //月份字符串
}, },
UserInfo: {}, //用户信息 UserInfo: {}, //用户信息
dataList: [], //数据列表 dataList: [], //数据列表
...@@ -198,12 +204,13 @@ ...@@ -198,12 +204,13 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.dataList = res.data.data; this.dataList = res.data.data;
} else { } else {
this.$message.error(res.data.message) this.Error(res.data.message)
} }
}, err => {}) }, err => {})
}, },
//获取日志 //获取日志
getHotelList(TCID, NewCombinationNum) { getHotelList(TCID, NewCombinationNum) {
console.log(TCID)
this.hotelLoading=true; this.hotelLoading=true;
this.HotelList = []; this.HotelList = [];
var qMsg = { var qMsg = {
...@@ -215,6 +222,8 @@ ...@@ -215,6 +222,8 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.HotelList = res.data.data; this.HotelList = res.data.data;
console.log("this.HotelList",this.HotelList); console.log("this.HotelList",this.HotelList);
}else{
this.Error(res.data.message);
} }
}, err => {}) }, err => {})
}, },
...@@ -235,15 +244,6 @@ ...@@ -235,15 +244,6 @@
}, },
mounted() { mounted() {
this.UserInfo = this.getLocalStorageSupplier(); this.UserInfo = this.getLocalStorageSupplier();
let myDate = new Date();
let nowDate =
myDate.getFullYear() +
"-" +
parseInt(myDate.getMonth() + 1) +
"-" +
myDate.getDate();
this.msg.QMonthStr = myDate.getFullYear() + "-" + parseInt(myDate.getMonth() + 1);
console.log(this.msg.QMonthStr);
this.getList(); this.getList();
}, },
} }
...@@ -263,6 +263,12 @@ ...@@ -263,6 +263,12 @@
background-color: #fff; background-color: #fff;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.roomQuery_SupplierTable tbody:nth-child(2n+2){
background: #fafafa;
}
.roomQuery_SupplierTable tbody tr:last-child{
border-bottom:2px solid #333;
}
.roomQuery_SupplierTable tr th { .roomQuery_SupplierTable tr th {
background: #E6E6E6; background: #E6E6E6;
...@@ -324,7 +330,6 @@ ...@@ -324,7 +330,6 @@
} }
.roomQuery .roomNowrap{ .roomQuery .roomNowrap{
white-space: nowrap; white-space: nowrap;
margin-bottom:5px;
display: block; display: block;
text-align: left; text-align: left;
padding-left:20px; padding-left:20px;
...@@ -334,7 +339,7 @@ ...@@ -334,7 +339,7 @@
font-weight: bold; font-weight: bold;
} }
.rq_HotelTable { padding: 10px 0 0 20px; background-color: #ededed; border-collapse: collapse; border: 1px solid #d2d2d2; font-size: 12px;} .rq_HotelTable { padding: 10px 0 0 20px; background-color: #ededed; border-collapse: collapse; border: 1px solid #d2d2d2; font-size: 12px;}
.rq_HotelTable th { background-color: #ededed; padding: 5px 10px;} .rq_HotelTable th { background-color: #ededed; padding: 5px 10px;text-align: center;}
.rq_HotelTable td { background-color: #ffffff; padding: 9px 10px;color: #333333;border: 1px solid #d2d2d2;} .rq_HotelTable td { background-color: #ffffff; padding: 9px 10px;color: #333333;border: 1px solid #d2d2d2;}
.rq_HotelDetails{ .rq_HotelDetails{
max-height:400px; max-height:400px;
......
...@@ -443,7 +443,8 @@ ...@@ -443,7 +443,8 @@
//导出报表 //导出报表
exportExcel() { exportExcel() {
let msg = { let msg = {
AirTicketId: this.msg.AirTicketId AirTicketId: this.msg.AirTicketId,
Type:0
}; };
var fileName = this.$route.query.flightdate //this.QueryMsg.nowDate; var fileName = this.$route.query.flightdate //this.QueryMsg.nowDate;
var TempfileName = "" var TempfileName = ""
......
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