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
fad05ef9
Commit
fad05ef9
authored
Jun 18, 2019
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
36d63f88
0ac43404
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
129 additions
and
483 deletions
+129
-483
summaryLogin.css
src/assets/css/summaryLogin.css
+1
-1
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+7
-7
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+11
-4
TeamRevenueReport.vue
...mponents/FinancialModule/ReportForm/TeamRevenueReport.vue
+20
-2
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+73
-42
roomQuery2.vue
src/components/Supplier/roomQuery2.vue
+14
-427
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+3
-0
No files found.
src/assets/css/summaryLogin.css
View file @
fad05ef9
...
...
@@ -45,7 +45,7 @@
font-size
:
18px
;
color
:
#333333
;
}
.Summary_login_Div
.icon-login-name
,
.icon-login-password
{
.Summary_login_Div
.icon-login-name
,
.Summary_login_Div
.icon-login-password
{
width
:
16px
;
height
:
15px
;
display
:
inline-block
;
...
...
src/components/FinancialModule/BasicDocuments.vue
View file @
fad05ef9
...
...
@@ -271,6 +271,8 @@
background-color
:
white
;
padding
:
15px
;
border
:
1px
solid
#e0e0e0
;
max-height
:
400px
;
overflow
:
auto
;
}
.page_bdm
.chongdi_list
em
{
font-size
:
14px
;
...
...
@@ -591,7 +593,7 @@
<span
v-else
class=
"yixuanze_money"
>
已选择金额:{{ChongDiMoney}}
</span>
</div>
<div
v-if=
"shifouChongDi"
class=
"chongdi_list"
>
<
!-- <
div>
<div>
<em>
发团时间:
</em>
<el-date-picker
class=
"h34"
@
change=
"timeAdd(1)"
...
...
@@ -600,7 +602,7 @@
value-format=
"yyyy-MM-dd"
range-separator=
"-"
>
</el-date-picker>
</div>
-->
</div>
<div
class=
"_kehu"
>
<em>
{{$t('fnc.khleixing')}}:
</em>
<el-select
filterable
v-model=
'ChongDiMsg.ClientType'
:placeholder=
"$t('fnc.khleixing')"
@
change=
"financeinfo_post_GetClientAccountList(ChongDiMsg.ClientType, '1')"
class=
"w135 _border_b_1"
>
...
...
@@ -902,7 +904,7 @@
<span
v-else
class=
"yixuanze_money"
>
已选择金额:{{ChongDiMoney}}
</span>
</div>
<div
v-if=
"shifouChongDi"
class=
"chongdi_list"
>
<
!-- <
div>
<div>
<em>
发团时间:
</em>
<el-date-picker
class=
"h34"
@
change=
"timeAdd(1)"
...
...
@@ -911,7 +913,7 @@
value-format=
"yyyy-MM-dd"
range-separator=
"-"
>
</el-date-picker>
</div>
-->
</div>
<div
class=
"_kehu"
>
<em>
{{$t('fnc.khleixing')}}:
</em>
<el-select
filterable
v-model=
'ChongDiMsg.ClientType'
:placeholder=
"$t('fnc.khleixing')"
@
change=
"financeinfo_post_GetClientAccountList(ChongDiMsg.ClientType, '1')"
class=
"w135 _border_b_1"
>
...
...
@@ -1470,7 +1472,6 @@ export default {
methods
:{
// 单选计算
checkdIteam
(
item
){
console
.
log
(
item
.
checked
)
if
(
item
.
checked
)
{
if
(
item
.
HangingAccountsTypeStr
===
'收'
)
{
this
.
ChongDiMoney
+=
item
.
Money
...
...
@@ -1514,7 +1515,6 @@ export default {
this
.
apipost
(
'Financial_post_GetHangingAccountList'
,
this
.
ChongDiMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
console
.
log
(
data
)
data
.
map
(
item
=>
{
item
.
checked
=
false
})
...
...
@@ -1623,7 +1623,7 @@ export default {
let
allMoney
=
0
this
.
payMsgList
.
forEach
(
x
=>
{
allMoney
+=
x
.
allMoney
;
//
x.allMoney=(Math.round(x.allMoney * 100)) / 100;
x
.
allMoney
=
(
Math
.
round
(
x
.
allMoney
*
100
))
/
100
;
})
if
(
allMoney
.
toString
().
split
(
"."
)[
1
]){
let
num
=
allMoney
.
toString
().
split
(
"."
)[
1
].
length
;
...
...
src/components/FinancialModule/RecPayQuery.vue
View file @
fad05ef9
...
...
@@ -842,6 +842,14 @@ export default {
if
(
this
.
$route
.
query
.
Type
){
this
.
msg
.
Type
=
this
.
$route
.
query
.
Type
+
''
;
}
if
(
this
.
$route
.
query
.
rec
){
this
.
msg
.
AccountType
=
15
;
this
.
msg
.
TradeWay
=
4
;
this
.
getAccountList
(
this
.
msg
.
AccountType
,
this
.
msg
.
TradeWay
)
this
.
msg
.
BankID
=
14
;
this
.
transactionDate
[
0
]
=
this
.
$route
.
query
.
StartDate
;
this
.
transactionDate
[
1
]
=
this
.
$route
.
query
.
StartDate
;
}
},
components
:
{
"my-Bill"
:
myBill
,
"my-RVB-Bill"
:
myrbvBill
,
...
...
@@ -949,7 +957,7 @@ export default {
this
.
$message
.
error
(
res
.
data
.
message
);
}
// this.msg.TCID= this.msg.TCID==0?this.msg.TCID:'';
this
.
queryInfoInit
();
//
this.queryInfoInit();
this
.
currentPage
=
parseInt
(
this
.
msg
.
pageIndex
);
},
err
=>
{})
},
...
...
@@ -1049,7 +1057,6 @@ export default {
},
getAccountList
(
i
,
t
){
//收款账户
let
accountList
=
[];
this
.
msg
.
BankID
=
""
;
if
(
t
==
1
){
// 银行
this
.
apipost
(
'bankaccount_post_GetList'
,{
TypeId
:
i
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/components/FinancialModule/ReportForm/TeamRevenueReport.vue
View file @
fad05ef9
...
...
@@ -614,6 +614,7 @@ tr._item_list td:last-child {
</div>
</
template
>
<
script
>
import
moment
from
'moment'
import
Vue
from
"vue"
;
import
XLSX
from
"xlsx"
;
import
downloadExcelEasy
from
"../../../assets/utils/downloadExcelEasy"
;
...
...
@@ -663,8 +664,8 @@ Vue.component("TCNUMJump", {
<span style="cursor: pointer" v-if="rowData.DataType===2" @click="goUrlExtend('individualTicket',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===6">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===7">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===6"
@click="goRec('RecPayQuery',rowData)"
>{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===7"
@click="goRec('RecPayQuery',rowData)"
>{{rowData.TCNUM}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -678,6 +679,23 @@ Vue.component("TCNUMJump", {
}
},
methods
:
{
goRec
(
path
,
rowData
){
let
BankID
=
""
;
let
StartDate
=
""
;
if
(
rowData
.
DataType
===
6
){
BankID
=
14
;
}
if
(
rowData
.
DataType
===
7
){
BankID
=
15
;
}
if
(
rowData
.
TCNUM
.
indexOf
(
'JAP'
)
!=-
1
||
rowData
.
TCNUM
.
indexOf
(
'LAO'
)
!=-
1
){
StartDate
=
moment
(
rowData
.
StartDate
).
format
(
"YYYY-MM-DD"
);
}
this
.
$router
.
push
({
path
:
"/"
+
path
,
query
:
{
'rec'
:
'rec'
,
'StartDate'
:
StartDate
,
"BankID"
:
BankID
,
blank
:
"y"
}
});
},
goUrl
(
path
,
id
)
{
this
.
$router
.
push
({
path
:
"/"
+
path
,
...
...
src/components/SalesModule/addPassenger.vue
View file @
fad05ef9
...
...
@@ -1860,9 +1860,10 @@
let
OrderId
=
this
.
addMsg
.
OrderId
;
let
IsBed
=
this
.
addMsg
.
IsBed
;
let
Sex
=
this
.
addMsg
.
Sex
;
if
(
Sex
==
1
||
Sex
==
2
)
{
this
.
apipost
(
"sellorder_post_GetHouseDetailsByOrderID"
,
{
TCIDs
:
TCIDs
,
OrderId
:
OrderId
,
Sex
:
Sex
,
IsBed
:
IsBed
},
{
TCIDs
:
TCIDs
,
OrderId
:
OrderId
,
Sex
:
Sex
,
IsBed
:
IsBed
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
roomlist
=
res
.
data
.
data
;
...
...
@@ -1870,8 +1871,10 @@
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
err
=>
{
}
);
}
},
getHouselist
(
Sex
,
TCID
,
OrderId
,
IsBed
){
if
(
Sex
==
1
||
Sex
==
2
){
...
...
@@ -1887,14 +1890,17 @@
},
err
=>
{}
);
}
else
{
this
.
$message
.
error
(
'请选择性别'
);
}
},
addhouse
(){
let
orderId
=
this
.
addMsg
.
OrderId
;
let
sex
=
this
.
addMsg
.
Sex
;
if
(
sex
==
1
||
sex
==
2
)
{
this
.
apipost
(
"sellorder_get_BatchSetOrderHouse_V2"
,
{
orderId
:
orderId
,
sex
:
sex
,},
{
orderId
:
orderId
,
sex
:
sex
,},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Roominformation
()
...
...
@@ -1902,32 +1908,56 @@
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
err
=>
{
}
);
}
},
authentication
()
{
let
IdCard
=
this
.
addMsg
.
IdCard
;
if
(
this
.
$route
.
query
.
guestId
==
0
)
{
if
(
IdCard
.
length
==
18
){
this
.
apipost
(
"sellorder_post_GetGusetByIDCard"
,
{
IdCard
:
this
.
addMsg
.
IdCard
,},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
obj
=
res
.
data
.
data
;
this
.
addMsg
=
obj
;
this
.
addMsg
.
SurName
=
obj
.
SurName
;
this
.
addMsg
.
Name
=
obj
.
Name
;
this
.
addMsg
.
ESurName
=
obj
.
ESurName
;
this
.
addMsg
.
EName
=
obj
.
EName
;
this
.
addMsg
.
Sex
=
obj
.
Sex
.
toString
();
this
.
addMsg
.
MobilePhone
=
obj
.
MobilePhone
;
this
.
addMsg
.
Birthday
=
obj
.
Birthday
;
this
.
addMsg
.
BirthdayAddress
=
obj
.
BirthdayAddress
;
this
.
addMsg
.
PassportNo
=
obj
.
PassportNo
;
this
.
addMsg
.
PassportAddress
=
obj
.
PassportAddress
;
this
.
addMsg
.
PassportIssued
=
obj
.
PassportIssued
;
this
.
addMsg
.
PassportExpiry
=
obj
.
PassportExpiry
;
this
.
addMsg
.
Nationality
=
obj
.
Nationality
;
this
.
addMsg
.
Marriage
=
obj
.
Marriage
.
toString
();
if
(
this
.
addMsg
.
Marriage
==
"0"
)
{
this
.
addMsg
.
Marriage
=
""
;
}
this
.
addMsg
.
IsCriminalRecord
=
obj
.
IsCriminalRecord
===
null
?
''
:
obj
.
IsCriminalRecord
.
toString
();
this
.
addMsg
.
IsDepartureRecord
=
obj
.
IsDepartureRecord
.
toString
();
this
.
addMsg
.
Address
=
obj
.
Address
;
this
.
addMsg
.
AddressDetail
=
obj
.
AddressDetail
;
this
.
addMsg
.
IdentityType
=
obj
.
IdentityType
;
this
.
addMsg
.
HistoryRecord
=
obj
.
HistoryRecord
;
this
.
addMsg
.
Duty
=
obj
.
Duty
;
this
.
addMsg
.
Remarks
=
obj
.
Remarks
;
this
.
addMsg
.
IsHightSchool
=
obj
.
IsHightSchool
;
this
.
addMsg
.
IsRecommend
=
obj
.
IsRecommend
;
this
.
addMsg
.
Id
=
this
.
$route
.
query
.
guestId
;
this
.
addMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
addMsg
.
OrderId
=
this
.
$route
.
query
.
orderId
;
this
.
Roominformation
()
//调取下房间信息
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
//
this.$message.error(res.data.message);
}
},
err
=>
{
...
...
@@ -1935,6 +1965,7 @@
);
}
}
}
},
mounted
()
{
this
.
getCountry
();
...
...
src/components/Supplier/roomQuery2.vue
View file @
fad05ef9
...
...
@@ -2,12 +2,13 @@
<div
class=
"roomQuery"
>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<ul
style=
"position:relative;"
>
<li>
<span>
<em>
月份
</em>
<el-date-picker
v-model=
"msg.MonthStr"
type=
"monthrange"
range-separator=
"至"
start-placeholder=
"开始月份"
end-placeholder=
"结束月份"
>
<el-date-picker
v-model=
"msg.Month"
type=
"month"
placeholder=
"选择月"
>
</el-date-picker>
</span>
</li>
...
...
@@ -38,191 +39,10 @@
<th
width=
"100"
>
酒店使用情况
</th>
<th
width=
"100"
>
操作
</th>
</tr>
<tr
v-if=
"dataList.length==0"
>
<td
colspan=
"9"
>
暂无数据
</td>
</tr>
<template
v-for=
"(item,index) in dataList"
>
<template
v-for=
"(subItem,subIndex) in item.subList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.hotelList"
:class=
"
{roomQuerySplitTrCss:index%2!=0}">
<td
v-if=
"childIndex==0&&subIndex==0"
:rowspan=
"item.RowSpan"
>
{{
item
.
NewCombinationNum
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.hotelList.length"
>
{{
subItem
.
StartCityNames
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.hotelList.length"
>
{{
subItem
.
TCNUMS
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.SupplierRemarks!=''?subItem.hotelList.length+1:subItem.hotelList.length"
>
<span
v-if=
"subItem.TCState==3&&subItem.Status==1"
>
正常
</span>
<span
v-else
>
取消
</span>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.hotelList.length"
>
{{
subItem
.
LineteamIdNames
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.hotelList.length"
>
{{
subItem
.
TotalSeat
}}
/
{{
subItem
.
RealityYSeatNum
}}
/
{{
subItem
.
RealityESeatNum
}}
/
{{
subItem
.
RealityFSeatNum
}}
</td>
<td>
{{
childItem
.
CheckInDateStr
}}
</td>
<td
class=
"tdLeft"
>
<template
v-if=
"childItem.SupplierId==UserInfo.SupplierId"
>
<template
v-if=
"childItem.SupplierHotelStatus==0"
>
{{
childItem
.
NewHotelName
}}
</
template
>
<
template
v-else-if=
"childItem.SupplierHotelStatus==1"
>
<a
style=
"color:#7abd53"
>
{{
childItem
.
NewHotelName
}}
</a></
template
>
<
template
v-else-if=
"childItem.SupplierHotelStatus==2"
>
<a
style=
"color:blue"
>
{{
childItem
.
NewHotelName
}}
</a>
</
template
>
(
<
template
v-if=
"subItem.TotalSeat/2!=childItem.SupplierBookNum"
>
<a
style=
"font-weight:bold; color:red;"
title=
"总机位数和预订间数不相符"
>
{{
childItem
.
SupplierBookNum
}}
</a>
</
template
>
<
template
v-else
>
<a
style=
"font-weight:bold;"
>
{{
childItem
.
SupplierBookNum
}}
</a>
</
template
>
间)
</template>
<
template
v-else
>
组团社自理
</
template
>
</td>
<td>
<!--<span >
<template v-if="childItem.SupplierId==UserInfo.SupplierId">
<template v-if="childItem.OPState==1">[OP选房-OK]</template>
<template v-else-if="childItem.OPState==2&&childItem.DMCState==0">[OP-暂定]</template>
<template
v-else>{{childItem.DMCState==1?"[地接-OK]":(childItem.DMCState==0?"[地接-未操作]":"[地接-暂定]")}}</template>
</template>
</span>
-->
<
template
v-if=
"childItem.SupplierId==UserInfo.SupplierId"
>
<template
v-if=
"childItem.SupplierHotelStatus==0"
>
未操作
</
template
>
<
template
v-else-if=
"childItem.SupplierHotelStatus==1"
><a
style=
"color:#7abd53"
>
操作中
</a></
template
>
<
template
v-else-if=
"childItem.SupplierHotelStatus==2"
><a
style=
"color:blue"
>
操作完成
</a></
template
>
</template>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.SupplierRemarks!=''?subItem.hotelList.length+1:subItem.hotelList.length"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"操作信息"
placement=
"top-start"
>
<el-popover
placement=
"bottom"
width=
"500"
trigger=
"click"
>
<table>
<tr>
<th
width=
"90"
>
时间
</th>
<th
width=
"160"
>
酒店
</th>
<th
width=
"100"
>
数量
</th>
<th
width=
"100"
>
状态
</th>
</tr>
<tr
v-for=
"opItem in CurrentHotelList"
>
<
template
v-if=
"opItem.SupplierId==UserInfo.SupplierId"
>
<td>
{{
opItem
.
CheckInDateStr
}}
</td>
<td
style=
"padding-right:10px;"
>
{{
opItem
.
NewHotelName
}}
</td>
<td>
<el-input
style=
"width:60px;"
v-model=
'opItem.SupplierBookNum'
type=
'text'
placeholder=
"预订数量"
>
</el-input>
间
</td>
<td>
<el-select
v-model=
"opItem.SupplierHotelStatus"
filterable
class=
"multiple_input"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'未操作'
:value=
'0'
:key=
'0'
>
</el-option>
<el-option
label=
'操作中'
:value=
'1'
:key=
'1'
>
</el-option>
<el-option
label=
'操作完成'
:value=
'2'
:key=
'2'
>
</el-option>
</el-select>
</td>
</
template
>
</tr>
</table>
<p
class=
"alcenter mt10"
>
<input
type=
"button"
value=
"保存"
@
click=
"SaveSupplierData(CurrentHotelList)"
class=
"normalBtn"
/>
</p>
<a
style=
"text-decoration:underline;color:blue;cursor:pointer"
slot=
"reference"
@
click=
"GetItemHotelData(subItem.hotelList)"
>
操作
</a>
</el-popover>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"日志信息"
placement=
"top-start"
>
<el-popover
placement=
"bottom"
width=
"500"
trigger=
"click"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"queryLogTable"
style=
" border-collapse:collapse;"
>
<tr>
<th
width=
"100"
style=
"background: #e6e6e6; height: 35px; font-size: 12px;color: #333;text-align:center;border:1px solid #d1d1d1;"
>
操作人
</th>
<th
width=
"100"
style=
"background: #e6e6e6; height: 35px; font-size: 12px;color: #333;text-align:center;border:1px solid #d1d1d1;"
>
日期
</th>
<th
width=
"100"
style=
"background: #e6e6e6; height: 35px; font-size: 12px;color: #333;text-align:center;border:1px solid #d1d1d1;"
>
操作时间
</th>
<th
width=
"190"
style=
"background: #e6e6e6; height: 35px; font-size: 12px;color: #333;text-align:center;border:1px solid #d1d1d1;"
>
内容
</th>
</tr>
<
template
v-if=
"LogsList.length>0"
>
<tr
v-for=
"(item,index) in LogsList"
>
<td
style=
"height: 35px; font-size: 12px;text-align:center;border:1px solid #d1d1d1;"
>
{{
item
.
CreateByName
}}
</td>
<td
style=
"height: 35px; font-size: 12px;text-align:center;border:1px solid #d1d1d1;"
>
{{
item
.
UseTimeStr
}}
</td>
<td
style=
"height: 35px; font-size: 12px;text-align:center;border:1px solid #d1d1d1;"
>
{{
item
.
CreateTimeStr
}}
</td>
<td
style=
"height: 35px; font-size: 12px;text-align:left;border:1px solid #d1d1d1;"
>
{{
item
.
Remarks
}}
</td>
</tr>
</
template
>
<tr
v-else
>
<td
colspan=
"5"
>
暂无数据...
</td>
</tr>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange2"
:current-page
.
sync=
"queryLogMsg.currentPage"
:page-size=
"queryLogMsg.pageSize"
layout=
"total,prev, pager, next, jumper"
:total=
"queryLogMsg.total"
>
</el-pagination>
<a
style=
"text-decoration:underline;color:blue;cursor:pointer"
slot=
"reference"
@
click=
"getLogsList(subItem.TCID)"
>
日志
</a>
</el-popover>
</el-tooltip>
<a
style=
"text-decoration:underline;color:blue;cursor:pointer"
@
click=
"AddSupplierComplain(subItem.Complain_Extend.Id,subItem.Complain_Extend.TCID)"
>
<
template
v-if=
"subItem.Complain_Extend.Id>0"
>
编辑投诉
</
template
>
<
template
v-else
>
添加投诉
</
template
>
</a>
<a
style=
"text-decoration:underline;color:red;cursor:pointer"
v-if=
"subItem.Complain_Extend.Id>0"
@
click=
"DeleteSupplierComplain(subItem.Complain_Extend.Id)"
>
删除
</a>
</td>
</tr>
<
template
v-if=
"subItem.SupplierRemarks"
>
<tr
v-if=
"subIndex==0"
:class=
"
{roomQuerySplitTrCss:index%2!=0}">
<td
colspan=
"9"
class=
"redTip"
>
<p>
备注:
{{
subItem
.
SupplierRemarks
}}
</p>
</td>
</tr>
</
template
>
</template>
</template>
</table>
</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>
</
template
>
<
script
>
...
...
@@ -230,7 +50,6 @@
data
()
{
return
{
loading
:
false
,
currentPage
:
1
,
total
:
0
,
msg
:
{
pageIndex
:
1
,
...
...
@@ -253,7 +72,7 @@
TCNUM
:
''
,
PriceStatus
:
0
,
CombinationNum
:
''
,
Month
Str
:
""
//月份字符串
Month
:
""
//月份字符串
},
UserInfo
:
{},
//分公司类表
...
...
@@ -286,29 +105,10 @@
},
//当前酒店列表
CurrentHotelList
:
[],
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
msg
.
EndDate
==
null
)
{
return
false
;
}
else
{
let
endTime
=
new
Date
(
this
.
msg
.
EndDate
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
}
},
pickerBeginDateAfter
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
msg
.
StartDate
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
}
}
},
methods
:
{
handleCurrentChange2
(
val
)
{
this
.
queryLogMsg
.
pageIndex
=
val
;
this
.
getLogsList
();
},
//获取日志
getLogsList
(
TCID
)
{
if
(
TCID
)
{
...
...
@@ -321,147 +121,19 @@
}
},
err
=>
{})
},
GetItemHotelData
(
hotelList
)
{
this
.
CurrentHotelList
=
JSON
.
parse
(
JSON
.
stringify
(
hotelList
));
},
//删除投诉
DeleteSupplierComplain
(
Id
)
{
if
(
Id
>
0
)
{
var
that
=
this
;
this
.
Confirm
(
"是否此投诉信息删除?"
,
function
()
{
var
msg
=
{
Id
:
Id
};
that
.
ApiPost2
(
"supplierComplain_Post_RemoveSupplierComplain"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'删除成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
});
}
},
getLineList
()
{
this
.
ApiPost2
(
"line_post_GetAllList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
}
});
},
//获取系列列表
getLineTeamList
(
lineId
)
{
this
.
LineTeamList
=
[];
this
.
ApiPost2
(
"team_post_GetList"
,
{
lineID
:
14
,
isTOOP
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
msg
.
LineteamId
=
"-1"
;
this
.
LineTeamList
=
res
.
data
.
data
;
}
}
);
},
AddSupplierComplain
(
id
,
tcid
)
{
this
.
$router
.
push
({
name
:
'AddSupplierComplaints'
,
query
:
{
Id
:
id
,
TCID
:
tcid
,
blank
:
'y'
,
tab
:
'供应商投诉'
}
})
},
goUrlR
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
"ID"
:
obj
,
blank
:
'y'
,
tab
:
title
}
})
},
goUrlT
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
"id"
:
obj
,
blank
:
'y'
,
tab
:
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'
:
outItem
.
NewCombinationNum
,
blank
:
'y'
,
tab
:
title
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
getList
()
{
this
.
loading
=
true
;
this
.
ApiPost2
(
'dmcstatistics_post_GetUniteCombinationNumService_Supplier'
,
this
.
msg
,
res
=>
{
this
.
ApiPost2
(
'dmcstatistics_post_GetUniteCombinationNumService_Supplier
_V2
'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
console
.
log
(
res
.
data
);
// this.total = res.data.data.count;
// this.dataList = res.data.data.pageData;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
err
=>
{})
},
//获取酒店列表
GetHotelList
()
{
this
.
ApiPost2
(
"hotel_post_GetHasStockHotelList_Supplier"
,
{
Country
:
651
,
IsMoreThanZero
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
HotelList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
//保存酒店新
SaveSupplierData
(
hotelList
)
{
this
.
ApiPost2
(
"dmcstatistics_post_SetNewHotelOrder_Supplier"
,
hotelList
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"操作成功!"
);
this
.
getList
();
}
else
{
this
.
Error
(
"操作失败!"
);
}
},
err
=>
{}
);
},
//下载Excel
DownLoadHotel
()
{
this
.
loading
=
true
;
...
...
@@ -476,86 +148,6 @@
this
.
loading
=
false
;
});
},
//获取目的地列表
getLinePlaceList
()
{
this
.
msg
.
PlaceID
=
0
;
this
.
msg
.
LineteamId
=
0
;
let
msg
=
{
lineID
:
this
.
msg
.
LineId
,
}
this
.
ApiPost2
(
'team_post_GetLinePlace'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
PlaceList
=
res
.
data
.
data
this
.
queryCommonData
.
LineTeamList
=
[]
}
})
},
//获取系列列表
getLineTeamList
()
{
this
.
msg
.
LineteamId
=
0
let
msg
=
{
lineID
:
this
.
msg
.
LineId
,
placeID
:
this
.
msg
.
PlaceID
,
isTOOP
:
1
}
this
.
ApiPost2
(
'team_post_GetList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
}
})
},
//获取航空公司
getAirlineList
()
{
this
.
ApiPost2
(
'airline_post_GetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
AirlineList
=
res
.
data
.
data
}
},
err
=>
{}
)
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
BranchId
:
'-1'
,
DepartmentId
:
'-1'
,
PostId
:
'-1'
,
IsLeave
:
'0'
}
this
.
ApiPost2
(
'admin_get_EmployeeGetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
EmployeeList
=
res
.
data
.
data
}
},
err
=>
{}
)
},
//初始化公司
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
()
var
RB_Group_id
=
userInfo
.
RB_Group_id
let
msg
=
{
Status
:
0
,
is_show
:
0
,
RB_Group_Id
:
RB_Group_id
}
this
.
ApiPost2
(
'admin_get_BranchGetList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
BranchList
=
res
.
data
.
data
;
}
},
err
=>
{}
)
},
},
mounted
()
{
this
.
UserInfo
=
this
.
getLocalStorageSupplier
();
...
...
@@ -577,11 +169,6 @@
}
else
{
this
.
msg
.
StartDate
=
nowDate
;
}
this
.
getLinePlaceList
();
this
.
getAirlineList
();
this
.
getEmployeeList
();
this
.
getCompanyList
();
this
.
GetHotelList
();
this
.
getList
();
},
}
...
...
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
fad05ef9
...
...
@@ -84,6 +84,9 @@
<td>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
设置
</span>
<span
v-else
>
{{
childItem
.
PeoplePrice
}}
</span>
</td>
<td>
{{
(
childItem
.
UsePeopleNum
-
childItem
.
Discount
)
*
childItem
.
PeoplePrice
}}
...
...
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