Commit 1f053b1d authored by Mac's avatar Mac
parents e3f559a3 69b68682
......@@ -127,16 +127,6 @@
酒店选择
</el-button>
</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>
</tr>
<tr>
......@@ -234,6 +224,19 @@
<tr>
<td colspan="2" style="height:5px;"></td>
</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>
<td width="70" style="text-align:right;">付款方式:</td>
<td>
......@@ -264,7 +267,6 @@
<td width="70" style="text-align:right;">订团号:</td>
<td>
<el-input class='w135' v-model='subItem.ReserveNo'></el-input>
</td>
</tr>
<tr>
......
......@@ -5,7 +5,7 @@
<li>
<span>
<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>
</span>
</li>
......@@ -66,7 +66,7 @@
<el-popover placement="bottom" width="800" trigger="click" popper-class="rq_HotelDetails">
<table class="rq_HotelTable">
<tr>
<th width="160">
<th width="180">
时间
</th>
<th width="200">
......@@ -78,12 +78,16 @@
<th width="500">
价格
</th>
<th width="120">
税入/税别
</th>
</tr>
<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>
<td v-if="childIndex==0" :rowspan="subItem.HotelOrderList.length">
{{subIndex+1}}<br/>
<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/>
{{subItem.UseTimeStr}}
</td>
<td>
......@@ -101,19 +105,21 @@
<template v-if="detailsItem.HouseType==4">司导间</template>
{{detailsItem.HouseTypeCount}} 间
价格: {{detailsItem.UnitPrice}}
{{detailsItem.TaxType}}
<template v-if="detailsItem.TaxType==1">税入</template>
<template v-if="detailsItem.TaxType==2">税别</template>
返佣: {{detailsItem.RebateRatio}}
<br/>
</template>
</td>
<td>
<template v-if="childItem.TaxType==1">税入</template>
<template v-if="childItem.TaxType==2">税别</template>
</td>
</tr>
<tr >
<td colspan="4">
<tr>
<td colspan="4">
<span style="display:inline-block;width:40px;vertical-align:top;">备注:</span>
<span style="display:inline-block;width:400px;">{{childItem.Remarks}}</span></td>
</tr>
</template>
</tbody>
</template>
</table>
......@@ -123,8 +129,8 @@
</td>
</tr>
<tr>
<td colspan="5" style="text-align:left;padding-left:5px;">
注意事项: {{item.SupplierRemarks}}
<td colspan="8" style="text-align:left;padding-left:5px;">
注意事项 {{item.SupplierRemarks}}
</td>
</tr>
</tbody>
......@@ -161,7 +167,7 @@
TCNUM: '',
PriceStatus: 0,
CombinationNum: '',
QMonthStr: "" //月份字符串
QMonthStr: new Date().Format("yyyy-MM") //月份字符串
},
UserInfo: {}, //用户信息
dataList: [], //数据列表
......@@ -198,12 +204,13 @@
if (res.data.resultCode == 1) {
this.dataList = res.data.data;
} else {
this.$message.error(res.data.message)
this.Error(res.data.message)
}
}, err => {})
},
//获取日志
getHotelList(TCID, NewCombinationNum) {
console.log(TCID)
this.hotelLoading=true;
this.HotelList = [];
var qMsg = {
......@@ -215,6 +222,8 @@
if (res.data.resultCode == 1) {
this.HotelList = res.data.data;
console.log("this.HotelList",this.HotelList);
}else{
this.Error(res.data.message);
}
}, err => {})
},
......@@ -235,15 +244,6 @@
},
mounted() {
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();
},
}
......@@ -263,6 +263,12 @@
background-color: #fff;
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 {
background: #E6E6E6;
......@@ -324,7 +330,6 @@
}
.roomQuery .roomNowrap{
white-space: nowrap;
margin-bottom:5px;
display: block;
text-align: left;
padding-left:20px;
......@@ -334,7 +339,7 @@
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 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_HotelDetails{
max-height:400px;
......
......@@ -443,7 +443,8 @@
//导出报表
exportExcel() {
let msg = {
AirTicketId: this.msg.AirTicketId
AirTicketId: this.msg.AirTicketId,
Type:0
};
var fileName = this.$route.query.flightdate //this.QueryMsg.nowDate;
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