Commit 1bddf68a authored by 黄奎's avatar 黄奎

页面修改

parent c23a3a21
......@@ -5,12 +5,9 @@
<li>
<span>
<em>月份</em>
<el-date-picker
v-model="msg.Month"
type="month"
placeholder="选择月">
<el-date-picker v-model="msg.Month" type="month" placeholder="选择月">
</el-date-picker>
</span>
</span>
</li>
<li style="position:absolute;right:10px;top:0;">
<input type="button" class="normalBtn" value="查询" @click="getList();resetPageIndex()" />
......@@ -29,20 +26,38 @@
<table border="0" cellspacing="1" cellpadding="0" class="roomQuery_SupplierTable" v-loading='loading'>
<tr>
<th width="100">序号</th>
<th width="120">出发地</th>
<th width="100">公司团号</th>
<th width="80">团队状态</th>
<th width="100">系列</th>
<th width="120">机位总数<br />(Y/E/F)</th>
<th width="100">时间</th>
<th width="150">酒店</th>
<th width="100">酒店使用情况</th>
<th width="100">操作</th>
<th width="120">机位总数</th>
<th width="100">当前人数</th>
<th width="150">酒店详情</th>
</tr>
<tbody v-for="(item,index) in dataList">
<tr>
<td>
{{item.NewCombinationNum}}
</td>
<td>
{{item.TCNUMS}}
</td>
<td>
{{item.TotalSeat}}
</td>
<td>
{{item.RealNum}}
</td>
<td>
<a style="color:blue;text-decoration:underline;">酒店使用情况</a>
</td>
</tr>
<tr >
<td colspan="5" style="text-align:left;padding-left:5px;">
注意事项: {{item.SupplierRemarks}}
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<script>
......@@ -105,10 +120,10 @@
},
//当前酒店列表
CurrentHotelList: [],
}
},
methods: {
methods: {
//获取日志
getLogsList(TCID) {
// if (TCID) {
......@@ -125,11 +140,9 @@
this.loading = true;
this.ApiPost2('dmcstatistics_post_GetUniteCombinationNumService_Supplier_V2', this.msg, res => {
this.loading = false;
console.log(res.data);
if (res.data.resultCode == 1) {
// this.total = res.data.data.count;
// this.dataList = res.data.data.pageData;
this.dataList = res.data.data;
console.log("this.dataList ", this.dataList);
} else {
this.$message.error(res.data.message)
}
......@@ -159,17 +172,8 @@
parseInt(myDate.getMonth() + 1) +
"-" +
myDate.getDate();
if (this.$route.query.hotelId) {
this.msg.HotelId = this.$route.query.hotelId;
}
if (this.$route.query.dateStr) {
this.msg.DateStr = this.$route.query.dateStr;
}
if (this.$route.query.hotelId || this.$route.query.dateStr) {
this.msg.StartDate = "";
} else {
this.msg.StartDate = nowDate;
}
this.msg.Month= myDate.getFullYear() + "-" + parseInt(myDate.getMonth() + 1);
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