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
7d8af36c
Commit
7d8af36c
authored
Apr 22, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
团控查询修改
parent
cea9049d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
18 deletions
+53
-18
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+51
-17
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+2
-1
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
7d8af36c
...
...
@@ -539,6 +539,33 @@
<span
slot=
"reference"
class=
"price"
>
{{
$t
(
'Operation.Op_priceDetail'
)
}}
</span>
</el-popover>
</p>
<p
v-if=
"item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "
>
<el-popover
width=
"700"
trigger=
"click"
popper-class=
"TC_customerInfo"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
日期
</th>
<th>
酒店情况
</th>
</tr>
<tr
v-for=
"subItem in item.HotelOrderListReports"
>
<td>
{{
subItem
.
UseDay
}}
</td>
<td>
<template
v-if=
"subItem.SubList"
>
<div
v-if=
"subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 "
>
{{
subItem
.
SubList
[
0
].
HotelName
}}
【
<a
style=
"color:green"
>
本团使用库存:
{{
subItem
.
SubList
[
0
].
UseCount
}}
{{
subItem
.
SubList
[
0
].
CostPrice
!=
0
?
"价格:"
+
subItem
.
SubList
[
0
].
CostPrice
:
""
}}
</a>
】
</div>
<template
v-else
v-for=
"childItem in subItem.SubList"
>
<div>
{{
childItem
.
HotelName
}}
</div>
</
template
>
</template>
</td>
</tr>
</table>
<span
slot=
"reference"
class=
"price"
>
酒店信息
</span>
</el-popover>
</p>
</div>
</div>
<div
class=
"el-col"
style=
"width:150px;"
>
...
...
@@ -874,7 +901,7 @@
singleTCID
:
0
,
outerVisible
:
false
,
flightCKed
:
[],
IsUnionCked
:[],
IsUnionCked
:
[],
loading
:
false
,
checkCompanyAll
:
true
,
//本团卖点
...
...
@@ -927,7 +954,7 @@
RateOnDay
:
'-1'
,
RateOn
:
'-1'
,
TeamType
:
0
,
//一般常规团
IsShowUnion
:
0
,
IsShowUnion
:
-
1
,
TCID
:
'0'
,
HotelId
:
0
,
//酒店编号
HotelUseTime
:
""
,
//酒店使用时间
...
...
@@ -958,22 +985,28 @@
}
],
//联运状态
unionStatus
:[{
Id
:
0
,
Name
:
'主团
'
,
unionStatus
:
[{
Id
:
-
1
,
Name
:
'全部
'
,
Checked
:
true
},{
Id
:
1
,
Name
:
'分销团'
,
},
{
Id
:
0
,
Name
:
'主团'
,
Checked
:
false
},
{
Id
:
1
,
Name
:
'分销团'
,
Checked
:
false
}],
}
],
//当前登录用户信息
CurrentUserInfo
:
{},
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
return
false
;
}
else
{
}
else
{
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
...
...
@@ -1106,7 +1139,8 @@
res
=>
{
this
.
queryCommonData
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
queryMsg
.
total
=
res
.
data
.
data
.
count
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
this
.
queryCommonData
.
dataList
.
forEach
(
item
=>
{
...
...
@@ -1510,7 +1544,7 @@
this
.
queryCommonData
.
flightCKed
=
[]
this
.
queryCommonData
.
flightCKed
.
push
(
item
.
Id
)
},
checkedUnion
(
item
){
checkedUnion
(
item
)
{
this
.
queryMsg
.
IsShowUnion
=
item
.
Id
this
.
queryCommonData
.
IsUnionCked
=
[]
this
.
queryCommonData
.
IsUnionCked
.
push
(
item
.
Id
)
...
...
@@ -1686,7 +1720,7 @@
},
created
()
{
//默认显示联运
this
.
queryMsg
.
IsShowUnion
=
0
;
this
.
queryMsg
.
IsShowUnion
=
-
1
;
let
userInfo
=
this
.
getLocalStorage
()
this
.
CurrentUserInfo
=
userInfo
;
if
(
this
.
$route
.
query
.
tcmun
)
{
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
7d8af36c
...
...
@@ -794,7 +794,8 @@
<td>
<div
class=
"tp_divList"
v-for=
"(subItem,index) in item.SubList"
>
<div>
{{index+1}}.{{subItem.HotelName}}
<span
v-if=
"subItem.UseCount>0 && item.SubList.length==1"
>
【
<span
style=
"color:green"
>
本团使用库存:{{subItem.UseCount}}
</span>
】
</span>
【
<span
{{index+1}}.{{subItem.HotelName}}
<span
v-if=
"subItem.UseCount>0 && item.SubList.length==1"
>
【
<span
style=
"color:green"
>
本团使用库存:{{subItem.UseCount}} {{subItem.CostPrice!=0?"价格:"+subItem.CostPrice:""}}
</span>
】
</span>
【
<span
style=
"color:#E95252;"
>
剩余库存:{{subItem.RemainingInventory}}
</span>
】
<el-checkbox
v-if=
"item.SubList.length>1"
v-model=
"item.CheckList[index].CheckStatus"
@
change=
"changeHotelStatus(item,index),changeHotelList()"
></el-checkbox>
...
...
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