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
2710672f
Commit
2710672f
authored
Apr 25, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
团控列表和详情酒店查询修改
parent
89cad1b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+12
-2
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+8
-3
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
2710672f
...
@@ -555,6 +555,7 @@
...
@@ -555,6 +555,7 @@
<tr>
<tr>
<th
width=
"100"
>
日期
</th>
<th
width=
"100"
>
日期
</th>
<th
style=
"border-right:1px solid #E5E5E5"
>
酒店情况
</th>
<th
style=
"border-right:1px solid #E5E5E5"
>
酒店情况
</th>
<th
style=
"border-right:1px solid #E5E5E5"
>
占房时间
</th>
</tr>
</tr>
</table>
</table>
<div>
<div>
...
@@ -567,7 +568,7 @@
...
@@ -567,7 +568,7 @@
<template
v-if=
"subItem.SubList"
>
<template
v-if=
"subItem.SubList"
>
<div
v-if=
"subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 "
>
<div
v-if=
"subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 "
>
{{
subItem
.
SubList
[
0
].
HotelName
}}
{{
subItem
.
SubList
[
0
].
HotelName
}}
<a
style=
"color:green"
>
【OK】
</a>
<a
style=
"color:green"
>
{{
subItem
.
SubList
[
0
].
RemainingInventory
>-
3
?
"【OK】"
:
"【暂定】"
}}
</a>
【
<a
【
<a
style=
"color:green"
>
本团使用库存:
{{
subItem
.
SubList
[
0
].
UseCount
}}
style=
"color:green"
>
本团使用库存:
{{
subItem
.
SubList
[
0
].
UseCount
}}
{{
subItem
.
SubList
[
0
].
CostPrice
!=
0
?
"价格:"
+
subItem
.
SubList
[
0
].
CostPrice
:
""
}}
</a>
】
</div>
{{
subItem
.
SubList
[
0
].
CostPrice
!=
0
?
"价格:"
+
subItem
.
SubList
[
0
].
CostPrice
:
""
}}
</a>
】
</div>
...
@@ -576,6 +577,16 @@
...
@@ -576,6 +577,16 @@
</
template
>
</
template
>
</template>
</template>
</td>
</td>
<td>
<
template
v-if=
"subItem.SubList"
>
<div
v-if=
"subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 "
>
{{
subItem
.
SubList
[
0
].
CreateDateStr
}}
</div>
<template
v-else
v-for=
"childItem in subItem.SubList"
>
<div></div>
</
template
>
</template>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
...
@@ -1131,7 +1142,6 @@
...
@@ -1131,7 +1142,6 @@
//新获取列表数据
//新获取列表数据
getControlList
()
{
getControlList
()
{
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
))
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
))
if
(
msg
.
TeamMinNum
==
''
)
{
if
(
msg
.
TeamMinNum
==
''
)
{
msg
.
TeamMinNum
=
-
1
msg
.
TeamMinNum
=
-
1
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
2710672f
...
@@ -794,9 +794,14 @@
...
@@ -794,9 +794,14 @@
<td>
<td>
<div
class=
"tp_divList"
v-for=
"(subItem,index) in item.SubList"
>
<div
class=
"tp_divList"
v-for=
"(subItem,index) in item.SubList"
>
<div>
<div>
{{index+1}}.{{subItem.HotelName}}
<span
v-if=
"subItem.UseCount>0 && item.SubList.length==1"
>
{{index+1}}.{{subItem.HotelName}}
【
<span
style=
"color:green"
>
本团使用库存:{{subItem.UseCount}} {{subItem.CostPrice!=0?"价格:"+subItem.CostPrice:""}}
</span>
】
</span>
【
<span
<span
v-if=
"subItem.UseCount>0 && item.SubList.length==1"
>
style=
"color:#E95252;"
>
剩余库存:{{subItem.RemainingInventory}}
</span>
】
<a
style=
"color:green"
>
{{subItem.RemainingInventory>-3?"【OK】":"【暂定】"}}
</a>
【
<span
style=
"color:green"
>
本团使用库存:{{subItem.UseCount}} {{subItem.CostPrice!=0?"价格:"+subItem.CostPrice:""}}
</span>
】
</span>
【
<span
style=
"color:#E95252;"
>
剩余库存:{{subItem.RemainingInventory}}
<
template
v-if=
"subItem.CreateDateStr"
>
占房时间:
{{
subItem
.
CreateDateStr
}}
</
template
>
</span>
】
<el-checkbox
v-if=
"item.SubList.length>1"
v-model=
"item.CheckList[index].CheckStatus"
<el-checkbox
v-if=
"item.SubList.length>1"
v-model=
"item.CheckList[index].CheckStatus"
@
change=
"changeHotelStatus(item,index),changeHotelList()"
></el-checkbox>
@
change=
"changeHotelStatus(item,index),changeHotelList()"
></el-checkbox>
</div>
</div>
...
...
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