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
328e3803
Commit
328e3803
authored
Apr 09, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
d9723721
4c1320b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
HotelQueryList.vue
src/components/Hotel/HotelQueryList.vue
+14
-2
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+8
-0
No files found.
src/components/Hotel/HotelQueryList.vue
View file @
328e3803
...
...
@@ -55,11 +55,11 @@
<div
class=
"Hotel_kong"
style=
"min-width:60px;"
>
总/用/剩
</div>
<div
class=
"Hotel_kong"
>
超定
</div>
</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,
'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"
@
click=
"GotoUrl(item,subIndex)"
>
{{
subItem
.
Inventory
}}
/
{{
subItem
.
UseInventory
}}
/
{{
subItem
.
RemainingInventory
}}
</div>
<div
class=
"Hotel_kong Com_hoteldiv"
>
<span
v-if=
"subItem.UseInventory-subItem.Inventory>0"
style=
"color:red;"
>
...
...
@@ -88,6 +88,18 @@
};
},
methods
:
{
GotoUrl
(
item
,
subIndex
)
{
this
.
$router
.
push
({
path
:
"TravelControlList"
,
query
:
{
HotelId
:
item
.
HotelId
,
HotelUseTime
:
item
.
subList
[
subIndex
].
DateStr
,
blank
:
"y"
,
tab
:
name
}
});
},
getList
()
{
if
(
this
.
msg
.
StartDate
==
null
)
{
this
.
msg
.
StartDate
=
new
Date
().
Format
(
"yyyy-MM-dd"
)
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
328e3803
...
...
@@ -908,6 +908,8 @@
TeamType
:
0
,
//一般常规团
IsShowUnion
:
1
,
TCID
:
'0'
,
HotelId
:
0
,
//酒店编号
HotelUseTime
:
""
,
//酒店使用时间
},
remarkMsg
:
{
TCID
:
0
,
...
...
@@ -1658,6 +1660,12 @@
if
(
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
)
{
this
.
queryCommonData
.
IsParentCompany
=
2
...
...
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