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
f5bb4aa4
Commit
f5bb4aa4
authored
Mar 25, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
efb8bb26
26a6bcde
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
1414 additions
and
1088 deletions
+1414
-1088
App.vue
src/App.vue
+1
-1
zh.js
src/assets/common/lang/zh.js
+30
-0
CapitalAllocation.vue
src/components/FinancialModule/CapitalAllocation.vue
+38
-8
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+22
-5
roomReservations.vue
src/components/Hotel/roomReservations.vue
+4
-4
bookDinnerStatistics.vue
src/components/Restaurant/bookDinnerStatistics.vue
+418
-334
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+414
-363
groupInquiry.vue
src/components/SalesModule/groupInquiry.vue
+11
-10
departmentManagement.vue
src/components/administrative/departmentManagement.vue
+51
-48
BusInfo.vue
src/components/busManagement/BusInfo.vue
+35
-6
companyManagement.vue
src/components/platformModule/companyManagement.vue
+21
-21
admissionStatistics.vue
src/components/scenicSpot/admissionStatistics.vue
+366
-282
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+3
-6
No files found.
src/App.vue
View file @
f5bb4aa4
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
a59svrd6x1
.css"
;
@import
"//at.alicdn.com/t/font_635492_
uyefzcxpu3
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/assets/common/lang/zh.js
View file @
f5bb4aa4
...
@@ -37,6 +37,9 @@ export const pub={
...
@@ -37,6 +37,9 @@ export const pub={
returnBack
:
'返回'
,
returnBack
:
'返回'
,
allday
:
'全天'
,
allday
:
'全天'
,
clickToView
:
'点击查看'
,
clickToView
:
'点击查看'
,
man
:
'男'
,
woman
:
'女'
,
}
}
export
const
login
=
{
export
const
login
=
{
...
@@ -1156,4 +1159,31 @@ export const rule = {
...
@@ -1156,4 +1159,31 @@ export const rule = {
qxzfkdzhanghu
:
'请选择付款账户'
,
qxzfkdzhanghu
:
'请选择付款账户'
,
qxzxybsheren
:
'请选择下一步审核人'
,
qxzxybsheren
:
'请选择下一步审核人'
,
qxzzdbumen
:
' 请选择制单部门'
,
qxzzdbumen
:
' 请选择制单部门'
,
qsrbmmingchen
:
"请输入部门名称"
,
qxzbmcengji
:
"请选择部门层级"
,
qxzfuzeren
:
"请选择负责人"
,
qsrbdgangwei
:
"请选择绑定岗位"
,
qsrzqdbmdianhua
:
"请输入正确的部门电话"
,
qszhengshu
:
"请输整数"
,
qsrname
:
"请输入姓名"
,
qsrtelphone
:
"请输入正确的手机"
,
qsrIdnum
:
"请输正确的身份证号"
,
}
export
const
adm
=
{
adm_xzbumen
:
"新增部门"
,
adm_sxjg
:
"树形结构"
,
adm_fhlb
:
"返回列表"
,
adm_jggl
:
"结构管理"
,
adm_addzibumen
:
"添加子部门"
,
adm_addbumen
:
"添加部门"
,
adm_addyuangong
:
"添加员工"
,
adm_edityuangong
:
"员工修改"
,
adm_xueli
:
"学历"
,
adm_rzshijain
:
"入职时间"
,
}
}
\ No newline at end of file
src/components/FinancialModule/CapitalAllocation.vue
View file @
f5bb4aa4
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.page_CapitalAllocation
.page_CapitalAllocation_list
{
.page_CapitalAllocation
.page_CapitalAllocation_list
{
width
:
100%
;
width
:
100%
;
}
}
.page_CapitalAllocation
i
.icon-sousuo
,
.page_CapitalAllocation
i
.edit
{
.page_CapitalAllocation
i
.icon-sousuo
,
.page_CapitalAllocation
i
.edit
edit
{
width
:
30px
;
width
:
30px
;
height
:
30px
;
height
:
30px
;
display
:
inline-block
;
display
:
inline-block
;
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
<li>
<li>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"goURL('addCapitalAllocation')"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"goURL('addCapitalAllocation')"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('visa.v_daochu')"
@
click=
"method5()"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -142,9 +143,9 @@
...
@@ -142,9 +143,9 @@
<tr>
<tr>
<th>
单号
</th>
<th>
单号
</th>
<th>
金额
</th>
<th>
金额
</th>
<
th>
实付
</th
>
<
!--
<th>
实付
</th>
--
>
<!--
<th>
原币金额
</th>
-->
<!--
<th>
原币金额
</th>
-->
<
th>
交易日期
</th
>
<
!--
<th>
交易日期
</th>
--
>
<th>
创建时间
</th>
<th>
创建时间
</th>
<th>
创建人
</th>
<th>
创建人
</th>
<!--
<th>
备注
</th>
-->
<!--
<th>
备注
</th>
-->
...
@@ -152,11 +153,11 @@
...
@@ -152,11 +153,11 @@
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in dataList"
>
<tr
v-for=
"(item, index) in dataList"
>
<td>
{{
item
.
FrID
}}
</td>
<td
style=
"cursor:pointer"
@
click=
"goDetail('CapitalAllocationDetail', item.FrID)"
>
{{
item
.
FrID
}}
</td>
<td>
{{
item
.
Money
}}
</td>
<td>
{{
item
.
Money
}}
</td>
<
td>
{{
item
.
PayMoney
}}
</td
>
<
!--
<td>
{{
item
.
PayMoney
}}
</td>
--
>
<!--
<td>
{{
item
.
OriginalMoney
}}
</td>
-->
<!--
<td>
{{
item
.
OriginalMoney
}}
</td>
-->
<
td>
{{
item
.
TradeDate
}}
</td
>
<
!--
<td>
{{
item
.
TradeDate
}}
</td>
--
>
<td>
{{
item
.
CreateDate
}}
</td>
<td>
{{
item
.
CreateDate
}}
</td>
<td>
{{
item
.
EmName
}}
</td>
<td>
{{
item
.
EmName
}}
</td>
<!--
<td>
{{
item
.
Description
}}
</td>
-->
<!--
<td>
{{
item
.
Description
}}
</td>
-->
...
@@ -199,6 +200,16 @@
...
@@ -199,6 +200,16 @@
</tr>
</tr>
</table>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
</el-pagination>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -209,7 +220,7 @@ export default {
...
@@ -209,7 +220,7 @@ export default {
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
15
,
pageSize
:
15
,
FrID
:
''
,
FrID
:
'
0
'
,
UpdateBy
:
'-1'
,
UpdateBy
:
'-1'
,
RB_Branch_Id
:
-
1
,
RB_Branch_Id
:
-
1
,
RB_Depart_Id
:
-
2
,
RB_Depart_Id
:
-
2
,
...
@@ -218,6 +229,7 @@ export default {
...
@@ -218,6 +229,7 @@ export default {
Status
:
'-1'
,
Status
:
'-1'
,
sTradeDate
:
''
,
sTradeDate
:
''
,
eTradeDate
:
''
,
eTradeDate
:
''
,
EmployeeId
:
0
},
},
getCompanyMsg
:{
// 公司
getCompanyMsg
:{
// 公司
RB_Group_Id
:
'0'
,
RB_Group_Id
:
'0'
,
...
@@ -265,7 +277,8 @@ export default {
...
@@ -265,7 +277,8 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
this
.
apipost
(
'Financial_get_GetFundTransferPageList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'Financial_get_GetFundTransferPageList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
){
if
(
res
.
data
.
resultCode
===
1
){
this
.
dataList
=
res
.
data
.
data
.
pageData
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
}
}
...
@@ -275,6 +288,23 @@ export default {
...
@@ -275,6 +288,23 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
},
null
)
},
null
)
},
},
handleCurrentChange
(
val
)
{
//翻页
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
(){
// 重置页码
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
//导出
method5
:
function
()
{
if
(
!
this
.
msg
.
RB_Branch_Id
)
this
.
msg
.
RB_Branch_Id
=-
1
;
if
(
!
this
.
msg
.
RB_Depart_Id
)
this
.
msg
.
RB_Depart_Id
=
0
;
if
(
!
this
.
msg
.
UpdateBy
)
this
.
msg
.
UpdateBy
=
0
;
if
(
!
this
.
msg
.
Status
)
this
.
msg
.
Status
=
0
;
if
(
!
this
.
msg
.
FrID
)
this
.
msg
.
FrID
=
0
;
this
.
msg
.
EmployeeId
=
this
.
EmId
;
this
.
GetLocalFile
(
"Financial_get_OutToFundTransfer"
,
this
.
msg
,
"资金调拨报表.xls"
);}
,
getCompanyList
:
function
()
{
//获取公司列表
getCompanyList
:
function
()
{
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
...
...
src/components/FinancialModule/FinancialDocuments.vue
View file @
f5bb4aa4
...
@@ -161,6 +161,8 @@
...
@@ -161,6 +161,8 @@
<el-option
key=
"0"
value=
"0"
label=
"不限"
></el-option>
<el-option
key=
"0"
value=
"0"
label=
"不限"
></el-option>
<el-option
key=
"1"
value=
"1"
label=
"收入"
></el-option>
<el-option
key=
"1"
value=
"1"
label=
"收入"
></el-option>
<el-option
key=
"2"
value=
"2"
label=
"支出"
></el-option>
<el-option
key=
"2"
value=
"2"
label=
"支出"
></el-option>
<el-option
key=
"2"
value=
"5"
label=
"应收"
></el-option>
<el-option
key=
"2"
value=
"6"
label=
"应付"
></el-option>
<el-option
key=
"2"
value=
"4"
label=
"资金调拨"
></el-option>
<el-option
key=
"2"
value=
"4"
label=
"资金调拨"
></el-option>
</el-select>
</el-select>
</span>
</span>
...
@@ -589,6 +591,12 @@
...
@@ -589,6 +591,12 @@
<
template
v-else-if=
"item.OrderSource==10 && item.TCIDAndTCNUMList.length==0"
>
<
template
v-else-if=
"item.OrderSource==10 && item.TCIDAndTCNUMList.length==0"
>
<p
class=
"_TCIDAndTCNUMList"
>
签证编号:
{{
item
.
SourceID
}}
</p>
<p
class=
"_TCIDAndTCNUMList"
>
签证编号:
{{
item
.
SourceID
}}
</p>
</
template
>
</
template
>
<
template
v-else-if=
"item.OrderSource==11 && item.TCIDAndTCNUMList.length==0"
>
<p
class=
"_TCIDAndTCNUMList"
>
投诉编号:
{{
item
.
SourceID
}}
</p>
</
template
>
<
template
v-else-if=
"item.OrderSource==12 && item.TCIDAndTCNUMList.length==0"
>
<p
class=
"_TCIDAndTCNUMList"
>
散卖机票编号:
{{
item
.
SourceID
}}
</p>
</
template
>
<
template
v-else-if=
"item.OrderSource==0"
>
<
template
v-else-if=
"item.OrderSource==0"
>
<p
class=
"_TCIDAndTCNUMList"
>
{{
item
.
BranchName
}}
-
{{
item
.
DepartName
}}
</p>
<p
class=
"_TCIDAndTCNUMList"
>
{{
item
.
BranchName
}}
-
{{
item
.
DepartName
}}
</p>
</
template
>
</
template
>
...
@@ -619,7 +627,15 @@
...
@@ -619,7 +627,15 @@
<p>
{{item.Type==1?'实收':'实付'}}:
<span
class=
""
>
{{moneyFormat(item.PayMoney)}}
</span></p>
<p>
{{item.Type==1?'实收':'实付'}}:
<span
class=
""
>
{{moneyFormat(item.PayMoney)}}
</span></p>
</td>
</td>
<td>
<td>
<span
class=
"_color_gar"
>
{{item.Type==2?item.ClientTypeName+':':'汇款人:'}}
</span><span>
{{item.RemitterName}}
</span>
<
template
v-if=
'item.Type===1'
>
<span
class=
"_color_gar"
>
汇款人:
</span><span>
{{
item
.
RemitterName
}}
</span>
</
template
>
<
template
v-if=
'item.Type===2'
>
<span
class=
"_color_gar"
>
付款对象:
</span><span>
{{
item
.
RemitterName
}}
</span>
</
template
>
<
template
v-if=
'item.Type===4'
>
<span
class=
"_color_gar"
>
无
</span>
</
template
>
</td>
</td>
<td
valign=
"middle"
>
<td
valign=
"middle"
>
<img
class=
"_head_img"
:src=
"item.EmPhoto"
alt=
""
>
<img
class=
"_head_img"
:src=
"item.EmPhoto"
alt=
""
>
...
@@ -658,7 +674,8 @@
...
@@ -658,7 +674,8 @@
<i
v-if=
"((msg.Conditon==1 ||msg.Conditon==7) && (item.InOrNotProcess==1 || item.Status==3 || item.Status==0))"
class=
"edit el-icon-edit"
@
click=
"goEit(item.Type==1?'addReceivablesDocuments':'addFinancialDocuments',item.Type,item.FrID,true,active,msg.pageIndex)"
></i>
<i
v-if=
"((msg.Conditon==1 ||msg.Conditon==7) && (item.InOrNotProcess==1 || item.Status==3 || item.Status==0))"
class=
"edit el-icon-edit"
@
click=
"goEit(item.Type==1?'addReceivablesDocuments':'addFinancialDocuments',item.Type,item.FrID,true,active,msg.pageIndex)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<i
class=
"iconfont icon-sousuo"
@
click=
"goUrl('FinancialDocumentsDetail',item.FrID,active,msg.pageIndex)"
></i>
<i
class=
"iconfont icon-sousuo"
v-if=
'item.Type!==4'
@
click=
"goUrl('FinancialDocumentsDetail',item.FrID,active,msg.pageIndex)"
></i>
<i
class=
"iconfont icon-sousuo"
v-if=
'item.Type===4'
@
click=
"goUrl('CapitalAllocationDetail',item.FrID,active,msg.pageIndex)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"审核"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"审核"
placement=
"top"
>
<i
v-if=
"msg.Conditon==3 && item.Is_Self!=1"
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"goUrl('BasicDocuments',item.FrID,active,msg.pageIndex)"
></i>
<i
v-if=
"msg.Conditon==3 && item.Is_Self!=1"
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"goUrl('BasicDocuments',item.FrID,active,msg.pageIndex)"
></i>
...
@@ -1343,7 +1360,7 @@ export default {
...
@@ -1343,7 +1360,7 @@ export default {
pageSize
:
6
,
pageSize
:
6
,
FrID
:
this
.
msg
.
FrID
==
0
?
''
:
this
.
msg
.
FrID
,
FrID
:
this
.
msg
.
FrID
==
0
?
''
:
this
.
msg
.
FrID
,
sDate
:
this
.
msg
.
sDate
,
sDate
:
this
.
msg
.
sDate
,
eDate
:
this
.
msg
.
s
Date
,
eDate
:
this
.
msg
.
e
Date
,
Status
:
this
.
msg
.
Status
,
Status
:
this
.
msg
.
Status
,
TemplateId
:
this
.
msg
.
TemplateId
,
TemplateId
:
this
.
msg
.
TemplateId
,
RB_Branch_Id
:
this
.
msg
.
RB_Branch_Id
,
RB_Branch_Id
:
this
.
msg
.
RB_Branch_Id
,
...
...
src/components/Hotel/roomReservations.vue
View file @
f5bb4aa4
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<tr>
<tr>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<div
style=
"max-width: 100px; min-width: 50px; "
>
{{
outindex
+
1
}}
</div>
<div
style=
"max-width: 100px; min-width: 50px; "
>
{{
outindex
+
1
}}
</div>
<div
v-if=
'outItem.StaticsReportList.length>
1'
class=
"w100"
>
合团号:
{{
outItem
.
NewCombinationNum
}}
</div>
<div
v-if=
'outItem.StaticsReportList.length>
0'
class=
"w100"
>
{{
outItem
.
NewCombinationNum
}}
</div>
</td>
</td>
<td>
<td>
<div
class=
"w80"
>
<div
class=
"w80"
>
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
</td>
</td>
<td>
<td>
<div
class=
"w80 link"
>
<div
class=
"w80 link"
>
<p
@
click=
"goUrl('roomReservationsDetails',item,'订房详情')"
>
详情
</p>
<p
@
click=
"goUrl('roomReservationsDetails',item,
outItem,
'订房详情')"
>
详情
</p>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
}
}
})
})
},
},
goUrl
(
path
,
obj
,
title
)
{
goUrl
(
path
,
obj
,
outItem
,
title
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
name
:
path
,
query
:
{
query
:
{
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
'TCNUM'
:
obj
.
TCNUMS
,
'TCNUM'
:
obj
.
TCNUMS
,
'flightTotal'
:
obj
.
TotalSeat
,
'flightTotal'
:
obj
.
TotalSeat
,
'GuestNum'
:
obj
.
CommonReport
.
HouseStatistics
.
RealityNum
,
'GuestNum'
:
obj
.
CommonReport
.
HouseStatistics
.
RealityNum
,
'NewCombinationNum'
:
o
bj
.
NewCombinationNum
,
'NewCombinationNum'
:
o
utItem
.
NewCombinationNum
,
blank
:
'y'
,
blank
:
'y'
,
tab
:
title
tab
:
title
}
}
...
...
src/components/Restaurant/bookDinnerStatistics.vue
View file @
f5bb4aa4
<
template
>
<
template
>
<div>
<div>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<ul>
<ul>
<!--
<li><span><em>
线路
</em>
<el-select
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(msg.LineId)"
>
<el-option
label=
"不限"
value=
'-1'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
</el-option>
</el-select>
</span>
</li>
-->
<li><span><em>
系列
</em>
<li><span><em>
系列
</em>
<el-select
v-model=
"msg.LineteamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
"msg.LineteamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
value=
'-1'
></el-option>
<el-option
label=
"不限"
value=
'-1'
></el-option>
<el-option
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
</el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<li>
<span>
<span>
<em>
团号
</em><el-input
v-model=
'msg.TCNUM'
></el-input>
<em>
团号
</em>
<el-input
v-model=
'msg.TCNUM'
></el-input>
</span>
</span>
</li>
</li>
<li><span><em>
日期
</em><el-date-picker
v-model=
'msg.StartDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<li><span><em>
日期
</em>
<el-date-picker
v-model=
'msg.StartDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
-
<el-date-picker
v-model=
'msg.EndDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.EndDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList();resetPageIndex()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList();resetPageIndex()"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -48,7 +34,6 @@
...
@@ -48,7 +34,6 @@
<th
width=
"80"
>
出发地
</th>
<th
width=
"80"
>
出发地
</th>
<th
width=
"80"
>
航班时间
</th>
<th
width=
"80"
>
航班时间
</th>
<th
width=
"80"
>
公司团号
</th>
<th
width=
"80"
>
公司团号
</th>
<!--
<th
width=
"150"
>
团名
</th>
-->
<th
width=
"120"
>
机位总数/已收客数
</th>
<th
width=
"120"
>
机位总数/已收客数
</th>
<th
v-for=
'item in thLengthTitle'
>
{{
item
}}
</th>
<th
v-for=
'item in thLengthTitle'
>
{{
item
}}
</th>
<th>
备注
</th>
<th>
备注
</th>
...
@@ -59,12 +44,15 @@
...
@@ -59,12 +44,15 @@
<tr>
<tr>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<div
style=
"max-width: 100px; min-width: 50px; "
>
{{
outindex
+
1
}}
</div>
<div
style=
"max-width: 100px; min-width: 50px; "
>
{{
outindex
+
1
}}
</div>
<div
v-if=
'outItem.StaticsReportList.length>1'
class=
"w100"
>
合团号:
{{
outItem
.
NewCombinationNum
}}
</div>
<div
v-if=
'outItem.StaticsReportList.length>0'
class=
"w100"
>
{{
outItem
.
NewCombinationNum
}}
</div>
</td>
</td>
<td><div
class=
"w80"
>
<td>
<div
class=
"w80"
>
{{
item
.
StartCityNames
}}
{{
item
.
StartCityNames
}}
</div></td>
</div>
<td><div
class=
"w120"
>
</td>
<td>
<div
class=
"w120"
>
{{
item
.
FlightDate
}}
{{
item
.
FlightDate
}}
<el-popover
popper-class=
"bookDinnerStatistics_tripDetails"
width=
"550"
trigger=
"click"
>
<el-popover
popper-class=
"bookDinnerStatistics_tripDetails"
width=
"550"
trigger=
"click"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
...
@@ -79,7 +67,8 @@
...
@@ -79,7 +67,8 @@
<td
class=
"_d_name _color_666"
>
<td
class=
"_d_name _color_666"
>
<span
v-if=
"din==0"
>
{{
$t
(
'Airticket.Air_go'
)
}}
</span>
<span
v-if=
"din==0"
>
{{
$t
(
'Airticket.Air_go'
)
}}
</span>
<span
v-else-if=
"din==item.FlightList.length-1"
>
{{
$t
(
'Airticket.Air_returnTrip'
)
}}
</span>
<span
v-else-if=
"din==item.FlightList.length-1"
>
{{
$t
(
'Airticket.Air_returnTrip'
)
}}
</span>
<span
v-else-if=
"din>0 && din!=item.FlightList.length-1"
>
{{
$t
(
'Airticket.Air_transit'
)
}}
</span>
<span
v-else-if=
"din>0 && din!=item.FlightList.length-1"
>
{{
$t
(
'Airticket.Air_transit'
)
}}
</span>
</td>
</td>
<td>
<td>
<div>
{{
ds
.
Flight_number
}}
</div>
<div>
{{
ds
.
Flight_number
}}
</div>
...
@@ -96,22 +85,27 @@
...
@@ -96,22 +85,27 @@
<td>
{{
ds
.
StopoverName
}}
</td>
<td>
{{
ds
.
StopoverName
}}
</td>
</tr>
</tr>
</table>
</table>
<el-button
slot=
"reference"
class=
"normalBtn mt5"
style=
'height:24px; padding: 0 10px; background: #2AAEF2; border-color: #2AAEF2;'
>
详情
</el-button>
<el-button
slot=
"reference"
class=
"normalBtn mt5"
style=
'height:24px; padding: 0 10px; background: #2AAEF2; border-color: #2AAEF2;'
>
详情
</el-button>
</el-popover>
</el-popover>
</div></td>
</div>
<td><div
class=
"w120 link"
>
</td>
<td>
<div
class=
"w120 link"
>
<p
v-for=
'xx in stringToArr(item.TCNUMS)'
@
click=
"goUrlT('productQuery',xx,'产品查询')"
>
{{
xx
}}
</p>
<p
v-for=
'xx in stringToArr(item.TCNUMS)'
@
click=
"goUrlT('productQuery',xx,'产品查询')"
>
{{
xx
}}
</p>
</div></td>
</div>
<!--
<td><div
class=
"w200 padding10"
>
</td>
{{
item
.
Titles
}}
<td>
</div></td>
-->
<div
class=
"w120 link"
>
<td><div
class=
"w120 link"
>
<p
@
click=
"goUrlT('RegistrationList',item.TCIDS,'报名清单')"
>
<p
@
click=
"goUrlT('RegistrationList',item.TCIDS,'报名清单')"
>
{{
item
.
TotalSeat
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityYSeatNum
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityESeatNum
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityFSeatNum
}}
</p>
{{
item
.
TotalSeat
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityYSeatNum
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityESeatNum
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityFSeatNum
}}
</div></td>
</p>
</div>
</td>
<td
v-for=
"x in item.CommonReport.DiningList"
style=
"vertical-align: top;"
>
<td
v-for=
"x in item.CommonReport.DiningList"
style=
"vertical-align: top;"
>
<div
style=
"width:350px;"
>
<div
style=
"width:350px;"
>
<!--
<p
v-if=
"x.UseTimeStr"
>
{{
x
.
UseTimeStr
}}
</p>
-->
<table
v-if=
"x.UseTimeStr"
class=
"DiningTable"
width=
"100%"
border=
"0"
cellspacing=
"0"
<table
v-if=
"x.UseTimeStr"
class=
"DiningTable"
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
cellpadding=
"0"
>
<tr>
<tr>
<th
width=
"12%"
>
{{
x
.
UseTimeStr
.
substring
(
5
)
}}
</th>
<th
width=
"12%"
>
{{
x
.
UseTimeStr
.
substring
(
5
)
}}
</th>
<th
width=
"10%"
>
大
</th>
<th
width=
"10%"
>
大
</th>
...
@@ -125,35 +119,10 @@
...
@@ -125,35 +119,10 @@
<td
v-for=
"t in s.DiningPriceList"
>
{{
t
.
PeoplePrice
}}
</td>
<td
v-for=
"t in s.DiningPriceList"
>
{{
t
.
PeoplePrice
}}
</td>
<td>
{{
s
.
PayStyleStr
}}
</td>
<td>
{{
s
.
PayStyleStr
}}
</td>
<td><span
v-if=
"s.IsFeature==1"
style=
"color:red;"
>
{{
s
.
DiningName
}}
</span>
<span
v-else
>
{{
s
.
DiningName
}}
</span></td>
<td><span
v-if=
"s.IsFeature==1"
style=
"color:red;"
>
{{
s
.
DiningName
}}
</span>
<span
v-else
>
{{
s
.
DiningName
}}
</span></td>
</tr>
</tr>
</table>
</table>
<!--
<div
style=
"width: 100%; max-height: 100px; overflow-y: auto; "
class=
"ownScrollbarStyle"
>
<table
class=
"DiningTable"
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tbody
v-for=
"s in x.DiningSummaryList"
>
<tr>
<td
width=
"30%"
>
{{
useDinnerTypeToWord
(
s
.
UseDinnerType
)
}}
</td>
<td
width=
"70%"
>
<p
class=
"phoverStype"
@
click=
"goUrlT('restaurantList',s.ID,'餐厅列表')"
>
{{
s
.
DiningName
}}
</p>
</td>
</tr>
<tr>
<td>
支付方式
</td>
<td>
<el-select
v-model=
"s.DiningReserveType"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'请选择'
value=
'0'
></el-option>
<el-option
label=
'公司预定'
value=
'1'
></el-option>
<el-option
label=
'导游预定'
value=
'2'
></el-option>
</el-select>
</td>
</tr>
<tr>
<td>
用餐人数
</td>
<td><span
style=
"margin-right: 5px;"
v-for=
"t in s.DiningPriceList"
>
{{
PeopleTypeToWord
(
t
.
PeopleType
)
}}{{
t
.
PeoplePrice
}}
</span></td>
</tr>
</tbody>
</table>
</div>
-->
</div>
</div>
</td>
</td>
<td>
<td>
...
@@ -163,7 +132,7 @@
...
@@ -163,7 +132,7 @@
</td>
</td>
<td>
<td>
<div
class=
"w80 link"
>
<div
class=
"w80 link"
>
<p
@
click=
"goUrl('bookDinnerStatisticsDetails',i
tem,'订餐详情')"
>
详情
</p>
<p
@
click=
"goUrl('bookDinnerStatisticsDetails',item,outI
tem,'订餐详情')"
>
详情
</p>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -171,7 +140,8 @@
...
@@ -171,7 +140,8 @@
<td
:colspan=
"colspanTotal"
style=
"text-align: left!important;padding-left: 20px;"
>
<td
:colspan=
"colspanTotal"
style=
"text-align: left!important;padding-left: 20px;"
>
<div
class=
"link"
>
<div
class=
"link"
>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{
item
.
Titles
}}
</p>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{
item
.
Titles
}}
</p>
<div
v-show=
"outItem.StaticsReportList[0].DMCRemark!=''"
class=
"colorE95252"
>
地接备注:
{{
outItem
.
StaticsReportList
[
0
].
DMCRemark
}}
</div>
<div
v-show=
"outItem.StaticsReportList[0].DMCRemark!=''"
class=
"colorE95252"
>
地接备注:
{{
outItem
.
StaticsReportList
[
0
].
DMCRemark
}}
</div>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -179,43 +149,44 @@
...
@@ -179,43 +149,44 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
></el-pagination>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
></el-pagination>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
currentPage
:
1
,
msg
:
{
total
:
0
,
pageIndex
:
1
,
msg
:{
pageSize
:
10
,
pageIndex
:
1
,
SelectType
:
2
,
pageSize
:
10
,
SelectType
:
2
,
LineId
:
14
,
LineId
:
14
,
LineteamId
:
"-1"
,
LineteamId
:
"-1"
,
StartDate
:
''
,
StartDate
:
''
,
EndDate
:
''
EndDate
:
''
,
currentPage
:
1
,
total
:
0
,
},
},
LineList
:
[],
LineList
:
[],
LineTeamList
:
[],
LineTeamList
:
[],
thLengthTitle
:
[],
thLengthTitle
:
[],
list
:
[],
list
:
[],
colspanTotal
:
0
,
colspanTotal
:
0
,
}
}
},
},
methods
:
{
methods
:
{
stringToArr
(
str
)
{
stringToArr
(
str
)
{
return
str
.
split
(
','
)
return
str
.
split
(
','
)
},
},
PeopleTypeToWord
(
str
)
{
PeopleTypeToWord
(
str
)
{
if
(
str
==
1
)
if
(
str
==
1
)
return
'成人:'
return
'成人:'
if
(
str
==
2
)
if
(
str
==
2
)
return
'小孩:'
return
'小孩:'
if
(
str
==
3
)
if
(
str
==
3
)
return
'婴儿:'
return
'婴儿:'
},
},
getLineList
()
{
getLineList
()
{
...
@@ -231,8 +202,7 @@ export default {
...
@@ -231,8 +202,7 @@ export default {
getLineTeamList
(
lineId
)
{
getLineTeamList
(
lineId
)
{
this
.
LineTeamList
=
[];
this
.
LineTeamList
=
[];
this
.
apipost
(
this
.
apipost
(
"team_post_GetList"
,
"team_post_GetList"
,
{
{
lineID
:
14
,
lineID
:
14
,
isTOOP
:
1
isTOOP
:
1
},
},
...
@@ -244,14 +214,39 @@ export default {
...
@@ -244,14 +214,39 @@ export default {
}
}
);
);
},
},
goUrlR
(
path
,
obj
,
title
){
goUrlR
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:{
"ID"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
this
.
$router
.
push
({
name
:
path
,
query
:
{
"ID"
:
obj
,
blank
:
'y'
,
tab
:
title
}
})
},
},
goUrlT
(
path
,
obj
,
title
){
goUrlT
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
this
.
$router
.
push
({
name
:
path
,
query
:
{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}
})
},
},
goUrl
(
path
,
obj
,
title
){
goUrl
(
path
,
obj
,
outItem
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
obj
.
TCIDS
,
'TCNUM'
:
obj
.
TCNUMS
,
'flightTotal'
:
obj
.
TotalSeat
,
'GuestNum'
:
obj
.
CommonReport
.
HouseStatistics
.
RealityNum
,
'NewCombinationNum'
:
obj
.
NewCombinationNum
,
blank
:
'y'
,
tab
:
title
}})
this
.
$router
.
push
({
name
:
path
,
query
:
{
"id"
:
obj
.
TCIDS
,
'TCNUM'
:
obj
.
TCNUMS
,
'flightTotal'
:
obj
.
TotalSeat
,
'GuestNum'
:
obj
.
CommonReport
.
HouseStatistics
.
RealityNum
,
'NewCombinationNum'
:
outItem
.
NewCombinationNum
,
blank
:
'y'
,
tab
:
title
}
})
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
...
@@ -259,53 +254,39 @@ export default {
...
@@ -259,53 +254,39 @@ export default {
},
},
resetPageIndex
()
{
resetPageIndex
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
this
.
msg
.
currentPage
=
1
;
},
},
getList
(){
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
this
.
apipost
(
'dmcstatistics_post_GetUniteCombinationNumService'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'dmcstatistics_post_GetUniteCombinationNumService'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
loading
=
false
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
this
.
list
=
res
.
data
.
data
.
pageData
.
data
this
.
list
=
res
.
data
.
data
.
pageData
.
data
;
this
.
thLengthArr
=
[]
this
.
thLengthArr
=
[];
this
.
thLengthTitle
=
[]
this
.
thLengthTitle
=
[];
this
.
colspanTotal
=
res
.
data
.
data
.
pageData
.
columnsCount
+
6
this
.
colspanTotal
=
res
.
data
.
data
.
pageData
.
columnsCount
+
6
;
for
(
let
i
=
1
;
i
<=
res
.
data
.
data
.
pageData
.
columnsCount
;
i
++
){
for
(
let
i
=
1
;
i
<=
res
.
data
.
data
.
pageData
.
columnsCount
;
i
++
)
{
this
.
thLengthTitle
.
push
(
'第'
+
i
+
'天'
)
this
.
thLengthTitle
.
push
(
'第'
+
i
+
'天'
);
}
// this.list.forEach(item=>{
// console.log(item)
// if(item.CommonReport.DiningList.length
<
res
.
data
.
data
.
pageData
.
columnsCount
){
// let _cha=res.data.data.pageData.columnsCount-item.CommonReport.DiningList.length
// let _chaArr=new Array()
// for (let i=0;i
<
_cha
;
i
++
)
{
// _chaArr.push({'HotelName':''})
// }
// item.CommonReport.DiningList=item.CommonReport.DiningList.concat(_chaArr)
// }else{
//
// }
// })
this
.
list
.
forEach
(
outItem
=>
{
outItem
.
StaticsReportList
.
forEach
(
item
=>
{
if
(
item
.
CommonReport
.
DiningList
.
length
<
res
.
data
.
data
.
pageData
.
columnsCount
){
let
_cha
=
res
.
data
.
data
.
pageData
.
columnsCount
-
item
.
CommonReport
.
DiningList
.
length
let
_chaArr
=
new
Array
()
for
(
let
i
=
0
;
i
<
_cha
;
i
++
)
{
_chaArr
.
push
({
'HotelName'
:
''
})
}
item
.
CommonReport
.
DiningList
=
item
.
CommonReport
.
DiningList
.
concat
(
_chaArr
)
}
else
{
}
}
})
this
.
list
.
forEach
(
outItem
=>
{
})
outItem
.
StaticsReportList
.
forEach
(
item
=>
{
}
else
{
if
(
item
.
CommonReport
.
DiningList
.
length
<
res
.
data
.
data
.
pageData
.
columnsCount
)
{
this
.
loading
=
false
let
_cha
=
res
.
data
.
data
.
pageData
.
columnsCount
-
item
.
CommonReport
.
DiningList
.
length
;
this
.
$message
.
error
(
res
.
data
.
message
)
let
_chaArr
=
new
Array
();
for
(
let
i
=
0
;
i
<
_cha
;
i
++
)
{
_chaArr
.
push
({
'HotelName'
:
''
});
}
}
},
err
=>
{})
item
.
CommonReport
.
DiningList
=
item
.
CommonReport
.
DiningList
.
concat
(
_chaArr
);
}
});
});
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
},
},
},
mounted
()
{
mounted
()
{
...
@@ -319,37 +300,140 @@ export default {
...
@@ -319,37 +300,140 @@ export default {
this
.
msg
.
StartDate
=
nowDate
;
this
.
msg
.
StartDate
=
nowDate
;
this
.
getList
()
this
.
getList
()
},
},
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.bookDinnerStatisticsSplitTrCss
td
{
background
:
#eee
!important
;}
.bookDinnerStatisticsSplitTrCss
td
{
.bookDinnerStatisticsTalbe
{
background
:
#ccc
;}
background
:
#eee
!important
;
.bookDinnerStatisticsTalbe
tr
th
{
background
:
#E6E6E6
;
height
:
40px
;
font-size
:
12px
;
color
:
#333
;}
}
.bookDinnerStatisticsTalbe
tr
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;}
/*.bookDinnerStatisticsTalbe tr:nth-child(2n+1){background:#f2f2f2; }*/
.bookDinnerStatisticsTalbe
tr
td
{
font-size
:
12px
;}
.bookDinnerStatisticsTalbe
tr
td
.pHouseStyle
{
border-bottom
:
1px
solid
#ccc
;
height
:
20px
;
line-height
:
20px
;}
.bookDinnerStatisticsTalbe
tr
td
.pHouseStyle
:last-child
{
border-bottom
:
none
;}
.bookDinnerStatisticsTalbe
tr
td
.pDateStyle
{
border-bottom
:
1px
solid
#ccc
;
height
:
20px
;
line-height
:
20px
;
margin-top
:
0
;}
.bookDinnerStatisticsTalbe
tr
td
.pMsgStyle
{
;
padding
:
0
10px
;
line-height
:
20px
;}
.bookDinnerStatisticsTalbe
tr
td
.link
p
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;}
.bookDinnerStatisticsTalbe
tr
td
.phoverStype
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;}
.bookDinnerStatistics_tripDetails
{
padding
:
0
;
box-shadow
:
0px
1px
3px
0px
#dedede
;
max-height
:
400px
;
overflow-y
:
auto
;}
.bookDinnerStatistics_tripDetails
.popper__arrow
::after
{
border-bottom-color
:
#ededed
!important
;}
.bookDinnerStatistics_tripDetails
>
table
{
padding
:
10px
0
0
20px
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;}
.bookDinnerStatistics_tripDetails
>
table
th
{
background-color
:
#ededed
;
padding
:
5px
;}
.bookDinnerStatistics_tripDetails
>
table
td
{
background-color
:
#ffffff
;
padding
:
9px
15px
;
color
:
#333333
;
border
:
1px
solid
#d2d2d2
;}
.bookDinnerStatistics_tripDetails
>
table
td
._d_name
{
background-color
:
#ededed
;}
.bookDinnerStatistics_tripDetails
>
table
._color_666
{
color
:
#666666
;}
.bookDinnerStatistics_tripDetails
table
tr
._color_666
th
{
padding
:
9px
15px
;}
.DiningTable
{
background
:
#fff
;}
.DiningTable
tr
{
height
:
20px
;}
.DiningTable
tr
th
{
height
:
20px
;
font-size
:
12px
;
background
:
#fafafa
!important
;
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;}
.DiningTable
tr
th
:last-child
{
border-right
:
none
;}
.DiningTable
tr
td
{
height
:
30px
;
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;}
.DiningTable
tr
td
:last-child
{
border-right
:
none
;}
.bookDinnerStatisticsTalbe
{
background
:
#ccc
;
}
.bookDinnerStatisticsTalbe
tr
th
{
background
:
#E6E6E6
;
height
:
40px
;
font-size
:
12px
;
color
:
#333
;
}
.bookDinnerStatisticsTalbe
tr
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;
}
/*.bookDinnerStatisticsTalbe tr:nth-child(2n+1){background:#f2f2f2; }*/
.bookDinnerStatisticsTalbe
tr
td
{
font-size
:
12px
;
}
.bookDinnerStatisticsTalbe
tr
td
.pHouseStyle
{
border-bottom
:
1px
solid
#ccc
;
height
:
20px
;
line-height
:
20px
;
}
.bookDinnerStatisticsTalbe
tr
td
.pHouseStyle
:last-child
{
border-bottom
:
none
;
}
.bookDinnerStatisticsTalbe
tr
td
.pDateStyle
{
border-bottom
:
1px
solid
#ccc
;
height
:
20px
;
line-height
:
20px
;
margin-top
:
0
;
}
.bookDinnerStatisticsTalbe
tr
td
.pMsgStyle
{
;
padding
:
0
10px
;
line-height
:
20px
;
}
.bookDinnerStatisticsTalbe
tr
td
.link
p
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
.bookDinnerStatisticsTalbe
tr
td
.phoverStype
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
.bookDinnerStatistics_tripDetails
{
padding
:
0
;
box-shadow
:
0px
1px
3px
0px
#dedede
;
max-height
:
400px
;
overflow-y
:
auto
;
}
.bookDinnerStatistics_tripDetails
.popper__arrow
::after
{
border-bottom-color
:
#ededed
!important
;
}
.bookDinnerStatistics_tripDetails
>
table
{
padding
:
10px
0
0
20px
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;
}
.bookDinnerStatistics_tripDetails
>
table
th
{
background-color
:
#ededed
;
padding
:
5px
;
}
.bookDinnerStatistics_tripDetails
>
table
td
{
background-color
:
#ffffff
;
padding
:
9px
15px
;
color
:
#333333
;
border
:
1px
solid
#d2d2d2
;
}
.bookDinnerStatistics_tripDetails
>
table
td
._d_name
{
background-color
:
#ededed
;
}
.bookDinnerStatistics_tripDetails
>
table
._color_666
{
color
:
#666666
;
}
.bookDinnerStatistics_tripDetails
table
tr
._color_666
th
{
padding
:
9px
15px
;
}
.DiningTable
{
background
:
#fff
;
}
.DiningTable
tr
{
height
:
20px
;
}
.DiningTable
tr
th
{
height
:
20px
;
font-size
:
12px
;
background
:
#fafafa
!important
;
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
}
.DiningTable
tr
th
:last-child
{
border-right
:
none
;
}
.DiningTable
tr
td
{
height
:
30px
;
border-bottom
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
}
.DiningTable
tr
td
:last-child
{
border-right
:
none
;
}
</
style
>
</
style
>
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
f5bb4aa4
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<ul>
<ul>
<li>
<li>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿"
@
click=
"saveList(0)"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿"
@
click=
"saveList(0)"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -43,25 +43,25 @@
...
@@ -43,25 +43,25 @@
</td>
</td>
<td>
<td>
<div
class=
"w200"
>
<div
class=
"w200"
>
<p
style=
"height: 84px; padding-left: 10px; display:flex; align-items:center;"
v-for=
"subItem in item.DiningSummaryList"
class=
"link pHouseStyle"
@
click=
"goUrlR('restaurantList',subItem.DiningID,'餐厅列表')"
>
{{
subItem
.
DiningName
}}
</p>
<p
style=
"height: 84px; padding-left: 10px; display:flex; align-items:center;"
v-for=
"subItem in item.DiningSummaryList"
class=
"link pHouseStyle"
@
click=
"goUrlR('restaurantList',subItem.DiningID,'餐厅列表')"
>
{{
subItem
.
DiningName
}}
</p>
</div>
</div>
</td>
</td>
<td>
<td>
<div
class=
"w200"
>
<div
class=
"w200"
>
<p
style=
"height: 84px; padding-left: 10px; display:flex; align-items:center;"
class=
"pHouseStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<p
style=
"height: 84px; padding-left: 10px; display:flex; align-items:center;"
class=
"pHouseStyle"
<el-select
class=
'w160 sel'
v-model=
'subItem.NewDiningID'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
visible-change=
'getDingList(item)'
@
change=
'sendValue(subItem,item)'
>
v-for=
"subItem in item.DiningSummaryList"
>
<el-option
<el-select
class=
'w160 sel'
v-model=
'subItem.NewDiningID'
filterable
:placeholder=
"$t('pub.pleaseSel')"
v-for=
'itemHotel in item.DinnerList'
@
visible-change=
'getDingList(item)'
@
change=
'sendValue(subItem,item)'
>
:label=
'itemHotel.Name'
<el-option
v-for=
'itemHotel in item.DinnerList'
:label=
'itemHotel.Name'
:value=
'itemHotel.ID'
:value=
'itemHotel.ID'
:key=
'itemHotel.ID'
></el-option>
:key=
'itemHotel.ID'
></el-option>
</el-select>
</el-select>
</p>
</p>
</div>
</div>
</td>
</td>
<td>
<td>
<div
class=
"w80"
>
<div
class=
"w80"
>
<p
style=
"height: 84px; line-height: 84px;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
<p
style=
"height: 84px; line-height: 84px;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
{{
subItem
.
UseDinnerTypeStr
}}
{{
subItem
.
UseDinnerTypeStr
}}
</p>
</p>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
</div>
</div>
</td>
</td>
<td>
<td>
<div
class=
"w180"
>
<div
class=
"w180"
>
<div
class=
"DivStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<div
class=
"DivStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
personStrToWord
(
childItem
.
PeopleType
)
}}
{{
personStrToWord
(
childItem
.
PeopleType
)
}}
...
@@ -104,7 +104,8 @@
...
@@ -104,7 +104,8 @@
<div
class=
"w80"
>
<div
class=
"w80"
>
<div
class=
"DivStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<div
class=
"DivStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('RestaurantPackage',subItem,'套餐查询')"
>
设置
</span>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('RestaurantPackage',subItem,'套餐查询')"
>
设置
</span>
<span
v-if=
'childItem.PeoplePrice!=0'
>
{{
childItem
.
PeoplePrice
}}
</span>
<span
v-if=
'childItem.PeoplePrice!=0'
>
{{
childItem
.
PeoplePrice
}}
</span>
</p>
</p>
</div>
</div>
...
@@ -114,7 +115,8 @@
...
@@ -114,7 +115,8 @@
<div
class=
"w80"
>
<div
class=
"w80"
>
<div
class=
"DivStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<div
class=
"DivStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice(subItem)'
maxlength=
'2'
v-model=
'childItem.Discount'
@
keyup
.
native=
"checkInteger(childItem,'Discount')"
></el-input>
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice(subItem)'
maxlength=
'2'
v-model=
'childItem.Discount'
@
keyup
.
native=
"checkInteger(childItem,'Discount')"
></el-input>
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -132,9 +134,8 @@
...
@@ -132,9 +134,8 @@
<div
class=
"w80"
>
<div
class=
"w80"
>
<div
class=
"DivStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<div
class=
"DivStyle"
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<!--
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('restaurantInfoManage',subItem,'餐厅列表')"
>
设置
</span>
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice(subItem)'
v-model=
'childItem.DiscountPrice'
<span
v-if=
'childItem.PeoplePrice!=0'
>
{{
o
.
PeoplePrice
}}
%
</span>
-->
@
keyup
.
native=
"checkInteger(childItem,'DiscountPrice')"
></el-input>
%
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice(subItem)'
v-model=
'childItem.DiscountPrice'
@
keyup
.
native=
"checkInteger(childItem,'DiscountPrice')"
></el-input>
%
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -150,11 +151,11 @@
...
@@ -150,11 +151,11 @@
<div
class=
"w150"
>
<div
class=
"w150"
>
<p
style=
"height: 84px; line-height: 84px;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
<p
style=
"height: 84px; line-height: 84px;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
<el-select
class=
'w100 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
'w100 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'请选择'
value=
'0'
></el-option>
<el-option
label=
'请选择'
value=
'0'
></el-option>
<el-option
label=
'现付'
value=
'1'
></el-option>
<el-option
label=
'现付'
value=
'1'
></el-option>
<el-option
label=
'签单'
value=
'2'
></el-option>
<el-option
label=
'签单'
value=
'2'
></el-option>
<el-option
label=
'实物抵扣'
value=
'3'
></el-option>
<el-option
label=
'实物抵扣'
value=
'3'
></el-option>
<el-option
label=
'预付'
value=
'4'
></el-option>
<el-option
label=
'预付'
value=
'4'
></el-option>
</el-select>
</el-select>
</p>
</p>
</div>
</div>
...
@@ -163,9 +164,9 @@
...
@@ -163,9 +164,9 @@
<div
class=
"w150"
>
<div
class=
"w150"
>
<p
style=
"height: 84px; line-height: 84px;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
<p
style=
"height: 84px; line-height: 84px;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
<el-select
v-model=
'subItem.DiningReserveType'
class=
'w100 sel'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
'subItem.DiningReserveType'
class=
'w100 sel'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'请选择'
value=
'0'
></el-option>
<el-option
label=
'请选择'
value=
'0'
></el-option>
<el-option
label=
'公司预订'
value=
'1'
></el-option>
<el-option
label=
'公司预订'
value=
'1'
></el-option>
<el-option
label=
'导游预订'
value=
'2'
></el-option>
<el-option
label=
'导游预订'
value=
'2'
></el-option>
</el-select>
</el-select>
</p>
</p>
</div>
</div>
...
@@ -179,7 +180,8 @@
...
@@ -179,7 +180,8 @@
</td>
</td>
<td>
<td>
<div
class=
"w300"
>
<div
class=
"w300"
>
<p
style=
"height: 84px; padding-left: 10px; display:flex; align-items:center;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
<p
style=
"height: 84px; padding-left: 10px; display:flex; align-items:center;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
{{
subItem
.
Address
}}
{{
subItem
.
Address
}}
</p>
</p>
</div>
</div>
...
@@ -193,7 +195,8 @@
...
@@ -193,7 +195,8 @@
</td>
</td>
<td>
<td>
<div
class=
"w150"
>
<div
class=
"w150"
>
<p
style=
"height: 84px; display:flex; align-items:center; padding-left: 15px;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
<p
style=
"height: 84px; display:flex; align-items:center; padding-left: 15px;"
v-for=
"subItem in item.DiningSummaryList"
class=
"pHouseStyle"
>
<el-input
type=
'textarea'
class=
'w120'
v-model=
'subItem.Remarks'
></el-input>
<el-input
type=
'textarea'
class=
'w120'
v-model=
'subItem.Remarks'
></el-input>
</p>
</p>
</div>
</div>
...
@@ -205,10 +208,10 @@
...
@@ -205,10 +208,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
defaultSelectValue
:
0
,
defaultSelectValue
:
0
,
list
:
[],
list
:
[],
roomList
:
[],
roomList
:
[],
TCNUM
:
""
,
TCNUM
:
""
,
...
@@ -218,12 +221,26 @@ export default {
...
@@ -218,12 +221,26 @@ export default {
},
},
methods
:
{
methods
:
{
//页面跳转[大写]
//页面跳转[大写]
goUrlR
(
path
,
obj
,
title
)
{
goUrlR
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
ID
:
obj
,
blank
:
'y'
,
tab
:
title
}
});
this
.
$router
.
push
({
name
:
path
,
query
:
{
ID
:
obj
,
blank
:
'y'
,
tab
:
title
}
});
},
},
//页面跳转[小写]
//页面跳转[小写]
goUrlT
(
path
,
obj
,
title
)
{
goUrlT
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
obj
,
blank
:
'y'
,
tab
:
title
}
});
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
obj
,
blank
:
'y'
,
tab
:
title
}
});
},
},
goUrl
(
path
,
obj
,
name
)
{
goUrl
(
path
,
obj
,
name
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -235,33 +252,34 @@ export default {
...
@@ -235,33 +252,34 @@ export default {
}
}
});
});
},
},
personStrToWord
(
str
)
{
personStrToWord
(
str
)
{
if
(
str
==
1
)
if
(
str
==
1
)
return
'大人'
return
'大人'
if
(
str
==
2
)
if
(
str
==
2
)
return
'儿童'
return
'儿童'
if
(
str
==
3
)
if
(
str
==
3
)
return
'婴儿'
return
'婴儿'
},
},
getList
()
{
getList
()
{
this
.
apipost
(
this
.
apipost
(
"dmcstatistics_get_GetDinnerStaticsDetail"
,
"dmcstatistics_get_GetDinnerStaticsDetail"
,
{
{
TCIDs
:
this
.
$route
.
query
.
id
},
TCIDs
:
this
.
$route
.
query
.
id
},
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
list
=
res
.
data
.
data
;
this
.
list
=
res
.
data
.
data
;
this
.
list
.
forEach
(
item
=>
{
this
.
list
.
forEach
(
item
=>
{
item
.
DinnerList
=
[];
item
.
DinnerList
=
[];
item
.
DiningSummaryList
.
forEach
(
x
=>
{
item
.
DiningSummaryList
.
forEach
(
x
=>
{
x
.
PayStyle
=
x
.
PayStyle
.
toString
()
x
.
PayStyle
=
x
.
PayStyle
.
toString
();
x
.
DiningReserveType
=
x
.
DiningReserveType
.
toString
()
x
.
DiningReserveType
=
x
.
DiningReserveType
.
toString
();
this
.
calculationPrice
(
x
)
this
.
calculationPrice
(
x
);
item
.
DinnerList
.
push
({
item
.
DinnerList
.
push
({
Name
:
x
.
NewDiningName
,
Name
:
x
.
NewDiningName
,
ID
:
x
.
NewDiningID
ID
:
x
.
NewDiningID
})
})
if
(
x
.
ReserveNo
==
''
||
x
.
ReserveNo
==
null
)
{
if
(
x
.
ReserveNo
==
''
||
x
.
ReserveNo
==
null
)
{
x
.
ReserveNo
=
this
.
$route
.
query
.
NewCombinationNum
;
x
.
ReserveNo
=
this
.
$route
.
query
.
NewCombinationNum
;
;
}
}
})
})
})
})
...
@@ -272,54 +290,54 @@ export default {
...
@@ -272,54 +290,54 @@ export default {
err
=>
{}
err
=>
{}
);
);
},
},
calculationPrice
(
obj
)
{
calculationPrice
(
obj
)
{
let
totalPrice
=
0
let
totalPrice
=
0
;
obj
.
DiningPriceList
.
forEach
(
item
=>
{
obj
.
DiningPriceList
.
forEach
(
item
=>
{
totalPrice
+=
item
.
PeoplePrice
*
(
item
.
PeopleNum
-
item
.
Discount
)
*
(
1
-
item
.
DiscountPrice
/
100
)
totalPrice
+=
item
.
PeoplePrice
*
(
item
.
PeopleNum
-
item
.
Discount
)
*
(
1
-
item
.
DiscountPrice
/
100
);
})
})
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
)
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
},
},
saveList
(
type
)
{
saveList
(
type
)
{
if
(
type
==
0
)
{
if
(
type
==
0
)
{
this
.
list
.
forEach
(
item
=>
{
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
insideItem
.
OrderState
=
0
insideItem
.
OrderState
=
0
;
})
})
})
})
}
}
if
(
type
==
1
)
{
if
(
type
==
1
)
{
this
.
list
.
forEach
(
item
=>
{
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
insideItem
.
OrderState
=
1
insideItem
.
OrderState
=
1
;
})
})
})
})
}
}
this
.
apipost
(
'dmcstatistics_get_SetDiningOrder'
,
this
.
list
,
res
=>
{
this
.
apipost
(
'dmcstatistics_get_SetDiningOrder'
,
this
.
list
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
$message
.
success
(
res
.
data
.
message
);
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
},
err
=>
{})
},
err
=>
{})
},
},
//获取餐厅下拉
//获取餐厅下拉
getDingList
(
item
)
{
getDingList
(
item
)
{
let
msg
=
{
let
msg
=
{
QCity
:
item
.
DiningSummaryList
[
0
].
QCity
QCity
:
item
.
DiningSummaryList
[
0
].
QCity
}
}
this
.
apipost
(
'dining_post_GetLineDinnerList'
,
msg
,
res
=>
{
this
.
apipost
(
'dining_post_GetLineDinnerList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
item
.
DinnerList
=
res
.
data
.
data
;
item
.
DinnerList
=
res
.
data
.
data
;
this
.
$forceUpdate
();
this
.
$forceUpdate
();
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
Error
(
res
.
data
.
message
)
}
}
},
err
=>
{})
},
err
=>
{})
},
},
//重置电话地址
//重置电话地址
sendValue
(
subItem
,
item
)
{
sendValue
(
subItem
,
item
)
{
item
.
DinnerList
.
forEach
(
x
=>
{
item
.
DinnerList
.
forEach
(
x
=>
{
if
(
subItem
.
NewDiningID
==
x
.
ID
)
{
if
(
subItem
.
NewDiningID
==
x
.
ID
)
{
subItem
.
Address
=
x
.
Address
;
subItem
.
Address
=
x
.
Address
;
subItem
.
Tel
=
x
.
Tel
;
subItem
.
Tel
=
x
.
Tel
;
}
}
...
@@ -328,60 +346,93 @@ export default {
...
@@ -328,60 +346,93 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
this
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
this
.
GuestNum
=
this
.
$route
.
query
.
GuestNum
;
this
.
GuestNum
=
this
.
$route
.
query
.
GuestNum
;
this
.
getList
();
this
.
getList
();
}
}
};
};
</
script
>
</
script
>
<
style
>
<
style
>
.bookDinnerStatisticsTalbe
{
.bookDinnerStatisticsTalbe
{
background
:
#ccc
;
background
:
#ccc
;
}
}
.bookDinnerStatisticsTalbe
tr
th
{
.bookDinnerStatisticsTalbe
tr
th
{
background
:
#e6e6e6
;
background
:
#e6e6e6
;
height
:
40px
;
height
:
40px
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#333
;
color
:
#333
;
}
}
.bookDinnerStatisticsTalbe
tr
{
.bookDinnerStatisticsTalbe
tr
{
background
:
#fff
;
background
:
#fff
;
text-align
:
center
;
text-align
:
center
;
height
:
40px
;
height
:
40px
;
}
}
.bookDinnerStatisticsTalbe
tr
td
{
.bookDinnerStatisticsTalbe
tr
td
{
font-size
:
12px
;
font-size
:
12px
;
}
}
.bookDinnerStatisticsTalbe
tr
td
input
{
height
:
20px
!important
;
.bookDinnerStatisticsTalbe
tr
td
input
{
height
:
20px
!important
;
padding
:
0
;
padding
:
0
;
text-align
:
center
;
text-align
:
center
;
}
}
.bookDinnerStatisticsTalbe
tr
td
.sel
input
{
height
:
34px
!important
;
.bookDinnerStatisticsTalbe
tr
td
.sel
input
{
}
height
:
34px
!important
;
.bookDinnerStatisticsTalbe
tr
td
.pHouseStyle
{
}
.bookDinnerStatisticsTalbe
tr
td
.pHouseStyle
{
border-bottom
:
1px
solid
#ccc
;
border-bottom
:
1px
solid
#ccc
;
height
:
28px
;
height
:
28px
;
line-height
:
28px
;
line-height
:
28px
;
}
}
.bookDinnerStatisticsTalbe
tr
td
.pHouseStyle
:last-child
{
.bookDinnerStatisticsTalbe
tr
td
.pHouseStyle
:last-child
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
.bookDinnerStatisticsTalbe
tr
td
.DivStyle
{
.bookDinnerStatisticsTalbe
tr
td
.DivStyle
{
border-bottom
:
1px
solid
#ccc
;
border-bottom
:
1px
solid
#ccc
;
height
:
84px
;
height
:
84px
;
line-height
:
28px
;
line-height
:
28px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.bookDinnerStatisticsTalbe
tr
td
.DivStyle
p
{
border-bottom
:
1px
solid
#ccc
;}
.bookDinnerStatisticsTalbe
tr
td
.DivStyle
p
:last-child
{
border-bottom
:
none
;}
.bookDinnerStatisticsTalbe
tr
td
.DivStyle
p
{
.bookDinnerStatisticsTalbe
tr
td
.DivStyle
:last-child
{
border-bottom
:
1px
solid
#ccc
;
}
.bookDinnerStatisticsTalbe
tr
td
.DivStyle
p
:last-child
{
border-bottom
:
none
;
}
.bookDinnerStatisticsTalbe
tr
td
.DivStyle
:last-child
{
border-bottom
:
none
;
}
.bookDinnerStatisticsTalbe
tr
td
.tdItemStyle
{
border-bottom
:
1px
solid
#ccc
;
}
.bookDinnerStatisticsTalbe
tr
td
.tdItemStyle
:last-child
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
.bookDinnerStatisticsTalbe
tr
td
.tdItemStyle
{
border-bottom
:
1px
solid
#ccc
;}
.bookDinnerStatisticsTalbe
tr
td
.tdItemStyle
:last-child
{
border-bottom
:
none
;}
.bookDinnerStatisticsTalbe
tr
td
.link
:hover
{
.bookDinnerStatisticsTalbe
tr
td
.link
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;}
text-decoration
:
underline
;
.bookDinnerStatisticsTalbe
.Book_span
{
margin-right
:
3px
;}
cursor
:
pointer
;
.bookDinnerStatisticsTalbe
tr
td
.spanlink
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;}
}
.bookDinnerStatisticsTalbe
.Book_span
{
margin-right
:
3px
;
}
.bookDinnerStatisticsTalbe
tr
td
.spanlink
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
</
style
>
</
style
>
src/components/SalesModule/groupInquiry.vue
View file @
f5bb4aa4
...
@@ -747,7 +747,8 @@ export default {
...
@@ -747,7 +747,8 @@ export default {
//航班配置
//航班配置
FlightState
:
0
,
FlightState
:
0
,
TCVisaStatus
:
'-1'
,
TCVisaStatus
:
'-1'
,
IsShowUnion
:
1
IsShowUnion
:
1
,
QueryType
:
1
,
//查询类型 1:签证
},
},
remarkMsg
:
{
remarkMsg
:
{
TCID
:
0
,
TCID
:
0
,
...
...
src/components/administrative/departmentManagement.vue
View file @
f5bb4aa4
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
</span>
</span>
</li>
</li>
<li>
<li>
<span><em>
部门层级
</em><el-select
v-model=
"msg.Tier"
>
<span><em>
{{
$t
(
'admin.admin_departmentLevel'
)
}}
</em><el-select
v-model=
"msg.Tier"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'0'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'0'
></el-option>
<el-option
v-for=
'item in tierList'
:label=
'item.name'
:value=
'item.id'
:key=
"item.id"
></el-option>
<el-option
v-for=
'item in tierList'
:label=
'item.name'
:value=
'item.id'
:key=
"item.id"
></el-option>
</el-select>
</el-select>
...
@@ -125,9 +125,9 @@
...
@@ -125,9 +125,9 @@
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
@
click=
"outerVisible = true,
dialogTitle='新增部门',
getCompany()"
class=
"normalBtn"
<input
type=
"button"
@
click=
"outerVisible = true,getCompany()"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
/>
:value=
"$t('pub.addBtn')"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"树形结构
"
@
click=
"isTree=true"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('adm.adm_sxjg')
"
@
click=
"isTree=true"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -135,9 +135,9 @@
...
@@ -135,9 +135,9 @@
<div
v-show=
"isTree"
class=
"departmentTreeStyleCont"
>
<div
v-show=
"isTree"
class=
"departmentTreeStyleCont"
>
<div
class=
"departmentTreeStyle"
>
<div
class=
"departmentTreeStyle"
>
<p>
<p>
结构管理
{{
$t
(
'adm.adm_jggl'
)
}}
<input
type=
"button"
class=
"normalBtn fr"
<input
type=
"button"
class=
"normalBtn fr"
style=
"font-size: 12px; width: 86px; height: 24px; padding: 0 2px; margin-top: -5px;"
value=
"返回列表
"
style=
"font-size: 12px; width: 86px; height: 24px; padding: 0 2px; margin-top: -5px;"
:value=
"$t('adm.adm_fhlb')
"
@
click=
"isTree=false"
/>
@
click=
"isTree=false"
/>
</p>
</p>
<el-tree
:data=
"allList"
node-key=
"id"
:props=
"defaultProps"
@
node-drag-start=
"handleDragStart"
<el-tree
:data=
"allList"
node-key=
"id"
:props=
"defaultProps"
@
node-drag-start=
"handleDragStart"
...
@@ -151,24 +151,24 @@
...
@@ -151,24 +151,24 @@
{{
node
.
label
}}
<span
v-show=
"data.DType==2"
{{
node
.
label
}}
<span
v-show=
"data.DType==2"
style=
"background: #E95252; font-size: 12px; height: 16px; line-height: 16px; color:#fff; padding: 0 4px; border-radius: 4px; display: inline-block; margin-left: 5px;"
>
{{
data
.
PostName
}}
</span>
style=
"background: #E95252; font-size: 12px; height: 16px; line-height: 16px; color:#fff; padding: 0 4px; border-radius: 4px; display: inline-block; margin-left: 5px;"
>
{{
data
.
PostName
}}
</span>
<span
class=
"spanIcon"
v-if=
"data.DType==1"
>
<span
class=
"spanIcon"
v-if=
"data.DType==1"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"添加子部门
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('adm.adm_addzibumen')
"
placement=
"top"
>
<i
class=
"iconfont icon-tianjia"
<i
class=
"iconfont icon-tianjia"
@
click=
"treeLayerShow=true;treeLayerShowUser=false,
treeLayerTitle='添加部门',
resetForm('addMsg'),addTreeData(data)"
></i>
@
click=
"treeLayerShow=true;treeLayerShowUser=false,resetForm('addMsg'),addTreeData(data)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"添加员工
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('adm.adm_addyuangong')
"
placement=
"top"
>
<i
class=
"iconfont icon-tianjiayuangong"
<i
class=
"iconfont icon-tianjiayuangong"
@
click=
"treeLayerShow=false,treeLayerShowUser=true,
treeLayerUserTitle='添加员工',
resetForm('addMsg1'),addTreeUerData(data)"
></i>
@
click=
"treeLayerShow=false,treeLayerShowUser=true,resetForm('addMsg1'),addTreeUerData(data)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')
"
placement=
"top"
>
<i
class=
"iconfont icon-xiugai"
<i
class=
"iconfont icon-xiugai"
@
click=
"treeLayerShow=true,treeLayerShowUser=false,treeLayerTitle='部门信息编辑',resetForm('addMsg'),updateData(data.DepartmentID)"
></i>
@
click=
"treeLayerShow=true,treeLayerShowUser=false,treeLayerTitle='部门信息编辑',resetForm('addMsg'),updateData(data.DepartmentID)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')
"
placement=
"top"
>
<i
class=
"iconfont icon-shanchu"
@
click=
'deleteDeparment(data.DepartmentID)'
></i>
<i
class=
"iconfont icon-shanchu"
@
click=
'deleteDeparment(data.DepartmentID)'
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
class=
"spanIcon"
v-if=
"data.DType==2"
>
<span
class=
"spanIcon"
v-if=
"data.DType==2"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"员工修改
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('adm.adm_edityuangong')
"
placement=
"top"
>
<i
class=
"iconfont icon-xiugai"
<i
class=
"iconfont icon-xiugai"
@
click=
"treeLayerShow=false,treeLayerShowUser=true,treeLayerUserTitle='修改员工信息',resetForm('addMsg1'),updateDataUser(data)"
></i>
@
click=
"treeLayerShow=false,treeLayerShowUser=true,treeLayerUserTitle='修改员工信息',resetForm('addMsg1'),updateDataUser(data)"
></i>
</el-tooltip>
</el-tooltip>
...
@@ -181,31 +181,31 @@
...
@@ -181,31 +181,31 @@
<el-form
:model=
"addMsg1"
:rules=
"rules1"
ref=
"addMsg1"
label-width=
"90px"
>
<el-form
:model=
"addMsg1"
:rules=
"rules1"
ref=
"addMsg1"
label-width=
"90px"
>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"公司
"
prop=
"RB_Branch_id"
>
<el-form-item
:label=
"$t('system.table_company')
"
prop=
"RB_Branch_id"
>
<el-select
filterable
v-model=
'addMsg1.RB_Branch_id'
@
change=
'layerLinkageDepartment'
placeholder=
"请选择
"
>
<el-select
filterable
v-model=
'addMsg1.RB_Branch_id'
@
change=
'layerLinkageDepartment'
:placeholder=
"$t('pub.unlimitedSel')
"
>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
"item.Id"
>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"部门
"
prop=
"RB_Department_Id"
>
<el-form-item
:label=
"$t('admin.admin_Department')
"
prop=
"RB_Department_Id"
>
<el-select
filterable
v-model=
'addMsg1.RB_Department_Id'
@
change=
'layerLinkagePost'
placeholder=
"请选择
"
>
<el-select
filterable
v-model=
'addMsg1.RB_Department_Id'
@
change=
'layerLinkagePost'
:placeholder=
"$t('pub.unlimitedSel')
"
>
<el-option
v-for=
'item in layerDepartMentList'
:label=
'item.DepartmentName'
:value=
'item.DepartmentID'
:key=
"item.DepartmentID"
>
<el-option
v-for=
'item in layerDepartMentList'
:label=
'item.DepartmentName'
:value=
'item.DepartmentID'
:key=
"item.DepartmentID"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"岗位
"
prop=
"RB_Post_Id"
>
<el-form-item
:label=
"$t('admin.admin_Post')
"
prop=
"RB_Post_Id"
>
<el-select
filterable
v-model=
'addMsg1.RB_Post_Id'
placeholder=
"请选择
"
>
<el-select
filterable
v-model=
'addMsg1.RB_Post_Id'
:placeholder=
"$t('pub.unlimitedSel')
"
>
<el-option
v-for=
'item in layerPostList'
:label=
'item.PostName'
:value=
'item.PostId'
:key=
"item.PostId"
>
<el-option
v-for=
'item in layerPostList'
:label=
'item.PostName'
:value=
'item.PostId'
:key=
"item.PostId"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"姓名
"
prop=
"EmName"
>
<el-form-item
:label=
"$t('system.query_name')
"
prop=
"EmName"
>
<el-input
maxlength=
'20'
type=
"text"
v-model=
"addMsg1.EmName"
<el-input
maxlength=
'20'
type=
"text"
v-model=
"addMsg1.EmName"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -213,20 +213,20 @@
...
@@ -213,20 +213,20 @@
</el-row>
</el-row>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"身份证
"
prop=
"EmCard"
>
<el-form-item
:label=
"$t('system.table_IDcard')
"
prop=
"EmCard"
>
<el-input
type=
"text"
v-model=
"addMsg1.EmCard"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg1.EmCard"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"性别
"
prop=
"EmSex"
>
<el-form-item
:label=
"$t('leader.leader_Sex')
"
prop=
"EmSex"
>
<el-select
filterable
v-model=
'addMsg1.EmSex'
placeholder=
"请选择
"
>
<el-select
filterable
v-model=
'addMsg1.EmSex'
:placeholder=
"$t('pub.unlimitedSel')
"
>
<el-option
label=
'男'
value=
'0'
></el-option>
<el-option
:label=
"$t('pub.man')"
value=
'0'
></el-option>
<el-option
label=
'女'
value=
'1'
></el-option>
<el-option
:label=
"$t('pub.woman')"
value=
'1'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"学历
"
prop=
"EmEducation"
>
<el-form-item
:label=
"$t('adm.adm_xueli')
"
prop=
"EmEducation"
>
<el-input
maxlength=
'20'
type=
"text"
v-model=
"addMsg1.EmEducation"
<el-input
maxlength=
'20'
type=
"text"
v-model=
"addMsg1.EmEducation"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -245,18 +245,18 @@
...
@@ -245,18 +245,18 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"地址
"
prop=
"EmAddress"
>
<el-form-item
:label=
"$t('admin.admin_address')
"
prop=
"EmAddress"
>
<el-input
maxlength=
'50'
type=
"text"
v-model=
"addMsg1.EmAddress"
<el-input
maxlength=
'50'
type=
"text"
v-model=
"addMsg1.EmAddress"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"手机号
"
prop=
"EmMobile"
>
<el-form-item
:label=
"$t('pub.mbPhoneNum')
"
prop=
"EmMobile"
>
<el-input
type=
"text"
v-model=
"addMsg1.EmMobile"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg1.EmMobile"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"座机
"
prop=
"EmTel"
>
<el-form-item
:label=
"$t('pub.telphone')
"
prop=
"EmTel"
>
<el-input
maxlength=
'20'
type=
"text"
v-model=
"addMsg1.EmTel"
<el-input
maxlength=
'20'
type=
"text"
v-model=
"addMsg1.EmTel"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -274,7 +274,7 @@
...
@@ -274,7 +274,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"账号
"
prop=
"EmAccount"
>
<el-form-item
:label=
"$t('system.table_acc')
"
prop=
"EmAccount"
>
<el-input
type=
"text"
v-model=
"addMsg1.EmAccount"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg1.EmAccount"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -286,9 +286,9 @@
...
@@ -286,9 +286,9 @@
</el-row>
</el-row>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<input
type=
"button"
value=
"取消
"
class=
"hollowFixedBtn"
<input
type=
"button"
:value=
"$t('pub.cancelBtn')
"
class=
"hollowFixedBtn"
@
click=
"resetForm('addMsg1'),treeLayerShowUser=false"
></input>
@
click=
"resetForm('addMsg1'),treeLayerShowUser=false"
></input>
<input
type=
"button"
class=
"normalBtn"
value=
"保存
"
@
click=
"submitForm1('addMsg1')"
></input>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.saveBtn')
"
@
click=
"submitForm1('addMsg1')"
></input>
<button
v-if=
'isleaveBtn'
class=
"normalBtn"
@
click=
"setIsLeave(leaveId)"
>
{{
leaveBtn
}}
</button>
<button
v-if=
'isleaveBtn'
class=
"normalBtn"
@
click=
"setIsLeave(leaveId)"
>
{{
leaveBtn
}}
</button>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -302,7 +302,7 @@
...
@@ -302,7 +302,7 @@
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('admin.admin_company')"
prop=
"RB_Branch_Id"
>
<el-form-item
:label=
"$t('admin.admin_company')"
prop=
"RB_Branch_Id"
>
<el-select
filterable
clearable
v-model=
'addMsg.RB_Branch_Id'
placeholder=
"请选择
"
<el-select
filterable
clearable
v-model=
'addMsg.RB_Branch_Id'
:placeholder=
"$t('pub.unlimitedSel')
"
@
change=
'getDeparmentTierByBranch'
>
@
change=
'getDeparmentTierByBranch'
>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
"item.Id"
>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
"item.Id"
>
</el-option>
</el-option>
...
@@ -422,7 +422,7 @@
...
@@ -422,7 +422,7 @@
<tr>
<tr>
<td>
<td>
<el-form-item
:label=
"$t('admin.admin_company')"
prop=
"RB_Branch_Id"
>
<el-form-item
:label=
"$t('admin.admin_company')"
prop=
"RB_Branch_Id"
>
<el-select
class=
'w200'
filterable
clearable
v-model=
'addMsg.RB_Branch_Id'
placeholder=
"请选择
"
<el-select
class=
'w200'
filterable
clearable
v-model=
'addMsg.RB_Branch_Id'
:placeholder=
"$t('pub.unlimitedSel')
"
@
change=
'getDeparmentTierByBranch'
>
@
change=
'getDeparmentTierByBranch'
>
<el-option
v-for=
'item in layercompanyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
"item.Id"
>
<el-option
v-for=
'item in layercompanyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
"item.Id"
>
</el-option>
</el-option>
...
@@ -544,17 +544,17 @@
...
@@ -544,17 +544,17 @@
rules
:
{
//表单验证
rules
:
{
//表单验证
RB_Branch_Id
:
[{
RB_Branch_Id
:
[{
required
:
true
,
required
:
true
,
message
:
'请选择公司'
,
message
:
this
.
$t
(
'rule.company'
)
,
trigger
:
'change'
trigger
:
'change'
}],
}],
DepartmentName
:
[{
DepartmentName
:
[{
required
:
true
,
required
:
true
,
message
:
'请输入部门名称'
,
message
:
this
.
$t
(
'rule.qsrbmmingchen'
)
,
trigger
:
'blur'
trigger
:
'blur'
}],
}],
Tier
:
[{
Tier
:
[{
required
:
true
,
required
:
true
,
message
:
'请选择部门层级'
,
message
:
this
.
$t
(
'rule.qxzbmcengji'
)
,
trigger
:
'change'
trigger
:
'change'
}],
}],
ParentId
:
[{
ParentId
:
[{
...
@@ -563,22 +563,22 @@
...
@@ -563,22 +563,22 @@
}],
}],
DepartmentManager
:
[{
DepartmentManager
:
[{
required
:
false
,
required
:
false
,
message
:
'请选择负责人'
,
message
:
this
.
$t
(
'rule.qxzfuzeren'
)
,
trigger
:
'change'
trigger
:
'change'
}],
}],
PostIdArr
:
[{
PostIdArr
:
[{
required
:
true
,
required
:
true
,
message
:
'请选择绑定岗位'
,
message
:
this
.
$t
(
'rule.qsrbdgangwei'
)
,
trigger
:
'change'
trigger
:
'change'
}],
}],
DepartmentTel
:
[{
DepartmentTel
:
[{
pattern
:
/^
((
0
\d{2,3})
-
)(\d{7,8})(
-
(\d{3,}))?
$/
,
pattern
:
/^
((
0
\d{2,3})
-
)(\d{7,8})(
-
(\d{3,}))?
$/
,
message
:
'请输入正确的部门电话'
message
:
this
.
$t
(
'rule.qsrzqdbmdianhua'
)
}],
}],
Sort
:
[{
Sort
:
[{
required
:
true
,
required
:
true
,
pattern
:
/^
(
-|
\+)?\d
+$/
,
pattern
:
/^
(
-|
\+)?\d
+$/
,
message
:
'请输整数'
message
:
this
.
$t
(
'rule.qszhengshu'
)
}],
}],
IsLeader
:
[{
IsLeader
:
[{
required
:
false
,
required
:
false
,
...
@@ -609,22 +609,22 @@
...
@@ -609,22 +609,22 @@
rules1
:
{
rules1
:
{
RB_Branch_id
:
[{
RB_Branch_id
:
[{
required
:
true
,
required
:
true
,
message
:
'请选择公司'
,
message
:
this
.
$t
(
'rule.company'
)
,
trigger
:
'change'
trigger
:
'change'
}],
}],
RB_Department_Id
:
[{
RB_Department_Id
:
[{
required
:
true
,
required
:
true
,
message
:
'请选择部门'
,
message
:
this
.
$t
(
'tips.qxzbumen'
)
,
trigger
:
'change'
trigger
:
'change'
}],
}],
RB_Post_Id
:
[{
RB_Post_Id
:
[{
required
:
true
,
required
:
true
,
message
:
'请选择岗位'
,
message
:
this
.
$t
(
'tips.qxzgangwei'
)
,
trigger
:
'change'
trigger
:
'change'
}],
}],
EmName
:
[{
EmName
:
[{
required
:
true
,
required
:
true
,
message
:
'请输入姓名'
,
message
:
this
.
$t
(
'rule.qsrname'
)
,
trigger
:
'blur'
trigger
:
'blur'
}],
}],
EmEntry
:
[{
EmEntry
:
[{
...
@@ -634,7 +634,7 @@
...
@@ -634,7 +634,7 @@
}],
}],
EmAccount
:
[{
EmAccount
:
[{
required
:
true
,
required
:
true
,
message
:
'请输入账号'
,
message
:
this
.
$t
(
'login.login_account'
)
,
trigger
:
'blur'
trigger
:
'blur'
},
},
{
{
...
@@ -644,7 +644,7 @@
...
@@ -644,7 +644,7 @@
],
],
EmPassword
:
[{
EmPassword
:
[{
required
:
true
,
required
:
true
,
message
:
'请输入密码'
,
message
:
this
.
$t
(
'login.login_password'
)
,
trigger
:
'blur'
trigger
:
'blur'
}],
}],
EmQQ
:
[{
EmQQ
:
[{
...
@@ -653,11 +653,11 @@
...
@@ -653,11 +653,11 @@
}],
}],
EmMobile
:
[{
EmMobile
:
[{
pattern
:
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
012356789
]
|17
[
012356789
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
,
pattern
:
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
012356789
]
|17
[
012356789
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
,
message
:
'请输入正确的手机'
message
:
this
.
$t
(
'rule.qsrtelphone'
),
}],
}],
EmCard
:
[{
EmCard
:
[{
pattern
:
/
(
^
\d{15}
$
)
|
(
^
\d{18}
$
)
|
(
^
\d{17}(\d
|X|x
)
$
)
/
,
pattern
:
/
(
^
\d{15}
$
)
|
(
^
\d{18}
$
)
|
(
^
\d{17}(\d
|X|x
)
$
)
/
,
message
:
'请输正确的身份证号'
message
:
'请输正确的身份证号
459258
'
}],
}],
},
},
//请求数据
//请求数据
...
@@ -947,6 +947,7 @@
...
@@ -947,6 +947,7 @@
})
})
},
},
getCompany
()
{
//公司
getCompany
()
{
//公司
this
.
dialogTitle
=
this
.
$t
(
'adm.adm_xzbumen'
);
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
companyMsg
,
res
=>
{
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
companyMsg
,
res
=>
{
if
(
this
.
outerVisible
)
{
if
(
this
.
outerVisible
)
{
this
.
layercompanyList
=
res
.
data
.
data
this
.
layercompanyList
=
res
.
data
.
data
...
@@ -1041,6 +1042,7 @@
...
@@ -1041,6 +1042,7 @@
})
})
},
},
addTreeData
(
obj
)
{
addTreeData
(
obj
)
{
this
.
treeLayerTitle
=
this
.
$t
(
'adm.adm_addbumen'
);
this
.
getCompany
()
this
.
getCompany
()
this
.
layerDepartmentMsg
.
BranchId
=
this
.
layerTierMsg
.
BranchId
=
this
.
addMsg
.
RB_Branch_Id
=
obj
.
RB_Branch_Id
this
.
layerDepartmentMsg
.
BranchId
=
this
.
layerTierMsg
.
BranchId
=
this
.
addMsg
.
RB_Branch_Id
=
obj
.
RB_Branch_Id
this
.
layerDepartmentMsg
.
Tier
=
obj
.
Tier
+
1
;
this
.
layerDepartmentMsg
.
Tier
=
obj
.
Tier
+
1
;
...
@@ -1052,6 +1054,7 @@
...
@@ -1052,6 +1054,7 @@
},
},
addTreeUerData
(
obj
)
{
addTreeUerData
(
obj
)
{
this
.
isleaveBtn
=
false
;
this
.
isleaveBtn
=
false
;
this
.
treeLayerUserTitle
=
this
.
$t
(
'adm.adm_addyuangong'
);
this
.
getCompany
()
this
.
getCompany
()
this
.
getDepartmentMsg
.
RB_Branch_Id
=
this
.
addMsg1
.
RB_Branch_id
=
obj
.
RB_Branch_Id
this
.
getDepartmentMsg
.
RB_Branch_Id
=
this
.
addMsg1
.
RB_Branch_id
=
obj
.
RB_Branch_Id
this
.
getDerpartMent
();
this
.
getDerpartMent
();
...
...
src/components/busManagement/BusInfo.vue
View file @
f5bb4aa4
...
@@ -82,7 +82,9 @@
...
@@ -82,7 +82,9 @@
text-decoration
:
underline
;
text-decoration
:
underline
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.BusTyleFirst
.w150
{
margin-right
:
22px
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"flexOne busInfo"
>
<div
class=
"flexOne busInfo"
>
...
@@ -192,11 +194,14 @@
...
@@ -192,11 +194,14 @@
</div>
</div>
</td>
</td>
<td>
<td>
<div
class=
"w180"
>
<div
class=
"w180"
:class=
"
{'BusTyleFirst':index==0}"
>
<el-select
clearable
class=
"w150"
filterable
placeholder=
"请选择"
v-model=
"item.BusType"
:disabled=
"forbidInput"
@
change=
'getBusPrice(item)'
>
<el-select
clearable
class=
"w150"
filterable
placeholder=
"请选择"
v-model=
"item.BusType"
:disabled=
"forbidInput"
@
change=
'getBusPrice(item)'
>
<el-option
v-for=
"item in BusTypeList"
:key=
"item.Id"
:label=
"item.newName"
:value=
"item.Id"
>
<el-option
v-for=
"item in BusTypeList"
:key=
"item.Id"
:label=
"item.newName"
:value=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同上"
placement=
"top"
>
<i
class=
"iconfont icon-tongshang"
style=
"cursor:pointer;"
v-if=
"index!=0"
@
click=
"getBeforeInfo(index)"
></i>
</el-tooltip>
</div>
</div>
</td>
</td>
<td>
<td>
...
@@ -515,6 +520,7 @@ export default {
...
@@ -515,6 +520,7 @@ export default {
x
.
BookGroup
=
this
.
$route
.
query
.
NewCombinationNum
;
x
.
BookGroup
=
this
.
$route
.
query
.
NewCombinationNum
;
}
}
})
})
console
.
log
(
this
.
PlanTableData
,
'plandata'
);
}
}
},
},
null
null
...
@@ -695,6 +701,29 @@ export default {
...
@@ -695,6 +701,29 @@ export default {
2
2
);
);
this
.
PostData
.
CostPrice
=
CoastPrice
;
this
.
PostData
.
CostPrice
=
CoastPrice
;
},
//获取同上信息
getBeforeInfo
(
index
){
let
oldPlanData
=
this
.
PlanTableData
[
index
-
1
];
let
newPlanData
=
this
.
PlanTableData
[
index
];
newPlanData
.
PlanDateStr
=
oldPlanData
.
PlanDateStr
;
newPlanData
.
HotelName
=
oldPlanData
.
HotelName
;
newPlanData
.
IsHavearking
=
oldPlanData
.
IsHavearking
;
newPlanData
.
AirportPickUp
=
oldPlanData
.
AirportPickUp
;
newPlanData
.
UseType
=
oldPlanData
.
UseType
;
newPlanData
.
UseTime
=
oldPlanData
.
UseTime
;
newPlanData
.
BookGroup
=
oldPlanData
.
BookGroup
;
newPlanData
.
DriverName
=
oldPlanData
.
DriverName
;
newPlanData
.
DriverTel
=
oldPlanData
.
DriverTel
;
newPlanData
.
AccommodationType
=
oldPlanData
.
AccommodationType
;
newPlanData
.
AccommodationRemark
=
oldPlanData
.
AccommodationRemark
;
newPlanData
.
BusType
=
oldPlanData
.
BusType
;
// newPlanData.UseNum = oldPlanData.UseNum;
// newPlanData.BusNum = oldPlanData.BusNum;
// newPlanData.BusCompany = oldPlanData.BusCompany;
// newPlanData.ParkExplain = oldPlanData.ParkExplain;
// newPlanData.CostPrice = oldPlanData.CostPrice;
// newPlanData.TransferNum = oldPlanData.TransferNum;
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/components/platformModule/companyManagement.vue
View file @
f5bb4aa4
...
@@ -23,22 +23,22 @@
...
@@ -23,22 +23,22 @@
</span>
</span>
</li>
-->
</li>
-->
<li>
<li>
<span><em>
{{
$t
(
'admin.admin_company'
)
}}
</em><el-input
@
keyup
.
enter
.
native=
"getList"
v-model=
"msg.BName"
placeholder=
"请输入内容
"
></el-input></span>
<span><em>
{{
$t
(
'admin.admin_company'
)
}}
</em><el-input
@
keyup
.
enter
.
native=
"getList"
v-model=
"msg.BName"
:placeholder=
"$t('pub.pleaseImport')
"
></el-input></span>
</li>
</li>
<li>
<li>
<span><em>
{{
$t
(
'admin.admin_domain'
)
}}
</em><el-input
@
keyup
.
enter
.
native=
"getList"
v-model=
"msg.Domain"
placeholder=
"请输入内容
"
></el-input></span>
<span><em>
{{
$t
(
'admin.admin_domain'
)
}}
</em><el-input
@
keyup
.
enter
.
native=
"getList"
v-model=
"msg.Domain"
:placeholder=
"$t('pub.pleaseImport')
"
></el-input></span>
</li>
</li>
<li>
<li>
<span><em>
{{
$t
(
'admin.admin_status'
)
}}
</em><el-select
v-model=
"msg.Status"
placeholder=
"不限
"
>
<span><em>
{{
$t
(
'admin.admin_status'
)
}}
</em><el-select
v-model=
"msg.Status"
:placeholder=
"$t('pub.unlimitedSel')
"
>
<el-option
label=
'不限'
value=
''
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
''
></el-option>
<el-option
label=
'开启'
value=
'0'
></el-option>
<el-option
:label=
"$t('pub.openSel')"
value=
'0'
></el-option>
<el-option
label=
'关闭'
value=
'1'
></el-option>
<el-option
:label=
"$t('pub.closeSel')"
value=
'1'
></el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询
"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')
"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"新增
"
@
click=
"outerVisible = true,dialogTitle='新增公司'"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')
"
@
click=
"outerVisible = true,dialogTitle='新增公司'"
/>
</li>
</li>
</ul>
</ul>
...
@@ -49,8 +49,8 @@
...
@@ -49,8 +49,8 @@
<th
width=
"300"
>
{{
$t
(
'admin.admin_company'
)
}}
</th>
<th
width=
"300"
>
{{
$t
(
'admin.admin_company'
)
}}
</th>
<!--
<th>
{{
$t
(
'admin.admin_domain'
)
}}
</th>
-->
<!--
<th>
{{
$t
(
'admin.admin_domain'
)
}}
</th>
-->
<!--
<th>
{{
$t
(
'admin.admin_leader'
)
}}
</th>
-->
<!--
<th>
{{
$t
(
'admin.admin_leader'
)
}}
</th>
-->
<th>
联系人
</th>
<th>
{{
$t
(
'hotel.suplier_contact'
)
}}
</th>
<th>
联系电话
</th>
<th>
{{
$t
(
'restaurant.res_ContactNumber'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_status'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_status'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_isshow'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_isshow'
)
}}
</th>
<th>
公司类型
</th>
<th>
公司类型
</th>
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<!--
<td>
{{
item
.
BranchManagerName
}}
</td>
-->
<!--
<td>
{{
item
.
BranchManagerName
}}
</td>
-->
<td>
{{
item
.
ContactPersion
}}
</td>
<td>
{{
item
.
ContactPersion
}}
</td>
<td>
{{
item
.
MobilePhone
}}
</td>
<td>
{{
item
.
MobilePhone
}}
</td>
<td>
{{
item
.
Status
==
0
?
'开启'
:
'关闭'
}}
</td>
<td>
{{
item
.
Status
==
0
?
$t
(
'pub.openSel'
):
$t
(
'pub.closeSel'
)
}}
</td>
<td>
{{
item
.
is_show
==
0
?
'显示'
:
'不显示'
}}
</td>
<td>
{{
item
.
is_show
==
0
?
'显示'
:
'不显示'
}}
</td>
<td>
{{
item
.
IsParentCompany
==
'1'
?
'总公司'
:
'分公司'
}}
</td>
<td>
{{
item
.
IsParentCompany
==
'1'
?
'总公司'
:
'分公司'
}}
</td>
<td>
<td>
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
<!--
<el-form-item
class=
'w400'
:label=
"$t('admin.admin_domain')"
prop=
"Domain"
>
<!--
<el-form-item
class=
'w400'
:label=
"$t('admin.admin_domain')"
prop=
"Domain"
>
<el-input
type=
"text"
v-model=
"addMsg.Domain"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.Domain"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
-->
</el-form-item>
-->
<el-form-item
label=
"省份
"
prop=
"Province"
>
<el-form-item
:label=
"$t('system.table_pvrg')
"
prop=
"Province"
>
<el-select
class=
'w280'
:placeholder=
"$t('pub.pleaseSel')"
filterable
v-model=
"addMsg.Province"
@
change=
"getCityList(addMsg.Province,1)"
>
<el-select
class=
'w280'
:placeholder=
"$t('pub.pleaseSel')"
filterable
v-model=
"addMsg.Province"
@
change=
"getCityList(addMsg.Province,1)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'commonDefaultSelect'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'commonDefaultSelect'
></el-option>
<el-option
v-for=
'item in ProvinceList'
<el-option
v-for=
'item in ProvinceList'
...
@@ -147,10 +147,10 @@
...
@@ -147,10 +147,10 @@
<el-input
type=
"text"
v-model=
"addMsg.GatheringAddress"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.GatheringAddress"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
-->
</el-form-item>
-->
<el-form-item
class=
'w400'
label=
'状态
'
prop=
"Status"
>
<el-form-item
class=
'w400'
:label=
'$t("admin.admin_status")
'
prop=
"Status"
>
<el-switch
v-model=
"addMsg.Status"
active-value=
"0"
inactive-value=
"1"
></el-switch>
<el-switch
v-model=
"addMsg.Status"
active-value=
"0"
inactive-value=
"1"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
class=
'w400'
label=
'是否显示
'
prop=
"is_show"
>
<el-form-item
class=
'w400'
:label=
'$t("admin.admin_isshow")
'
prop=
"is_show"
>
<el-switch
v-model=
"addMsg.is_show"
active-value=
"0"
inactive-value=
"1"
></el-switch>
<el-switch
v-model=
"addMsg.is_show"
active-value=
"0"
inactive-value=
"1"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
class=
'w400'
label=
'是否为总公司'
prop=
"IsParentCompany"
>
<el-form-item
class=
'w400'
label=
'是否为总公司'
prop=
"IsParentCompany"
>
...
@@ -159,9 +159,9 @@
...
@@ -159,9 +159,9 @@
<el-form-item
class=
'w400'
label=
'部门初始层级'
prop=
"BeginTier"
>
<el-form-item
class=
'w400'
label=
'部门初始层级'
prop=
"BeginTier"
>
<el-input
type=
"text"
v-model=
"addMsg.BeginTier"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.BeginTier"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
class=
'w400'
label=
'负责人
'
prop=
"BranchManager"
>
<el-form-item
class=
'w400'
:label=
'$t("admin.admin_leader")
'
prop=
"BranchManager"
>
<el-select
filterable
clearable
v-model=
'addMsg.BranchManager'
placeholder=
"请选择
"
>
<el-select
filterable
clearable
v-model=
'addMsg.BranchManager'
:placeholder=
"$t('pub.pleaseSel')
"
>
<el-option
label=
'不限'
value=
'0'
></el-option>
<el-option
:label=
"$t('admin.unlimitedSel')"
value=
'0'
></el-option>
<el-option
v-for=
'item in employeeList'
:key=
"item.EmployeeId"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
<el-option
v-for=
'item in employeeList'
:key=
"item.EmployeeId"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -197,9 +197,9 @@
...
@@ -197,9 +197,9 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false,resetForm('addMsg')"
>
取 消
</button>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false,resetForm('addMsg')"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"submitForm('addMsg')"
>
保存
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"submitForm('addMsg')"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
</div>
</div>
</el-dialog>
</el-dialog>
...
@@ -221,10 +221,10 @@
...
@@ -221,10 +221,10 @@
return
{
return
{
options
:
[{
options
:
[{
value
:
'0'
,
value
:
'0'
,
label
:
'开启'
label
:
this
.
$t
(
'pub.openSel'
)
},
{
},
{
value
:
'1'
,
value
:
'1'
,
label
:
'关闭'
label
:
this
.
$t
(
'pub.closeSel'
)
}],
}],
ProvinceList
:[],
ProvinceList
:[],
CityList
:[],
CityList
:[],
...
...
src/components/scenicSpot/admissionStatistics.vue
View file @
f5bb4aa4
<
template
>
<
template
>
<div>
<div>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<ul>
<ul>
<!--
<li><span><em>
线路
</em>
<el-select
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(msg.LineId)"
>
<el-option
label=
"不限"
value=
'-1'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
</el-option>
</el-select>
</span>
</li>
-->
<li><span><em>
系列
</em>
<li><span><em>
系列
</em>
<el-select
v-model=
"msg.LineteamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
"msg.LineteamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
value=
'-1'
></el-option>
<el-option
label=
"不限"
value=
'-1'
></el-option>
<el-option
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
</el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<li>
<span>
<span>
<em>
团号
</em><el-input
v-model=
'msg.TCNUM'
></el-input>
<em>
团号
</em>
<el-input
v-model=
'msg.TCNUM'
></el-input>
</span>
</span>
</li>
</li>
<li><span><em>
日期
</em><el-date-picker
v-model=
'msg.StartDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<li><span><em>
日期
</em>
<el-date-picker
v-model=
'msg.StartDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
-
<el-date-picker
v-model=
'msg.EndDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.EndDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList();resetPageIndex()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList();resetPageIndex()"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -53,17 +39,20 @@
...
@@ -53,17 +39,20 @@
<th>
备注
</th>
<th>
备注
</th>
<th
class=
"w80"
>
操作
</th>
<th
class=
"w80"
>
操作
</th>
</tr>
</tr>
<tbody
v-for=
"(outItem,outindex) in list"
:class=
"
{admissionStatisticsSplitTrCss:outindex%2!=0}"
>
<tbody
v-for=
"(outItem,outindex) in list"
:class=
"
{admissionStatisticsSplitTrCss:outindex%2!=0}"
>
<template
v-for=
"(item,index) in outItem.StaticsReportList"
>
<template
v-for=
"(item,index) in outItem.StaticsReportList"
>
<tr>
<tr>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<div
style=
"max-width: 100px; min-width: 50px; "
>
{{
outindex
+
1
}}
</div>
<div
style=
"max-width: 100px; min-width: 50px; "
>
{{
outindex
+
1
}}
</div>
<div
v-if=
'outItem.StaticsReportList.length>1'
class=
"w100"
>
合团号:
{{
outItem
.
NewCombinationNum
}}
</div>
<div
v-if=
'outItem.StaticsReportList.length>0'
class=
"w100"
>
{{
outItem
.
NewCombinationNum
}}
</div>
</td>
</td>
<td><div
class=
"w80"
>
<td>
<div
class=
"w80"
>
{{
item
.
StartCityNames
}}
{{
item
.
StartCityNames
}}
</div></td>
</div>
<td><div
class=
"w80"
>
</td>
<td>
<div
class=
"w80"
>
{{
item
.
FlightDate
}}
{{
item
.
FlightDate
}}
<el-popover
popper-class=
"admissionStatistics_tripDetails"
width=
"550"
trigger=
"click"
>
<el-popover
popper-class=
"admissionStatistics_tripDetails"
width=
"550"
trigger=
"click"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
...
@@ -78,7 +67,8 @@
...
@@ -78,7 +67,8 @@
<td
class=
"_d_name _color_666"
>
<td
class=
"_d_name _color_666"
>
<span
v-if=
"din==0"
>
{{
$t
(
'Airticket.Air_go'
)
}}
</span>
<span
v-if=
"din==0"
>
{{
$t
(
'Airticket.Air_go'
)
}}
</span>
<span
v-else-if=
"din==item.FlightList.length-1"
>
{{
$t
(
'Airticket.Air_returnTrip'
)
}}
</span>
<span
v-else-if=
"din==item.FlightList.length-1"
>
{{
$t
(
'Airticket.Air_returnTrip'
)
}}
</span>
<span
v-else-if=
"din>0 && din!=item.FlightList.length-1"
>
{{
$t
(
'Airticket.Air_transit'
)
}}
</span>
<span
v-else-if=
"din>0 && din!=item.FlightList.length-1"
>
{{
$t
(
'Airticket.Air_transit'
)
}}
</span>
</td>
</td>
<td>
<td>
<div>
{{
ds
.
Flight_number
}}
</div>
<div>
{{
ds
.
Flight_number
}}
</div>
...
@@ -95,19 +85,28 @@
...
@@ -95,19 +85,28 @@
<td>
{{
ds
.
StopoverName
}}
</td>
<td>
{{
ds
.
StopoverName
}}
</td>
</tr>
</tr>
</table>
</table>
<el-button
slot=
"reference"
class=
"normalBtn mt5"
style=
'height:24px; padding: 0 10px; background: #2AAEF2; border-color: #2AAEF2;'
>
详情
</el-button>
<el-button
slot=
"reference"
class=
"normalBtn mt5"
style=
'height:24px; padding: 0 10px; background: #2AAEF2; border-color: #2AAEF2;'
>
详情
</el-button>
</el-popover>
</el-popover>
</div></td>
</div>
<td><div
class=
"w120 link"
>
</td>
<td>
<div
class=
"w120 link"
>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{
item
.
TCNUMS
}}
</p>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{
item
.
TCNUMS
}}
</p>
</div></td>
</div>
<td><div
class=
"w120 link"
>
</td>
<p
@
click=
"goUrlT('RegistrationList',item.TCIDS,'报名清单')"
>
{{
item
.
TotalSeat
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityYSeatNum
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityESeatNum
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityFSeatNum
}}
</p>
<td>
</div></td>
<div
class=
"w120 link"
>
<p
@
click=
"goUrlT('RegistrationList',item.TCIDS,'报名清单')"
>
{{
item
.
TotalSeat
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityYSeatNum
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityESeatNum
}}
/
{{
item
.
CommonReport
.
HouseStatistics
.
RealityFSeatNum
}}
</p>
</div>
</td>
<td
v-for=
"x in item.CommonReport.ScenicList"
style=
"vertical-align: top;"
>
<td
v-for=
"x in item.CommonReport.ScenicList"
style=
"vertical-align: top;"
>
<div
style=
"width: 100%;"
>
<div
style=
"width: 100%;"
>
<p
class=
"pDateStyle"
v-if=
"x.UseTimeStr"
>
{{
x
.
UseTimeStr
}}
</p>
<p
class=
"pDateStyle"
v-if=
"x.UseTimeStr"
>
{{
x
.
UseTimeStr
}}
</p>
<p
@
click=
"goUrlR('scenicSpotList',s.ID,'景区列表')"
class=
"pMsgStyle phoverStype"
v-for=
"s in x.ScenicStatisticsList"
>
{{
s
.
ScenicName
}}
</p>
<p
@
click=
"goUrlR('scenicSpotList',s.ID,'景区列表')"
class=
"pMsgStyle phoverStype"
v-for=
"s in x.ScenicStatisticsList"
>
{{
s
.
ScenicName
}}
</p>
</div>
</div>
</td>
</td>
<td>
<td>
...
@@ -118,7 +117,7 @@
...
@@ -118,7 +117,7 @@
<td>
<td>
<div
class=
"link"
>
<div
class=
"link"
>
<div
class=
"w80"
>
<div
class=
"w80"
>
<p
@
click=
"goUrl('admissionStatisticsDetails',i
tem,'门票详情')"
>
详情
</p>
<p
@
click=
"goUrl('admissionStatisticsDetails',item,outI
tem,'门票详情')"
>
详情
</p>
</div>
</div>
</div>
</div>
</td>
</td>
...
@@ -127,7 +126,8 @@
...
@@ -127,7 +126,8 @@
<td
:colspan=
"colspanTotal"
style=
"text-align: left!important;padding-left: 20px;"
>
<td
:colspan=
"colspanTotal"
style=
"text-align: left!important;padding-left: 20px;"
>
<div
class=
"link"
>
<div
class=
"link"
>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{
item
.
Titles
}}
</p>
<p
@
click=
"goUrlT('productQuery',item.TCNUMS,'产品查询')"
>
{{
item
.
Titles
}}
</p>
<div
v-show=
"outItem.StaticsReportList[0].DMCRemark!=''"
class=
"colorE95252"
>
地接备注:
{{
outItem
.
StaticsReportList
[
0
].
DMCRemark
}}
</div>
<div
v-show=
"outItem.StaticsReportList[0].DMCRemark!=''"
class=
"colorE95252"
>
地接备注:
{{
outItem
.
StaticsReportList
[
0
].
DMCRemark
}}
</div>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -135,35 +135,36 @@
...
@@ -135,35 +135,36 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
></el-pagination>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
></el-pagination>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
currentPage
:
1
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
SelectType
:
3
,
SelectType
:
3
,
LineId
:
14
,
LineId
:
14
,
LineteamId
:
"-1"
,
LineteamId
:
"-1"
,
StartDate
:
''
,
StartDate
:
''
,
EndDate
:
''
EndDate
:
''
},
},
LineList
:
[],
LineList
:
[],
LineTeamList
:
[],
LineTeamList
:
[],
thLengthTitle
:
[],
thLengthTitle
:
[],
list
:
[],
list
:
[],
colspanTotal
:
0
,
colspanTotal
:
0
,
}
}
},
},
methods
:
{
methods
:
{
stringToArr
(
str
)
{
stringToArr
(
str
)
{
return
str
.
split
(
','
)
return
str
.
split
(
','
)
},
},
getLineList
()
{
getLineList
()
{
...
@@ -179,8 +180,7 @@ export default {
...
@@ -179,8 +180,7 @@ export default {
getLineTeamList
(
lineId
)
{
getLineTeamList
(
lineId
)
{
this
.
LineTeamList
=
[];
this
.
LineTeamList
=
[];
this
.
apipost
(
this
.
apipost
(
"team_post_GetList"
,
"team_post_GetList"
,
{
{
lineID
:
14
,
lineID
:
14
,
isTOOP
:
1
isTOOP
:
1
},
},
...
@@ -192,16 +192,39 @@ export default {
...
@@ -192,16 +192,39 @@ export default {
}
}
);
);
},
},
goUrlR
(
path
,
obj
,
title
){
goUrlR
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:{
"ID"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
this
.
$router
.
push
({
name
:
path
,
query
:
{
"ID"
:
obj
,
blank
:
'y'
,
tab
:
title
}
})
},
},
goUrlT
(
path
,
obj
,
title
){
goUrlT
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
this
.
$router
.
push
({
name
:
path
,
query
:
{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}
})
},
},
goUrl
(
path
,
obj
,
title
){
goUrl
(
path
,
obj
,
outItem
,
title
)
{
console
.
log
(
obj
)
this
.
$router
.
push
({
// return
name
:
path
,
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
obj
.
TCIDS
,
'TCNUM'
:
obj
.
TCNUMS
,
'flightTotal'
:
obj
.
TotalSeat
,
'GuestNum'
:
obj
.
CommonReport
.
HouseStatistics
.
RealityNum
,
'NewCombinationNum'
:
obj
.
NewCombinationNum
,
blank
:
'y'
,
tab
:
title
}})
query
:
{
"id"
:
obj
.
TCIDS
,
'TCNUM'
:
obj
.
TCNUMS
,
'flightTotal'
:
obj
.
TotalSeat
,
'GuestNum'
:
obj
.
CommonReport
.
HouseStatistics
.
RealityNum
,
'NewCombinationNum'
:
outItem
.
NewCombinationNum
,
blank
:
'y'
,
tab
:
title
}
})
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
...
@@ -211,55 +234,36 @@ export default {
...
@@ -211,55 +234,36 @@ export default {
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
this
.
currentPage
=
1
;
},
},
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
this
.
apipost
(
'dmcstatistics_post_GetUniteCombinationNumService'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'dmcstatistics_post_GetUniteCombinationNumService'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
loading
=
false
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
this
.
total
=
res
.
data
.
data
.
count
this
.
list
=
res
.
data
.
data
.
pageData
.
data
this
.
list
=
res
.
data
.
data
.
pageData
.
data
;
this
.
thLengthTitle
=
[]
this
.
thLengthTitle
=
[]
this
.
colspanTotal
=
res
.
data
.
data
.
pageData
.
columnsCount
+
6
this
.
colspanTotal
=
res
.
data
.
data
.
pageData
.
columnsCount
+
6
for
(
let
i
=
1
;
i
<=
res
.
data
.
data
.
pageData
.
columnsCount
;
i
++
)
{
for
(
let
i
=
1
;
i
<=
res
.
data
.
data
.
pageData
.
columnsCount
;
i
++
)
{
this
.
thLengthTitle
.
push
(
'第'
+
i
+
'天'
)
this
.
thLengthTitle
.
push
(
'第'
+
i
+
'天'
)
}
}
// this.list.forEach(item=>{
this
.
list
.
forEach
(
outItem
=>
{
// console.log(item)
outItem
.
StaticsReportList
.
forEach
(
item
=>
{
// if(item.CommonReport.ScenicList.length
<
res
.
data
.
data
.
pageData
.
columnsCount
){
if
(
item
.
CommonReport
.
ScenicList
.
length
<
res
.
data
.
data
.
pageData
.
columnsCount
)
{
// let _cha=res.data.data.pageData.columnsCount-item.CommonReport.ScenicList.length
let
_cha
=
res
.
data
.
data
.
pageData
.
columnsCount
-
item
.
CommonReport
.
ScenicList
.
length
// let _chaArr=new Array()
let
_chaArr
=
new
Array
()
// for (let i=0;i
<
_cha
;
i
++
)
{
for
(
let
i
=
0
;
i
<
_cha
;
i
++
)
{
// _chaArr.push({'HotelName':''})
_chaArr
.
push
({
// }
'HotelName'
:
''
// item.CommonReport.ScenicList=item.CommonReport.ScenicList.concat(_chaArr)
})
// }else{
//
// }
// })
//
this
.
list
.
forEach
(
outItem
=>
{
outItem
.
StaticsReportList
.
forEach
(
item
=>
{
if
(
item
.
CommonReport
.
ScenicList
.
length
<
res
.
data
.
data
.
pageData
.
columnsCount
){
let
_cha
=
res
.
data
.
data
.
pageData
.
columnsCount
-
item
.
CommonReport
.
ScenicList
.
length
let
_chaArr
=
new
Array
()
for
(
let
i
=
0
;
i
<
_cha
;
i
++
)
{
_chaArr
.
push
({
'HotelName'
:
''
})
}
}
item
.
CommonReport
.
ScenicList
=
item
.
CommonReport
.
ScenicList
.
concat
(
_chaArr
)
item
.
CommonReport
.
ScenicList
=
item
.
CommonReport
.
ScenicList
.
concat
(
_chaArr
)
}
else
{
}
}
})
})
})
})
}
else
{
}
else
{
this
.
loading
=
false
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
}
}
},
err
=>
{})
},
err
=>
{})
},
},
},
},
mounted
()
{
mounted
()
{
...
@@ -273,28 +277,108 @@ export default {
...
@@ -273,28 +277,108 @@ export default {
this
.
msg
.
StartDate
=
nowDate
;
this
.
msg
.
StartDate
=
nowDate
;
this
.
getList
()
this
.
getList
()
},
},
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.admissionStatisticsSplitTrCss
td
{
background
:
#eee
!important
;}
.admissionStatisticsSplitTrCss
td
{
.admissionStatisticsTalbe
{
background
:
#ccc
;}
background
:
#eee
!important
;
.admissionStatisticsTalbe
tr
th
{
background
:
#E6E6E6
;
height
:
40px
;
font-size
:
12px
;
color
:
#333
;}
}
.admissionStatisticsTalbe
tr
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;}
.admissionStatisticsTalbe
tr
td
{
font-size
:
12px
;}
.admissionStatisticsTalbe
{
.admissionStatisticsTalbe
tr
td
.pHouseStyle
{
border-bottom
:
1px
solid
#ccc
;
height
:
20px
;
line-height
:
20px
;}
background
:
#ccc
;
.admissionStatisticsTalbe
tr
td
.pHouseStyle
:last-child
{
border-bottom
:
none
;}
}
.admissionStatisticsTalbe
tr
td
.pDateStyle
{
border-bottom
:
1px
solid
#ccc
;
height
:
20px
;
line-height
:
20px
;
margin-top
:
0
;}
.admissionStatisticsTalbe
tr
td
.pMsgStyle
{
padding
:
0
10px
;
line-height
:
20px
;}
.admissionStatisticsTalbe
tr
th
{
.admissionStatisticsTalbe
tr
td
.link
p
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;}
background
:
#E6E6E6
;
.admissionStatisticsTalbe
tr
td
.phoverStype
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;}
height
:
40px
;
.admissionStatistics_tripDetails
{
padding
:
0
;
box-shadow
:
0px
1px
3px
0px
#dedede
;
max-height
:
400px
;
overflow-y
:
auto
;}
font-size
:
12px
;
.admissionStatistics_tripDetails
.popper__arrow
::after
{
border-bottom-color
:
#ededed
!important
;}
color
:
#333
;
.admissionStatistics_tripDetails
table
{
padding
:
10px
0
0
20px
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;}
}
.admissionStatistics_tripDetails
table
th
{
background-color
:
#ededed
;
padding
:
5px
;}
.admissionStatistics_tripDetails
table
td
{
background-color
:
#ffffff
;
padding
:
9px
15px
;
color
:
#333333
;
border
:
1px
solid
#d2d2d2
;}
.admissionStatisticsTalbe
tr
{
.admissionStatistics_tripDetails
table
td
._d_name
{
background-color
:
#ededed
;}
background
:
#fff
;
.admissionStatistics_tripDetails
table
._color_666
{
color
:
#666666
;}
text-align
:
center
;
.admissionStatistics_tripDetails
table
tr
._color_666
th
{
padding
:
9px
15px
;}
height
:
40px
;
}
.admissionStatisticsTalbe
tr
td
{
font-size
:
12px
;
}
.admissionStatisticsTalbe
tr
td
.pHouseStyle
{
border-bottom
:
1px
solid
#ccc
;
height
:
20px
;
line-height
:
20px
;
}
.admissionStatisticsTalbe
tr
td
.pHouseStyle
:last-child
{
border-bottom
:
none
;
}
.admissionStatisticsTalbe
tr
td
.pDateStyle
{
border-bottom
:
1px
solid
#ccc
;
height
:
20px
;
line-height
:
20px
;
margin-top
:
0
;
}
.admissionStatisticsTalbe
tr
td
.pMsgStyle
{
padding
:
0
10px
;
line-height
:
20px
;
}
.admissionStatisticsTalbe
tr
td
.link
p
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
.admissionStatisticsTalbe
tr
td
.phoverStype
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
.admissionStatistics_tripDetails
{
padding
:
0
;
box-shadow
:
0px
1px
3px
0px
#dedede
;
max-height
:
400px
;
overflow-y
:
auto
;
}
.admissionStatistics_tripDetails
.popper__arrow
::after
{
border-bottom-color
:
#ededed
!important
;
}
.admissionStatistics_tripDetails
table
{
padding
:
10px
0
0
20px
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;
}
.admissionStatistics_tripDetails
table
th
{
background-color
:
#ededed
;
padding
:
5px
;
}
.admissionStatistics_tripDetails
table
td
{
background-color
:
#ffffff
;
padding
:
9px
15px
;
color
:
#333333
;
border
:
1px
solid
#d2d2d2
;
}
.admissionStatistics_tripDetails
table
td
._d_name
{
background-color
:
#ededed
;
}
.admissionStatistics_tripDetails
table
._color_666
{
color
:
#666666
;
}
.admissionStatistics_tripDetails
table
tr
._color_666
th
{
padding
:
9px
15px
;
}
</
style
>
</
style
>
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
f5bb4aa4
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"admissionStatisticsDetailsTalbe"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"admissionStatisticsDetailsTalbe"
>
<tr>
<tr>
<th
width=
"120"
>
公司团号
</th>
<th
width=
"120"
>
公司团号
</th>
<th
width=
"120"
>
定团号
</th>
<th
width=
"120"
>
游览时间
</th>
<th
width=
"120"
>
游览时间
</th>
<th
width=
"200"
>
景点名称
</th>
<th
width=
"200"
>
景点名称
</th>
<th
width=
"100"
>
总人数
</th>
<th
width=
"100"
>
总人数
</th>
...
@@ -34,9 +33,6 @@
...
@@ -34,9 +33,6 @@
<td
:rowspan=
"list.length"
v-if=
"index==0"
>
<td
:rowspan=
"list.length"
v-if=
"index==0"
>
<div
class=
"w120"
>
{{
TCNUM
}}
</div>
<div
class=
"w120"
>
{{
TCNUM
}}
</div>
</td>
</td>
<td
:rowspan=
"list.length"
v-if=
"index==0"
>
<div
class=
"w120"
>
{{
NewCombinationNum
}}
</div>
</td>
<td>
<td>
<div
class=
"w120"
>
<div
class=
"w120"
>
{{
item
.
UseTimeStr
}}
{{
item
.
UseTimeStr
}}
...
@@ -158,7 +154,6 @@
...
@@ -158,7 +154,6 @@
TCNUM
:
''
,
TCNUM
:
''
,
flightTotal
:
0
,
flightTotal
:
0
,
GuestNum
:
0
,
GuestNum
:
0
,
NewCombinationNum
:
''
}
}
},
},
methods
:
{
methods
:
{
...
@@ -197,6 +192,9 @@
...
@@ -197,6 +192,9 @@
item
.
ScenicStatisticsList
.
forEach
(
x
=>
{
item
.
ScenicStatisticsList
.
forEach
(
x
=>
{
x
.
PayStyle
=
x
.
PayStyle
.
toString
();
x
.
PayStyle
=
x
.
PayStyle
.
toString
();
this
.
calculationPrice
(
x
);
this
.
calculationPrice
(
x
);
if
(
x
.
CombinationNum
==
''
||
x
.
CombinationNum
==
null
){
x
.
CombinationNum
=
this
.
$route
.
query
.
NewCombinationNum
;
}
})
})
})
})
}
else
{
}
else
{
...
@@ -232,7 +230,6 @@
...
@@ -232,7 +230,6 @@
this
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
this
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
this
.
flightTotal
=
this
.
$route
.
query
.
flightTotal
;
this
.
flightTotal
=
this
.
$route
.
query
.
flightTotal
;
this
.
GuestNum
=
this
.
$route
.
query
.
GuestNum
;
this
.
GuestNum
=
this
.
$route
.
query
.
GuestNum
;
this
.
NewCombinationNum
=
this
.
$route
.
query
.
NewCombinationNum
;
this
.
getList
()
this
.
getList
()
},
},
}
}
...
...
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