Commit a73a3e57 authored by zhengke's avatar zhengke

修改

parent 00cba258
...@@ -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,14 +78,14 @@ ...@@ -78,14 +78,14 @@
<th width="500"> <th width="500">
价格 价格
</th> </th>
<th width="100"> <th width="120">
税入/税别 税入/税别
</th> </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 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" style="text-align:center;">
{{subIndex+1}}<br/> {{subIndex+1}}<br/>
{{subItem.UseTimeStr}} {{subItem.UseTimeStr}}
</td> </td>
...@@ -104,17 +104,16 @@ ...@@ -104,17 +104,16 @@
<template v-if="detailsItem.HouseType==4">司导间</template> <template v-if="detailsItem.HouseType==4">司导间</template>
{{detailsItem.HouseTypeCount}} 间 {{detailsItem.HouseTypeCount}} 间
价格: {{detailsItem.UnitPrice}} 价格: {{detailsItem.UnitPrice}}
返佣: {{detailsItem.RebateRatio}} 返佣: {{detailsItem.RebateRatio}}
<br/> <br/>
</template> </template>
</td> </td>
<td> <td>
<template v-if="childItem.TaxType==1">税入</template> <template v-if="childItem.TaxType==1">税入</template>
<template v-if="childItem.TaxType==2">税别</template> <template v-if="childItem.TaxType==2">税别</template>
</td> </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>
...@@ -128,8 +127,8 @@ ...@@ -128,8 +127,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>
...@@ -166,7 +165,7 @@ ...@@ -166,7 +165,7 @@
TCNUM: '', TCNUM: '',
PriceStatus: 0, PriceStatus: 0,
CombinationNum: '', CombinationNum: '',
QMonthStr: "" //月份字符串 QMonthStr: new Date().Format("yyyy-MM") //月份字符串
}, },
UserInfo: {}, //用户信息 UserInfo: {}, //用户信息
dataList: [], //数据列表 dataList: [], //数据列表
...@@ -203,12 +202,13 @@ ...@@ -203,12 +202,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 = {
...@@ -220,6 +220,8 @@ ...@@ -220,6 +220,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 => {})
}, },
...@@ -240,15 +242,6 @@ ...@@ -240,15 +242,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();
}, },
} }
...@@ -268,6 +261,12 @@ ...@@ -268,6 +261,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;
...@@ -329,7 +328,6 @@ ...@@ -329,7 +328,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;
...@@ -339,7 +337,7 @@ ...@@ -339,7 +337,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;
......
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