Commit 90ab3d22 authored by 华国豪's avatar 华国豪 🙄
parents ca3c2ec7 3e3504cb
...@@ -22,7 +22,15 @@ ...@@ -22,7 +22,15 @@
</li> </li>
</ul> </ul>
</div> </div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " class="ownScrollbarStyle">
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " class="HotelQueryList">
<div class="hotelProductManage2_tableBox">
<span style="color:#000000;background-color: #ff3737;padding:2px 4px;border-radius:5px" >红日</span>
<span style="color:#000000;background-color: #ff99cc;padding:2px 4px;border-radius:5px" >旺季</span>
<span style="color:#000000;background-color: #bcd6ee;padding:2px 4px;border-radius:5px" >平季</span>
<span style="color:#000000;background-color: #DDDDDD;padding:2px 4px;border-radius:5px">淡季</span>
<span style="color:#000000;background-color: #02F78E;padding:2px 4px;border-radius:5px" >特别价</span>
</div>
<table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList" v-if="isShow"> <table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList" v-if="isShow">
<tr> <tr>
<th width="300">酒店名称</th> <th width="300">酒店名称</th>
...@@ -43,13 +51,20 @@ ...@@ -43,13 +51,20 @@
<div style="min-width:300px; text-align:left;padding-left:5px;">{{item.HotelName}}</div> <div style="min-width:300px; text-align:left;padding-left:5px;">{{item.HotelName}}</div>
</td> </td>
<td> <td>
<div class="Hotel_kong" style="min-width:60px;">空房</div> <div class="Hotel_kong">价格</div>
<div class="Hotel_kong" style="min-width:60px;">总/用/剩</div>
<div class="Hotel_kong">超定</div> <div class="Hotel_kong">超定</div>
</td> </td>
<td v-for="subItem in item.subList"> <td v-for="subItem in item.subList">
<div class="Hotel_kong Com_hoteldiv" :class="{'noKucun':subItem.Status==0}">{{subItem.RemainingInventory}}</div> <div class="Hotel_kong Com_hoteldiv" :class="{'noKucun':subItem.Status==0,'classHong':subItem.InventoryType==1,
'classWang':subItem.InventoryType==2,'classPing':subItem.InventoryType==3,'classDan':subItem.InventoryType==4,'classTe':subItem.InventoryType==5}">
{{subItem.CostPrice}}</div>
<div class="Hotel_kong Com_hoteldiv"> <div class="Hotel_kong Com_hoteldiv">
<span v-if="subItem.UseInventory-subItem.Inventory>0" style="color:red;">{{subItem.UseInventory-subItem.Inventory}}</span> {{subItem.Inventory}}/{{subItem.UseInventory}}/{{subItem.RemainingInventory}}</div>
<div class="Hotel_kong Com_hoteldiv">
<span v-if="subItem.UseInventory-subItem.Inventory>0" style="color:red;">
{{subItem.UseInventory-subItem.Inventory}}
</span>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -84,6 +99,7 @@ ...@@ -84,6 +99,7 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.dataList = res.data.data; this.dataList = res.data.data;
console.log("this.datalist",this.dataList);
this.isShow=true; this.isShow=true;
console.log(this.dataList,'dataList'); console.log(this.dataList,'dataList');
} else { } else {
...@@ -129,7 +145,30 @@ ...@@ -129,7 +145,30 @@
var weekDay = ["天", "一", "二", "三", "四", "五", "六"]; var weekDay = ["天", "一", "二", "三", "四", "五", "六"];
var myDate = new Date(Date.parse(dateStr)); var myDate = new Date(Date.parse(dateStr));
return weekDay[myDate.getDay()] return weekDay[myDate.getDay()]
} },
//获取颜色状态
// getClass(status) {
// var classStr = "";
// switch (status) {
// case 1:
// classStr = "classHong";
// break;
// case 2:
// classStr = "classWang";
// break;
// case 3:
// classStr = "classPing";
// break;
// case 4:
// classStr = "classDan";
// break;
// case 5:
// classStr = "classTe";
// break;
// }
// return classStr;
// },
}, },
mounted() { mounted() {
this.GetHotelList(); this.GetHotelList();
...@@ -139,9 +178,25 @@ ...@@ -139,9 +178,25 @@
</script> </script>
<style> <style>
.classHong{
background-color: rgb(255, 55, 55);
}
.classWang{
background-color: rgb(255, 153, 204);
}
.classPing{
background-color: rgb(188, 214, 238);
}
.classDan{
background-color: rgb(221, 221, 221);
}
.classTe{
background-color: rgb(2, 247, 142);
}
.HouseTypeList { .HouseTypeList {
background: #ccc; background: #ccc;
width:100%; width:100%;
margin-top:20px;
} }
.Com_hoteldiv{ .Com_hoteldiv{
min-width: 40px; min-width: 40px;
...@@ -174,4 +229,7 @@ ...@@ -174,4 +229,7 @@
.HouseTypeList tr td { .HouseTypeList tr td {
font-size: 12px; font-size: 12px;
} }
.hotelProductManage2_tableBox span{
margin:0 10px 10px 0;
}
</style> </style>
This diff is collapsed.
This diff is collapsed.
...@@ -703,10 +703,10 @@ ...@@ -703,10 +703,10 @@
}, },
datatype: "jsonP", datatype: "jsonP",
success: function (data) { success: function (data) {
//console.log("上传成功",data);
}, },
error: function () { error: function () {
//console.log("上传失败");
} }
}); });
if (allNum !== document.querySelectorAll(cName).length) { if (allNum !== document.querySelectorAll(cName).length) {
...@@ -903,7 +903,7 @@ ...@@ -903,7 +903,7 @@
} }
this.pdfLoading = false this.pdfLoading = false
}).catch(err => { }).catch(err => {
console.log(err)
}) })
}, },
ToWord: function (title, isPc) { ToWord: function (title, isPc) {
......
<style> <style>
.sysLog_Content{ .sysLog_Content{
width:100%;
border-left:2px solid #D2D2D2; border-left:2px solid #D2D2D2;
margin-left:20px; margin:40px 0 0 40px;
} }
.sysLog_List{ .sysLog_List{
position: relative; position: relative;
...@@ -16,11 +15,15 @@ ...@@ -16,11 +15,15 @@
border:2px solid #58D2A7; border:2px solid #58D2A7;
border-radius:50%; border-radius:50%;
margin-right:10px; margin-right:10px;
position: relative;
top:-4px;
} }
.sysFirDate{ .sysFirDate{
color:#38425D; color:#38425D;
font-weight: bold; font-weight: bold;
font-size:12px; font-size:12px;
position: relative;
top:-4px;
} }
.sysContent_main{ .sysContent_main{
width:894px; width:894px;
...@@ -44,10 +47,14 @@ ...@@ -44,10 +47,14 @@
background-color: #B1B1B1; background-color: #B1B1B1;
border:2px solid #EFEFEF; border:2px solid #EFEFEF;
margin-right:10px; margin-right:10px;
position: relative;
top:-3px;
} }
.sysFirDate_other{ .sysFirDate_other{
color:#38425D; color:#38425D;
font-size:12px; font-size:12px;
position: relative;
top:-4px;
} }
</style> </style>
...@@ -57,7 +64,7 @@ ...@@ -57,7 +64,7 @@
<div class="sysPosi_div"> <div class="sysPosi_div">
<span class="sysCircle" v-if="index==0"></span> <span class="sysCircle" v-if="index==0"></span>
<span class="sysCircle_other" v-else></span> <span class="sysCircle_other" v-else></span>
<span style="font-size:14px;margin-right:20px;">{{item.UpdateTitle}}</span> <span style="font-size:14px;margin-right:20px;position:relative;top:-4px;">{{item.UpdateTitle}}</span>
<span class="sysFirDate" v-if="index==0">{{item.UpdateTimeStr}}</span> <span class="sysFirDate" v-if="index==0">{{item.UpdateTimeStr}}</span>
<span class="sysFirDate_other" v-else>{{item.UpdateTimeStr}}</span> <span class="sysFirDate_other" v-else>{{item.UpdateTimeStr}}</span>
</div> </div>
...@@ -83,7 +90,6 @@ ...@@ -83,7 +90,6 @@
this.apipost("sysrecord_get_GetPageList",this.msg,res => { this.apipost("sysrecord_get_GetPageList",this.msg,res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
console.log(this.dataList,'datalist');
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -628,11 +628,11 @@ export default { ...@@ -628,11 +628,11 @@ export default {
title: '酒店核算详情' title: '酒店核算详情'
}, },
},{ },{
path: '/HouseTypeList', //配房类型 path: '/HotelQueryList', //酒店查询统计
name: 'HouseTypeList', name: 'HotelQueryList',
component: resolve => require(['@/components/Hotel/HouseTypeList'], resolve), component: resolve => require(['@/components/Hotel/HotelQueryList'], resolve),
meta: { meta: {
title: '配房类型' title: '酒店查询统计'
}, },
}, },
{ {
...@@ -2939,15 +2939,12 @@ export default { ...@@ -2939,15 +2939,12 @@ export default {
title: '奖项列表' title: '奖项列表'
} }
}, },
]
},
{ {
path: '/systemLogs', //版本更新记录 path: '/systemLogs', //版本更新记录
name: 'systemLogs', name: 'systemLogs',
component: resolve => require(['@/components/systemLogs'], resolve), component: resolve => require(['@/components/systemLogs'], resolve),
meta:{
title: '版本更新记录'
}
}
]
}, },
{ {
path: '/permissionmanage', path: '/permissionmanage',
......
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