Commit 90dba923 authored by 黄奎's avatar 黄奎

新增酒店统计

parent fa833875
This diff is collapsed.
...@@ -109,7 +109,11 @@ ...@@ -109,7 +109,11 @@
<el-table-column :label="$t('leader.leader_Guide')" prop="GuideName" width="150"> <el-table-column :label="$t('leader.leader_Guide')" prop="GuideName" width="150">
<template #default="{row}"> <template #default="{row}">
<span v-if="row.isFirst">{{row.parent.GuideName}}({{row.parent.GuideSpareTel}})</span> <span v-if="row.isFirst">{{row.parent.GuideName}}
<template v-if="row.parent.GuideSpareTel&&row.parent.GuideSpareTel!=''">
({{row.parent.GuideSpareTel}})
</template>
</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -284,7 +288,7 @@ ...@@ -284,7 +288,7 @@
// 需要合并的列(根据上面 el-table-column 的顺序):0..8 以及最后一列动作 (共 10 列) // 需要合并的列(根据上面 el-table-column 的顺序):0..8 以及最后一列动作 (共 10 列)
// 我们只按列属性判断,合并那些基于父级显示的列 // 我们只按列属性判断,合并那些基于父级显示的列
const mergeCols = ['DMCNum', 'TCNUM', 'OutBranchName', 'LeaderName', 'GuideName', 'LtName', 'seat', 'UseTime', const mergeCols = ['DMCNum', 'TCNUM', 'OutBranchName', 'LeaderName', 'GuideName', 'LtName', 'seat', 'UseTime',
'NewHotelName', 'actions','StartDate' 'NewHotelName', 'actions', 'StartDate'
]; ];
if (row.isFirst && mergeCols.includes(column.property)) { if (row.isFirst && mergeCols.includes(column.property)) {
return [span, 1]; return [span, 1];
...@@ -458,14 +462,10 @@ ...@@ -458,14 +462,10 @@
parseInt(myDate.getMonth() + 1) + parseInt(myDate.getMonth() + 1) +
"-" + "-" +
myDate.getDate(); myDate.getDate();
if (this.$route.query.hotelId) {
this.msg.HotelId = this.$route.query.hotelId; if (this.$route.query.dateStr && this.$route.query.dateStr != '') {
} this.msg.StartDate = this.$route.query.dateStr;
if (this.$route.query.dateStr) { this.msg.EndDate = this.$route.query.dateStr
this.msg.DateStr = this.$route.query.dateStr;
}
if (this.$route.query.hotelId || this.$route.query.dateStr) {
this.msg.StartDate = "";
} else { } else {
this.msg.StartDate = nowDate; this.msg.StartDate = nowDate;
} }
...@@ -473,7 +473,6 @@ ...@@ -473,7 +473,6 @@
this.msg.LineId = 14; this.msg.LineId = 14;
this.getLineTeamList(); this.getLineTeamList();
} }
//this.GetHotelList();
this.getList(); this.getList();
}, },
} }
......
...@@ -1476,6 +1476,14 @@ export default { ...@@ -1476,6 +1476,14 @@ export default {
meta: { meta: {
title: '房型确认' title: '房型确认'
}, },
},
{
path: '/roomStatic', //订房统计
name: 'roomStatic',
component: resolve => require(['@/components/Hotel/roomStatic'], resolve),
meta: {
title: '订房统计'
},
}, },
{ {
path: '/roomSure', //订房确认 path: '/roomSure', //订房确认
......
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