Commit e0a6c0b5 authored by youjie's avatar youjie

no message

parent 3a32dd7e
...@@ -649,8 +649,8 @@ export default { ...@@ -649,8 +649,8 @@ export default {
}, },
getPageList(){ // 获取列表数据 getPageList(){ // 获取列表数据
if(this.transactionDate){ if(this.transactionDate){
this.msg.QStartDate = this.transactionDate[0]?'2019-01-01':'' this.msg.QStartDate = this.transactionDate[0]
this.msg.QEndDate = this.transactionDate[1]?'2019-02-01':'' this.msg.QEndDate = this.transactionDate[1]
} }
this.loading= true; this.loading= true;
this.apipost('Financial_post_GetTravelFinanceRateSetPageList',this.msg,res=>{ this.apipost('Financial_post_GetTravelFinanceRateSetPageList',this.msg,res=>{
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
</div> </div>
<template v-if="isShow"> <template v-if="isShow">
<el-table v-if="dataList.length>0" :data="dataList" style="width:100%" border v-loading='loading' <el-table v-if="dataList.length>0" :data="dataList" style="width:100%" border v-loading='loading'
:height="tableHeight"> ref="mytable" key="HotelId" :height="tableHeight">
<el-table-column fixed label="酒店名称" min-width="180"> <el-table-column fixed label="酒店名称" min-width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="text-decoration: underline;cursor:pointer" @click="GotoHotel(scope.row.HotelId)"> <div style="text-decoration: underline;cursor:pointer" @click="GotoHotel(scope.row.HotelId)">
...@@ -131,16 +131,16 @@ ...@@ -131,16 +131,16 @@
</template> </template>
</div> </div>
<div class="Hotel_kong Com_hoteldiv Hq_duoge" <div class="Hotel_kong Com_hoteldiv Hq_duoge"
@click="GotoUrl(scope.row,index,item.UseInventory)"> @click="GotoUrl(scope.row,index,scope.row.subList[index].UseInventory)">
{{item.Inventory}}/{{item.UseInventory}}/{{item.RemainingInventory}} {{scope.row.subList[index].Inventory}}/{{scope.row.subList[index].UseInventory}}/{{scope.row.subList[index].RemainingInventory}}
</div> </div>
<div class="Hotel_kong Com_hoteldiv"> <div class="Hotel_kong Com_hoteldiv">
{{item.ConfirmNum}}/{{item.ReserveNum}} {{scope.row.subList[index].ConfirmNum}}/{{scope.row.subList[index].ReserveNum}}
</div> </div>
<div class="Hotel_kong Com_hoteldiv"> <div class="Hotel_kong Com_hoteldiv">
<span v-if="item.UseInventory-item.Inventory>0" <span v-if="scope.row.subList[index].UseInventory-scope.row.subList[index].Inventory>0"
style="color:red;"> style="color:red;">
{{item.UseInventory-item.Inventory}} {{scope.row.subList[index].UseInventory-scope.row.subList[index].Inventory}}
</span> </span>
</div> </div>
</template> </template>
...@@ -418,6 +418,10 @@ ...@@ -418,6 +418,10 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.dataList = res.data.data; this.dataList = res.data.data;
this.isShow = true; this.isShow = true;
let _this = this
this.$nextTick(() => {
_this.$refs.mytable.doLayout();
})
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -126,15 +126,15 @@ ...@@ -126,15 +126,15 @@
</template> </template>
</div> </div>
<div class="Hotel_kong Com_hoteldiv Hq_duoge"> <div class="Hotel_kong Com_hoteldiv Hq_duoge">
{{item.Inventory}}/{{item.UseInventory}}/{{item.RemainingInventory}} {{scope.row.subList[index].Inventory}}/{{scope.row.subList[index].UseInventory}}/{{scope.row.subList[index].RemainingInventory}}
</div> </div>
<div class="Hotel_kong Com_hoteldiv"> <div class="Hotel_kong Com_hoteldiv">
{{item.ConfirmNum}}/{{item.ReserveNum}} {{scope.row.subList[index].ConfirmNum}}/{{scope.row.subList[index].ReserveNum}}
</div> </div>
<div class="Hotel_kong Com_hoteldiv"> <div class="Hotel_kong Com_hoteldiv">
<span v-if="item.UseInventory-item.Inventory>0" <span v-if="scope.row.subList[index].UseInventory-scope.row.subList[index].Inventory>0"
style="color:red;"> style="color:red;">
{{item.UseInventory-item.Inventory}} {{scope.row.subList[index].UseInventory-scope.row.subList[index].Inventory}}
</span> </span>
</div> </div>
</div> </div>
......
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