Commit ca74421e authored by 黄奎's avatar 黄奎

新酒店价格相关字段

parent aea6857a
...@@ -29,15 +29,17 @@ ...@@ -29,15 +29,17 @@
<div v-if="item.data&&item.month===calendar.data.date" :class="stockColor(item.data.SubList[0].InventoryType)"> <div v-if="item.data&&item.month===calendar.data.date" :class="stockColor(item.data.SubList[0].InventoryType)">
<template v-for="(childItem,childIndex) in item.data.SubList"> <template v-for="(childItem,childIndex) in item.data.SubList">
<p> <p>
<span title="点击修改价格和库存信息"> <span title="点击修改价格和库存信息">
价格:<span @click="goUrlA('2', item,childItem.BatchNumber)" class="text_underLine">{{childItem.CostPrice}}{{childItem.CurrencyName}}</span> 价格:<span @click="goUrlA('2', item,childItem.BatchNumber)"
</span><br/> class="text_underLine">{{childItem.CostPrice}}{{childItem.CurrencyName}}</span>
<span title="点击跳转到总库存看板"> </span><br />
总库存:<span class="text_underLine" @click="goUrlB(item)">{{childItem.Inventory}}(间)</span> <span title="点击跳转到总库存看板">
</span><br/> 总库存:<span class="text_underLine" @click="goUrlB(item)">{{childItem.Inventory}}(间)</span>
<span title="点击跳转到酒店查询"> </span><br />
剩余库存:<span class="text_underLine" @click="goUrlHotelTeam(item)">{{childItem.RemainingInventory}}(间)</span> <span title="点击跳转到酒店查询">
</span> 剩余库存:<span class="text_underLine"
@click="goUrlHotelTeam(item)">{{childItem.RemainingInventory}}(间)</span>
</span>
</p> </p>
</template> </template>
</div> </div>
...@@ -83,14 +85,16 @@ ...@@ -83,14 +85,16 @@
return 'hasStock hasStock_4' return 'hasStock hasStock_4'
} else if (type === 5) { } else if (type === 5) {
return 'hasStock hasStock_5' return 'hasStock hasStock_5'
} else if (type === 6) {
return 'hasStock hasStock_6'
} }
}, },
calendarHide: function () { calendarHide: function () {
this.calendar.show = false this.calendar.show = false
this.calendar.data = {} this.calendar.data = {}
}, },
goUrlA: function (type, item,BatchNumber) { goUrlA: function (type, item, BatchNumber) {
this.$emit('goEdit', type, item.day,BatchNumber) this.$emit('goEdit', type, item.day, BatchNumber)
}, },
goUrlHotelTeam: function (item) { goUrlHotelTeam: function (item) {
this.$router.push({ this.$router.push({
...@@ -115,7 +119,6 @@ ...@@ -115,7 +119,6 @@
} }
} }
} }
</script> </script>
<style scoped> <style scoped>
...@@ -296,6 +299,11 @@ ...@@ -296,6 +299,11 @@
background-color: #02F78E; background-color: #02F78E;
} }
.hotelProductCalendar_day>div>.hasStock_6 {
background-color: #808000;
}
.hotelProductCalendar_day>div>.noStock { .hotelProductCalendar_day>div>.noStock {
padding: 30px 0 0 0; padding: 30px 0 0 0;
width: 100%; width: 100%;
......
...@@ -199,6 +199,10 @@ ...@@ -199,6 +199,10 @@
background-color: #02F78E; background-color: #02F78E;
} }
.hotelSalesBoard .hasStock_6 {
background-color: #808000;
}
.hotelSalesBoard .stock1 { .hotelSalesBoard .stock1 {
color: red; color: red;
} }
...@@ -258,9 +262,11 @@ ...@@ -258,9 +262,11 @@
</li> </li>
<li style="margin-right:50px;"> <li style="margin-right:50px;">
<button class="normalBtn" type="button" @click="GetHoltelInventory()">{{$t('pub.searchBtn')}}</button> <button class="normalBtn" type="button" @click="GetHoltelInventory()">{{$t('pub.searchBtn')}}</button>
<input type="button" class="normalBtn" :value="$t('ground.xiazaidangejiud')" @click="DownLoadHotelSalesBoard()" /> <input type="button" class="normalBtn" :value="$t('ground.xiazaidangejiud')"
@click="DownLoadHotelSalesBoard()" />
<input type="button" class="normalBtn" :value="$t('ground.xiazaixuanbu')" @click="DownLoadAllHotelSalesBoard()" /> <input type="button" class="normalBtn" :value="$t('ground.xiazaixuanbu')"
@click="DownLoadAllHotelSalesBoard()" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -275,6 +281,7 @@ ...@@ -275,6 +281,7 @@
<span class="hasStock_3" style="padding:2px 4px;border-radius:5px">{{$t('ground.pingji')}}</span> <span class="hasStock_3" style="padding:2px 4px;border-radius:5px">{{$t('ground.pingji')}}</span>
<span class="hasStock_4" style="padding:2px 4px;border-radius:5px">{{$t('ground.danji')}}</span> <span class="hasStock_4" style="padding:2px 4px;border-radius:5px">{{$t('ground.danji')}}</span>
<span class="hasStock_5" style="padding:2px 4px;border-radius:5px">{{$t('ground.tebiejia')}}</span> <span class="hasStock_5" style="padding:2px 4px;border-radius:5px">{{$t('ground.tebiejia')}}</span>
<span class="hasStock_6" style="padding:2px 4px;border-radius:5px">行前日</span>
</div> </div>
<div class="month"> <div class="month">
<ul> <ul>
......
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