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
c715bf5c
Commit
c715bf5c
authored
Sep 17, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地接总表新增权限验证
parent
7d953326
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
44 deletions
+46
-44
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+46
-44
No files found.
src/components/dmc/manager/dmcTotalTable.vue
View file @
c715bf5c
...
...
@@ -162,10 +162,10 @@
<th
width=
"75"
>
出发地
</th>
<th
width=
"80"
>
航班时间
</th>
<th
width=
"140"
>
公司团号
</th>
<th
width=
"90"
>
同业
<br/>
会员价
</th>
<th
width=
"90"
>
同业
<br
/>
会员价
</th>
<th
width=
"75"
>
线路
<br
/>
负责人
</th>
<th
width=
"75"
>
进出点
</th>
<th
width=
"50"
>
订单
<br/>
人数
</th>
<th
width=
"50"
>
订单
<br
/>
人数
</th>
<th
width=
"100"
>
机位总数
<br
/>
(Y/E/F/单地接)
</th>
<th
width=
"60"
>
领队
</th>
<th
width=
"60"
>
导游
</th>
...
...
@@ -238,11 +238,11 @@
</td>
<td>
<div
class=
"link"
>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{
item
.
TCNUMS
}}
<br/>
(
{{
item
.
TCID
}}
)
</p>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{
item
.
TCNUMS
}}
<br
/>
(
{{
item
.
TCID
}}
)
</p>
</div>
</td>
<td
style=
"color: #47BF8C;white-space: nowrap;"
>
{{
item
.
B2BMemberPrice
}}
{{
item
.
B2BMemberPrice
}}
</td>
<td>
{{
item
.
CreateByName
}}
...
...
@@ -289,9 +289,9 @@
<td>
<a
style=
"text-decoration:underline;cursor:pointer;"
title=
"点击下载旅客名单"
@
click=
"DownLoadGuestList(item,outItem,index)"
>
出境名单
</a>
<a
style=
"text-decoration:underline;cursor:pointer;margin-top:5px;display:inline-block;"
title=
"点击下载电话名单
"
@
click=
"DownLoadGuestTelList(item,outItem,index)"
>
电话名单
</a>
<a
style=
"text-decoration:underline;cursor:pointer;margin-top:5px;display:inline-block;
"
title=
"点击下载电话名单"
@
click=
"DownLoadGuestTelList(item,outItem,index)"
>
电话名单
</a>
</td>
<td>
<div
class=
"fz16 fbold linkspan"
>
...
...
@@ -338,7 +338,7 @@
</div>
</td>
<td>
<div
class=
"fz16 fbold linkspan"
@
click=
"go
Url('bookDinnerStatisticsDetails',item,outItem,'餐厅详情'
)"
>
<div
class=
"fz16 fbold linkspan"
@
click=
"go
DinnerUrl(item,outItem
)"
>
<span
style=
"color: #4BCA81;"
v-if=
"item.FoodsResult==1"
>
√
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
FoodsResult
==
'-1'
?
"x"
:
"O"
}}
</span>
</div>
...
...
@@ -454,7 +454,8 @@
<el-button
@
click=
'openChart(item)'
icon=
"iconfont icon-wechat"
type=
"primary"
style=
"background:#6DD875; border-color:#6DD875"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"酒店操作"
placement=
"top-start"
v-if=
"item.LineId==14"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"酒店操作"
placement=
"top-start"
v-if=
"item.LineId==14 && IsDMCIsOpenHotel==1"
>
<el-popover
placement=
"bottom"
width=
"300"
trigger=
"click"
v-model=
"item.isShowPop"
>
<table
class=
"dmcSetTable"
>
<tr>
...
...
@@ -491,39 +492,6 @@
style=
"background:green; border-color:green"
></el-button>
</el-popover>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
" 领队/导游配置"
placement=
"top-start"
v-if=
"item.LineId==14&&outItem.PriceCommonList.length>1"
style=
"display:none;"
>
<el-popover
placement=
"bottom"
width=
"800"
trigger=
"click"
>
<table
class=
"dmcSetTable"
>
<template
v-if=
"TeamHotelList&&TeamHotelList.length>0"
>
<tr>
<th>
团号/时间
</th>
<template
v-for=
"(hItem,hIndex) in TeamHotelList"
>
<th>
{{
hItem
.
TCNUM
}}
<br
/>
(
{{
hItem
.
TCID
}}
)
</th>
</
template
>
</tr>
</template>
<
template
v-for=
"(hItem,hIndex) in TeamHotelList"
>
<template
v-for=
"(hSubItem,hSubIndex) in hItem.dayList"
>
<tr>
<td>
{{
hSubItem
.
UseTime
}}
</td>
<td>
<template
v-if=
"hSubItem.subList&&hSubItem.subList.length>0"
>
{{
hSubItem
.
subList
[
0
].
NewHotelName
}}
</
template
>
</td>
</tr>
</template>
</template>
</table>
<el-button
@
click=
"GetTeamHotelList(outItem.TCIDS)"
slot=
"reference"
icon=
"iconfont icon-guanli2"
type=
"primary"
style=
"background:green; border-color:green"
>
</el-button>
</el-popover>
</el-tooltip>
</el-button-group>
</div>
</td>
...
...
@@ -579,6 +547,8 @@
export
default
{
data
()
{
return
{
IsDMCIsOpenHotel
:
0
,
//1-有权限开启或关闭酒店操作
IsEditDinner
:
0
,
//1有权限操作餐配
loading
:
false
,
currentPage
:
1
,
total
:
0
,
...
...
@@ -699,6 +669,28 @@
commonTeamInfo
},
methods
:
{
goDinnerUrl
(
obj
,
outItem
)
{
if
(
this
.
IsEditDinner
==
1
)
{
this
.
$router
.
push
({
name
:
'bookDinnerStatisticsDetails'
,
query
:
{
"id"
:
obj
.
TCIDS
,
'TCNUM'
:
obj
.
TCNUMS
,
'flightTotal'
:
obj
.
TotalSeat
,
'GuestNum'
:
obj
.
OrderGuestNum
,
'NewCombinationNum'
:
outItem
.
NewCombinationNum
,
'LeaderName'
:
obj
.
LeaderName
,
'GuideName'
:
obj
.
GuideName
,
'IsCombine'
:
outItem
.
PriceCommonList
.
length
>
1
,
'NewTCIDs'
:
outItem
.
TCIDS
,
blank
:
'y'
,
tab
:
"餐厅详情"
}
})
}
else
{
this
.
Error
(
"请联系地接部操作!"
);
}
},
getLeaderTypeStr
:
function
(
clas
)
{
if
(
clas
==
1
)
{
return
"(同行领队)"
...
...
@@ -1125,12 +1117,22 @@
this
.
loading
=
false
;
});
},
goRoomTip
()
{
goRoomTip
()
{
this
.
Error
(
"请联系组团OP提供分房表文件!"
);
},
GetAuth
()
{
this
.
apipost
(
'dmcstatistics_get_GetGetDmcTotalTablePageAuth'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
IsDMCIsOpenHotel
=
res
.
data
.
data
.
IsDMCIsOpenHotel
;
this
.
IsEditDinner
=
res
.
data
.
data
.
IsEditDinner
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
}
},
mounted
()
{
this
.
GetAuth
();
let
myDate
=
new
Date
();
let
nowDate
=
myDate
.
getFullYear
()
+
...
...
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