Commit 328e3803 authored by 华国豪's avatar 华国豪 🙄
parents d9723721 4c1320b9
...@@ -55,11 +55,11 @@ ...@@ -55,11 +55,11 @@
<div class="Hotel_kong" style="min-width:60px;">总/用/剩</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,subIndex) in item.subList">
<div class="Hotel_kong Com_hoteldiv" :class="{'noKucun':subItem.Status==0,'classHong':subItem.InventoryType==1, <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}"> 'classWang':subItem.InventoryType==2,'classPing':subItem.InventoryType==3,'classDan':subItem.InventoryType==4,'classTe':subItem.InventoryType==5}">
{{subItem.CostPrice}}</div> {{subItem.CostPrice}}</div>
<div class="Hotel_kong Com_hoteldiv"> <div class="Hotel_kong Com_hoteldiv" @click="GotoUrl(item,subIndex)">
{{subItem.Inventory}}/{{subItem.UseInventory}}/{{subItem.RemainingInventory}}</div> {{subItem.Inventory}}/{{subItem.UseInventory}}/{{subItem.RemainingInventory}}</div>
<div class="Hotel_kong Com_hoteldiv"> <div class="Hotel_kong Com_hoteldiv">
<span v-if="subItem.UseInventory-subItem.Inventory>0" style="color:red;"> <span v-if="subItem.UseInventory-subItem.Inventory>0" style="color:red;">
...@@ -88,6 +88,18 @@ ...@@ -88,6 +88,18 @@
}; };
}, },
methods: { methods: {
GotoUrl(item,subIndex)
{
this.$router.push({
path: "TravelControlList",
query: {
HotelId: item.HotelId,
HotelUseTime: item.subList[subIndex].DateStr,
blank: "y",
tab: name
}
});
},
getList() { getList() {
if (this.msg.StartDate == null) { if (this.msg.StartDate == null) {
this.msg.StartDate = new Date().Format("yyyy-MM-dd") this.msg.StartDate = new Date().Format("yyyy-MM-dd")
......
...@@ -908,6 +908,8 @@ ...@@ -908,6 +908,8 @@
TeamType: 0, //一般常规团 TeamType: 0, //一般常规团
IsShowUnion: 1, IsShowUnion: 1,
TCID: '0', TCID: '0',
HotelId:0,//酒店编号
HotelUseTime:"",//酒店使用时间
}, },
remarkMsg: { remarkMsg: {
TCID: 0, TCID: 0,
...@@ -1658,6 +1660,12 @@ ...@@ -1658,6 +1660,12 @@
if (this.$route.query.tcmun) { if (this.$route.query.tcmun) {
this.queryMsg.TCNUM = this.$route.query.tcmun this.queryMsg.TCNUM = this.$route.query.tcmun
} }
if (this.$route.query.HotelId) {
this.queryMsg.HotelId = this.$route.query.HotelId
}
if (this.$route.query.HotelUseTime) {
this.queryMsg.HotelUseTime = this.$route.query.HotelUseTime
}
if (this.CurrentUserInfo.IsParentCompany == undefined) { if (this.CurrentUserInfo.IsParentCompany == undefined) {
this.queryCommonData.IsParentCompany = 2 this.queryCommonData.IsParentCompany = 2
......
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