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
dde789fc
Commit
dde789fc
authored
Aug 22, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
50425b03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
37 deletions
+86
-37
groundOperation.vue
src/components/dmc/manager/groundOperation.vue
+86
-37
No files found.
src/components/dmc/manager/groundOperation.vue
View file @
dde789fc
...
...
@@ -37,14 +37,17 @@
.GD_comPad
{
padding
:
0
!important
;
}
.groundLastTable
{
margin
:
20px
0
;
font-size
:
12px
;
.groundLastTable
{
margin
:
20px
0
;
font-size
:
12px
;
}
.gdBtn
{
.gdBtn
{
position
:
relative
;
top
:
-45px
;
top
:
-45px
;
}
</
style
>
<
template
>
...
...
@@ -88,14 +91,14 @@
</td>
<td>
机票负责人
</td>
<td>
<template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
CreateByName
}}
</
template
>
<template
v-if=
"PrincipalList.length>0"
>
<el-input
v-model=
'PrincipalList[0].CreateByName'
class=
'w200'
></el-input>
</
template
>
</td>
<td>
联系电话
</td>
<td
colspan=
"5"
>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
CreateByMobile
}}
<el-input
v-model=
'PrincipalList[0].CreateByMobile'
class=
'w200'
></el-input>
</
template
>
</td>
</tr>
...
...
@@ -103,13 +106,13 @@
<td>
订房负责人
</td>
<td>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
HConfirmName
}}
<el-input
v-model=
'PrincipalList[0].HConfirmName'
class=
'w200'
></el-input>
</
template
>
</td>
<td>
联系电话
</td>
<td
colspan=
"5"
>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
HConfirmMobile
}}
<el-input
v-model=
'PrincipalList[0].HConfirmMobile'
class=
'w200'
></el-input>
</
template
>
</td>
</tr>
...
...
@@ -117,27 +120,27 @@
<td>
车辆负责人
</td>
<td>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
BConfirmName
}}
<el-input
v-model=
'PrincipalList[0].BConfirmName'
class=
'w200'
></el-input>
</
template
>
</td>
<td>
联系电话
</td>
<td
colspan=
"5"
>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
BConfirmMobile
}}
</
template
>
<
template
v-if=
"PrincipalList.length>0"
>
<el-input
v-model=
'PrincipalList[0].BConfirmMobile'
class=
'w200'
></el-input>
</
template
>
</td>
</tr>
<tr>
<td>
订餐负责人
</td>
<td>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
DConfirmName
}}
<el-input
v-model=
'PrincipalList[0].DConfirmName'
class=
'w200'
></el-input>
</
template
>
</td>
<td>
联系电话
</td>
<td
colspan=
"5"
>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
DConfirmMobile
}}
<el-input
v-model=
'PrincipalList[0].DConfirmMobile'
class=
'w200'
></el-input>
</
template
>
</td>
</tr>
...
...
@@ -145,13 +148,13 @@
<td>
门票负责人
</td>
<td>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
TConfirmName
}}
<el-input
v-model=
'PrincipalList[0].TConfirmName'
class=
'w200'
></el-input>
</
template
>
</td>
</td>
<td>
联系电话
</td>
<td
colspan=
"5"
>
<
template
v-if=
"PrincipalList.length>0"
>
{{
PrincipalList
[
0
].
TConfirmMobile
}}
<el-input
v-model=
'PrincipalList[0].TConfirmMobile'
class=
'w200'
></el-input>
</
template
>
</td>
</tr>
...
...
@@ -198,8 +201,8 @@
<td>
{{subItem.ReserveNo}}
</td>
<td
style=
"text-align:left;"
>
{{subItem.HotelName}}
</td>
<td>
{{subItem.CheckInDateStr}}
</td>
<td>
{{
DMCStaticsCommon.HouseStatistics.NeedBed}}/{{DMCStaticsCommon.HouseStatistics.NoNeedBed
}}
</td>
<td>
{{
DMCStaticsCommon.HouseStatistics.RealityRoomNum
}}
</td>
<td>
{{
getHotelTotalNum(subItem)
}}
</td>
<td>
{{
getHotelTotal(subItem)
}}
</td>
<td>
{{subItem.Tel}}
</td>
<td
style=
"text-align:left;"
>
{{subItem.Address}}
</td>
<td
style=
"text-align:left;"
>
{{subItem.Remarks}}
</td>
...
...
@@ -225,10 +228,11 @@
<tr
v-for=
"subItem in item.DiningSummaryList"
>
<td>
{{subItem.ReserveNo}}
</td>
<td>
{{subItem.UseTimeStr}}
</td>
<td>
{{subItem.DiningName}}
</td>
<td
style=
"text-align:left;"
>
{{subItem.DiningName}}
</td>
<td>
{{subItem.UseDinnerTypeStr}}
</td>
<td>
{{subItem.MealName}}
</td>
<td>
{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1
</td>
<td>
{{getDinnerTotal(subItem)}}
</td>
<td>
{{subItem.Tel}}
</td>
<td
style=
"text-align:left;"
>
{{subItem.Address}}
</td>
<td
style=
"text-align:left;"
>
{{subItem.Remarks}}
</td>
...
...
@@ -250,8 +254,10 @@
<tbody
v-for=
"item in DMCStaticsCommon.ScenicList"
>
<tr
v-for=
"subItem in item.ScenicStatisticsList"
>
<td>
{{subItem.UseTimeStr}}
</td>
<td>
{{subItem.ScenicName}}
</td>
<td>
{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1
</td>
<td
style=
"text-align:left;"
>
{{subItem.ScenicName}}
</td>
<td>
{{getScenicTotal(subItem)}}
</td>
<td>
{{subItem.Tel}}
</td>
<td
style=
"text-align:left;"
>
{{subItem.Address}}
</td>
<td
style=
"text-align:left;"
>
{{subItem.Remarks}}
</td>
...
...
@@ -308,8 +314,8 @@
注意事项:
</td>
<td>
<el-input
v-model=
"PostConfig.PlanDescription"
type=
"textarea"
class=
"w700"
:autosize=
"{minRows: 3, maxRows: 3 }"
resize=
"none"
placeholder=
"注意事项"
maxlength=
"300"
></el-input>
<el-input
v-model=
"PostConfig.PlanDescription"
type=
"textarea"
class=
"w700"
:autosize=
"{minRows: 3, maxRows: 3 }"
resize=
"none"
placeholder=
"注意事项"
maxlength=
"300"
></el-input>
<input
type=
"button"
class=
"normalBtn gdBtn"
@
click=
"UpdateLeaderPay"
value=
"保存"
/>
<input
type=
"button"
class=
"normalBtn gdBtn"
@
click=
"DownLoadLeaderPay"
value=
"下载"
/>
</td>
...
...
@@ -344,10 +350,49 @@
TCIDs
:
""
,
PlanDescription
:
""
},
loading2
:
false
,
loading2
:
false
,
};
},
methods
:
{
//酒店统计(用房数)
getHotelTotal
(
item
)
{
var
totalCount
=
0
;
item
.
OrderDetailsList
.
forEach
(
subItem
=>
{
totalCount
+=
subItem
.
HouseTypeCount
;
});
return
totalCount
;
},
getHotelTotalNum
(
item
)
{
var
totalCount
=
0
;
var
noBed
=
0
;
item
.
OrderDetailsList
.
forEach
((
subItem
,
subIndex
)
=>
{
if
(
subItem
.
HouseType
<=
4
)
{
totalCount
+=
subItem
.
BookNum
;
}
else
if
(
subItem
.
HouseType
==
6
)
{
noBed
+=
subItem
.
BookNum
;
}
});
return
totalCount
+
"/"
+
noBed
;
},
//景点统计
getScenicTotal
(
item
)
{
var
totalCount
=
0
;
item
.
TicketPriceList
.
forEach
(
subItem
=>
{
totalCount
+=
subItem
.
UsePeopleNum
-
subItem
.
Discount
;
});
return
totalCount
;
},
//餐厅人数统计
getDinnerTotal
(
item
)
{
var
totalCount
=
0
;
item
.
DiningPriceList
.
forEach
(
subItem
=>
{
totalCount
+=
subItem
.
UsePeopleNum
-
subItem
.
Discount
;
});
return
totalCount
;
},
//根据团号获取负责人的信息
getConfirmName
()
{
let
msg
=
{
...
...
@@ -355,9 +400,9 @@
NewCombinationNum
:
''
,
};
//更新酒店图片
this
.
loading2
=
true
;
this
.
apipost
(
"dmcstatistics_post_GetExtendLeaderAllStatics"
,
msg
,
res
=>
{
this
.
loading2
=
false
;
this
.
loading2
=
true
;
this
.
apipost
(
"dmcstatistics_post_GetExtendLeaderAllStatics"
,
msg
,
res
=>
{
this
.
loading2
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
BaseInfo
=
res
.
data
.
data
.
BaseInfo
;
this
.
PrincipalList
=
res
.
data
.
data
.
PrincipalList
;
...
...
@@ -400,7 +445,10 @@
},
UpdateLeaderPay
()
{
this
.
PostConfig
.
TCIDs
=
this
.
TCIDs
;
this
.
apipost
(
'dmcstatistics_post_AuditLeaderapply'
,
this
.
PostConfig
,
res
=>
{
this
.
apipost
(
'dmcstatistics_post_AuditLeaderapply'
,
{
LeaderApply
:
this
.
PostConfig
,
LeaderGuidePlan
:
this
.
PrincipalList
[
0
]
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
}
else
{
...
...
@@ -415,12 +463,12 @@
uid
:
this
.
getLocalStorage
().
EmployeeId
};
let
fileName
=
"导游计划表"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
GetLocalFile
(
"dmcstatistics_get_DwonLoadLeaderapply"
,
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
});
}
}
},
mounted
()
{
this
.
TCIDs
=
this
.
$route
.
query
.
id
;
...
...
@@ -428,4 +476,5 @@
this
.
getConfirmName
();
}
};
</
script
>
\ No newline at end of file
</
script
>
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