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
7580016a
Commit
7580016a
authored
Sep 21, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cedd8cf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
57 deletions
+41
-57
CouponList.vue
src/components/activity/CouponList.vue
+41
-57
No files found.
src/components/activity/CouponList.vue
View file @
7580016a
...
...
@@ -306,7 +306,7 @@
@
change=
"getcouponPriceList"
>
<el-option
v-for=
"(item,index) in queryCommonData.dataList"
:label=
"item.
LineName+item.LtName
"
:value=
"item.TCID"
:key=
"index"
></el-option>
:label=
"item.
TCNUM+'('+item.TCID+')'
"
:value=
"item.TCID"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -403,52 +403,28 @@
tripDataList
:
[],
//查询团参数
queryMsg
:
{
QOutGroupAuditReject
:
0
,
//只查看审核驳回 1
QSendCommissionState
:
0
,
//提成状态 0不限, 1已发放, 2未发放
//出团公司集合
OutBranchIds
:
[],
pageIndex
:
1
,
pageSize
:
50
,
LineId
:
0
,
PlaceID
:
0
,
LineIdList
:
[],
LineteamId
:
0
,
TCNUM
:
""
,
StartGroupDate
:
""
,
EndGroupDate
:
""
,
OutBranchId
:
-
1
,
AirTicketId
:
0
,
TeamMinNum
:
""
,
TeamMaxNum
:
""
,
CreateBy
:
0
,
ApplyMinNum
:
""
,
ApplyMaxNum
:
""
,
DayNum
:
""
,
OnlyShowOverTeam
:
false
,
TCState
:
[
1
,
3
],
//去掉默认显示
GroupState
:
[],
SalePlat
:
[],
UnionCityId
:
0
,
SaleBranchId
:
[],
total
:
0
,
//是否有数据
noData
:
false
,
currentPage
:
1
,
//航班配置
FlightState
:
0
,
//预警团
IsWarning
:
false
,
WarningQuery
:
"-1"
,
RateOnDay
:
"-1"
,
RateOn
:
"-1"
,
TeamType
:
0
,
//一般常规团
IsShowUnion
:
-
1
,
TCID
:
""
,
HotelId
:
0
,
//酒店编号
HotelUseTime
:
""
,
//酒店使用时间
QBusNumber
:
""
,
PriceTeamType
:
""
,
//团队类型
Title
:
""
,
//团名
pageSize
:
50
,
LineId
:
"-1"
,
LineTeamId
:
"-1"
,
AimPlaceId
:
"-1"
,
TCID
:
""
,
StartTime
:
""
,
EndTime
:
""
,
BranchId
:
"-1"
,
CityId
:
"-1"
,
DaysTrip
:
""
,
SalePlat
:
[],
minGroupSize
:
""
,
maxGroupSize
:
""
,
minApplySize
:
""
,
maxApplySize
:
""
,
FlightID
:
"-1"
,
TCIDList
:
""
,
WarningQuery
:
"-1"
,
RateOnDay
:
"-1"
,
RateOn
:
"-1"
,
Title
:
""
,
//团名
},
leaveBtn
:
""
,
...
...
@@ -585,28 +561,35 @@
methods
:
{
getcouponPriceList
(){
console
.
log
(
"getcouponPriceList进来了"
);
this
.
addMsg
.
couponPriceList
=
[]
this
.
addMsg
.
couponPriceLists
.
forEach
(
item
=>
{
let
obj
=
{
TCID
:
item
}
this
.
addMsg
.
couponPriceList
.
push
(
obj
)
this
.
queryCommonData
.
dataList
.
forEach
(
dataItem
=>
{
if
(
item
==
dataItem
.
TCID
)
{
let
obj
=
{
TCID
:
dataItem
.
TCID
,
TCNUM
:
dataItem
.
TCNUM
}
this
.
addMsg
.
couponPriceList
.
push
(
obj
)
}
});
})
console
.
log
(
"getcouponPriceList结束了"
,
this
.
addMsg
.
couponPriceList
);
},
getTravelPrciePageList
(){
console
.
log
(
"getTravelPrciePageList111"
,
this
.
addMsg
);
this
.
queryCommonData
.
loading
=
true
;
this
.
queryMsg
.
LineId
=
this
.
addMsg
.
lineId
this
.
queryMsg
.
LineteamId
=
this
.
addMsg
.
lineteamId
this
.
queryMsg
.
StartGroupDate
=
this
.
addMsg
.
effectDate
this
.
queryMsg
.
EndGroupDate
=
this
.
addMsg
.
expirationDate
this
.
queryMsg
.
LineTeamId
=
this
.
addMsg
.
lineteamId
this
.
queryMsg
.
StartTime
=
this
.
addMsg
.
effectDate
this
.
queryMsg
.
EndTime
=
this
.
addMsg
.
expirationDate
this
.
apipost
(
"
travel_get_GetTravelPrciePageList_V2
"
,
"
TaskManagemnet_get_GetSellProductCenter
"
,
this
.
queryMsg
,
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
if
(
this
.
queryMsg
.
TCID
==
"0"
)
{
this
.
queryMsg
.
TCID
=
""
;
}
console
.
log
(
"getTravelPrciePageList"
,
this
.
queryMsg
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
;
console
.
log
(
this
.
queryCommonData
.
dataList
,
'----'
)
...
...
@@ -630,6 +613,7 @@
}
this
.
addMsg
=
Object
.
assign
({},
item
);
if
(
item
.
couponPriceLists
||
item
.
lineId
||
item
.
lineteamId
||
item
.
effectDate
||
item
.
expirationDate
){
console
.
log
(
"1111111"
,
item
);
this
.
getTravelPrciePageList
()
}
},
...
...
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