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
ce9de67e
Commit
ce9de67e
authored
Aug 22, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增酒店下架功能
parent
95618c38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
15 deletions
+39
-15
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+39
-15
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
ce9de67e
...
...
@@ -373,7 +373,8 @@
:class=
"
{'TC_hasContent':item.OPInnerRemark==''
&&
item.OPRemark==''}">
<div
class=
"TC_remarkContent TC_teamName"
>
<div
class=
"clearfix"
>
<div
class=
"TCL_remarkTitle"
style=
"width:105px;"
><span
style=
"font-weight: 100;text-decoration:underline;cursor:pointer;color: #e95252;"
<div
class=
"TCL_remarkTitle"
style=
"width:105px;"
><span
style=
"font-weight: 100;text-decoration:underline;cursor:pointer;color: #e95252;"
v-if=
"item.ScoreNum >= 0"
@
click=
'goInvetig("investigationList", item.TCID, 0)'
>
(评分
{{
item
.
ScoreNum
}}
)
</span>
{{
$t
(
'Operation.Op_TeamName'
)
}}
:
</div>
...
...
@@ -445,7 +446,8 @@
<div>
{{
fItem
.
FlightArrivalTime
}}
{{
fItem
.
Arrival_time
}}
</div>
<div
style=
"margin-top:5px;"
>
(
{{
fItem
.
AIATA
}}
)
{{
fItem
.
aName
}}
</div>
</td>
<td><template
v-if=
"fItem.StopoverIATA"
>
(
{{
fItem
.
StopoverIATA
}}
)
</
template
>
{{fItem.StopoverName}}
</td>
<td><template
v-if=
"fItem.StopoverIATA"
>
(
{{
fItem
.
StopoverIATA
}}
)
</
template
>
{{fItem.StopoverName}}
</td>
</tr>
</table>
<div
class=
"FlightDiv-TCL"
slot=
"reference"
>
...
...
@@ -501,11 +503,11 @@
<commonHotelInfo
:HotelObj=
"item.HotelOrderListReports"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
@
SetShouPeiShu=
"SetShouPeiShu(item.TCID,item.ShouPeiStatus)"
></commonHotelInfo>
<div
slot=
"reference"
>
<span
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店预订状况
</span>
<span
style=
"color: #e95252"
>
op{{item.OpSureHouse==2 ? '已确认' : '未确认'}}分房
</span>
</div>
<div
slot=
"reference"
>
<span
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店预订状况
</span>
<span
style=
"color: #e95252"
>
op{{item.OpSureHouse==2 ? '已确认' : '未确认'}}分房
</span>
</div>
</el-popover>
</p>
<p
class=
"travelnowrap"
v-if=
"item.LineID==14 && item.IsOpenHotel==1"
>
...
...
@@ -782,6 +784,10 @@
<el-dropdown-item
v-if=
"item.TCState==3"
@
click
.
native=
"Setshelves(item.TCID)"
>
{{$t('Operation.Op_xiajia')}}
</el-dropdown-item>
<!--酒店下架-->
<el-dropdown-item
v-if=
"item.LineID==14"
@
click
.
native=
"RemoveHotelJourneyOrder(item.TCID)"
>
酒店下架
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2)"
>
{{$t('Operation.Op_jietuan')}}
</el-dropdown-item>
...
...
@@ -1077,15 +1083,15 @@
//当前登录用户信息
CurrentUserInfo
:
{},
showHotelObj
:
{
showPrice
:
true
,
//是否显示价格
showPay
:
false
,
//是否显示支付方式
showZhan
:
true
,
//占房时间
showBtnList
:
false
,
//是否下载、确认按钮
showPrice
:
true
,
//是否显示价格
showPay
:
false
,
//是否显示支付方式
showZhan
:
true
,
//占房时间
showBtnList
:
false
,
//是否下载、确认按钮
ShowTaxType
:
false
,
//显示税入税别
ShowRebateRatio
:
false
,
//显示返佣比列
ShowSupplier
:
false
,
//是否显示供应商
showCaozuoTime
:
true
,
//操作时间
colspanLength
:
4
//跨行
ShowSupplier
:
false
,
//是否显示供应商
showCaozuoTime
:
true
,
//操作时间
colspanLength
:
4
//跨行
},
IsModifyTravelControl
:
0
,
//分公司是否有修改团控权限
pickerBeginDateBefore
:
{
...
...
@@ -1427,6 +1433,24 @@
}
}
},
//单团酒店下架
RemoveHotelJourneyOrder
(
TCID
)
{
var
that
=
this
;
this
.
Confirm
(
"是否要下架酒店?下架过后将释放酒店库存!"
,
function
()
{
let
msg
=
{
TCID
:
TCID
,
}
that
.
apipost
(
'travel_post_RemoveHotelJourneyOrderService'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
)
that
.
getControlList
()
}
else
{
that
.
Info
(
res
.
data
.
message
)
}
})
});
},
//单团设置下架
Setshelves
(
TCID
)
{
let
msg
=
{
...
...
@@ -1881,7 +1905,7 @@
if
(
this
.
$route
.
query
.
IsUnionCked
)
{
this
.
queryMsg
.
IsShowUnion
=
this
.
$route
.
query
.
IsUnionCked
;
}
if
(
this
.
CurrentUserInfo
.
RB_Branch_id
==
0
||
this
.
CurrentUserInfo
.
RB_Branch_id
==
1216
||
this
.
CurrentUserInfo
.
RB_Branch_id
==
49
)
{
this
.
IsModifyTravelControl
=
1
;
...
...
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