Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
ca74421e
Commit
ca74421e
authored
2 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新酒店价格相关字段
parent
aea6857a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
120 additions
and
40 deletions
+120
-40
HotelProductCalendar.vue
src/components/Hotel/HotelProductCalendar.vue
+20
-12
HotelProductManage2.vue
src/components/Hotel/HotelProductManage2.vue
+91
-26
HotelSalesBoard.vue
src/components/Hotel/HotelSalesBoard.vue
+9
-2
No files found.
src/components/Hotel/HotelProductCalendar.vue
View file @
ca74421e
...
...
@@ -29,15 +29,17 @@
<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"
>
<p>
<span
title=
"点击修改价格和库存信息"
>
价格:
<span
@
click=
"goUrlA('2', item,childItem.BatchNumber)"
class=
"text_underLine"
>
{{
childItem
.
CostPrice
}}
(
{{
childItem
.
CurrencyName
}}
)
</span>
</span><br/>
<span
title=
"点击跳转到总库存看板"
>
总库存:
<span
class=
"text_underLine"
@
click=
"goUrlB(item)"
>
{{
childItem
.
Inventory
}}
(间)
</span>
</span><br/>
<span
title=
"点击跳转到酒店查询"
>
剩余库存:
<span
class=
"text_underLine"
@
click=
"goUrlHotelTeam(item)"
>
{{
childItem
.
RemainingInventory
}}
(间)
</span>
</span>
<span
title=
"点击修改价格和库存信息"
>
价格:
<span
@
click=
"goUrlA('2', item,childItem.BatchNumber)"
class=
"text_underLine"
>
{{
childItem
.
CostPrice
}}
(
{{
childItem
.
CurrencyName
}}
)
</span>
</span><br
/>
<span
title=
"点击跳转到总库存看板"
>
总库存:
<span
class=
"text_underLine"
@
click=
"goUrlB(item)"
>
{{
childItem
.
Inventory
}}
(间)
</span>
</span><br
/>
<span
title=
"点击跳转到酒店查询"
>
剩余库存:
<span
class=
"text_underLine"
@
click=
"goUrlHotelTeam(item)"
>
{{
childItem
.
RemainingInventory
}}
(间)
</span>
</span>
</p>
</
template
>
</div>
...
...
@@ -83,14 +85,16 @@
return
'hasStock hasStock_4'
}
else
if
(
type
===
5
)
{
return
'hasStock hasStock_5'
}
else
if
(
type
===
6
)
{
return
'hasStock hasStock_6'
}
},
calendarHide
:
function
()
{
this
.
calendar
.
show
=
false
this
.
calendar
.
data
=
{}
},
goUrlA
:
function
(
type
,
item
,
BatchNumber
)
{
this
.
$emit
(
'goEdit'
,
type
,
item
.
day
,
BatchNumber
)
goUrlA
:
function
(
type
,
item
,
BatchNumber
)
{
this
.
$emit
(
'goEdit'
,
type
,
item
.
day
,
BatchNumber
)
},
goUrlHotelTeam
:
function
(
item
)
{
this
.
$router
.
push
({
...
...
@@ -115,7 +119,6 @@
}
}
}
</
script
>
<
style
scoped
>
...
...
@@ -296,6 +299,11 @@
background-color
:
#02F78E
;
}
.hotelProductCalendar_day
>
div
>
.hasStock_6
{
background-color
:
#808000
;
}
.hotelProductCalendar_day
>
div
>
.noStock
{
padding
:
30px
0
0
0
;
width
:
100%
;
...
...
This diff is collapsed.
Click to expand it.
src/components/Hotel/HotelProductManage2.vue
View file @
ca74421e
This diff is collapsed.
Click to expand it.
src/components/Hotel/HotelSalesBoard.vue
View file @
ca74421e
...
...
@@ -199,6 +199,10 @@
background-color
:
#02F78E
;
}
.hotelSalesBoard
.hasStock_6
{
background-color
:
#808000
;
}
.hotelSalesBoard
.stock1
{
color
:
red
;
}
...
...
@@ -258,9 +262,11 @@
</li>
<li
style=
"margin-right:50px;"
>
<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>
</ul>
</div>
...
...
@@ -275,6 +281,7 @@
<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_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
class=
"month"
>
<ul>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment