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
01393804
Commit
01393804
authored
Sep 21, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7580016a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
CouponList.vue
src/components/activity/CouponList.vue
+12
-9
No files found.
src/components/activity/CouponList.vue
View file @
01393804
...
...
@@ -516,7 +516,7 @@
remark
:
""
,
autoGrant
:
""
,
openPlatformList
:[],
couponPriceLists
:
''
,
couponPriceLists
:
[]
,
couponPriceList
:
[],
},
pwdMsg
:
{
...
...
@@ -561,7 +561,6 @@
methods
:
{
getcouponPriceList
(){
console
.
log
(
"getcouponPriceList进来了"
);
this
.
addMsg
.
couponPriceList
=
[]
this
.
addMsg
.
couponPriceLists
.
forEach
(
item
=>
{
this
.
queryCommonData
.
dataList
.
forEach
(
dataItem
=>
{
...
...
@@ -574,7 +573,6 @@
}
});
})
console
.
log
(
"getcouponPriceList结束了"
,
this
.
addMsg
.
couponPriceList
);
},
getTravelPrciePageList
(){
console
.
log
(
"getTravelPrciePageList111"
,
this
.
addMsg
);
...
...
@@ -592,6 +590,14 @@
console
.
log
(
"getTravelPrciePageList"
,
this
.
queryMsg
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
;
console
.
log
(
"addMsg.couponPriceList11"
,
this
.
addMsg
.
couponPriceList
);
if
(
this
.
addMsg
.
couponPriceList
&&
this
.
addMsg
.
couponPriceList
.
length
>
0
){
this
.
addMsg
.
couponPriceList
.
forEach
(
item
=>
{
console
.
log
(
"item"
,
item
);
this
.
addMsg
.
couponPriceLists
.
push
(
item
.
tcid
);
})
console
.
log
(
"item.couponPriceLists"
,
this
.
addMsg
.
couponPriceLists
);
}
console
.
log
(
this
.
queryCommonData
.
dataList
,
'----'
)
}
},
...
...
@@ -607,13 +613,11 @@
});
},
EditItem
(
item
)
{
console
.
log
(
"item222"
,
item
);
if
(
item
.
couponPriceList
&&
item
.
couponPriceList
.
length
>
0
){
item
.
couponPriceLists
=
item
.
couponPriceList
.
map
(
item
=>
{
return
item
.
TCID
})
}
this
.
addMsg
=
Object
.
assign
({},
item
);
if
(
item
.
couponPriceLists
||
item
.
lineId
||
item
.
lineteamId
||
item
.
effectDate
||
item
.
expirationDate
){
console
.
log
(
"1111111"
,
item
);
this
.
getTravelPrciePageList
()
}
},
...
...
@@ -730,7 +734,6 @@
},
// 修改
updateData
(
item
)
{
console
.
log
(
"item"
,
item
)
this
.
getLineTeamList
(
item
.
lineId
)
this
.
addMsg
.
couponsName
=
item
.
couponsName
this
.
addMsg
.
effectDate
=
item
.
effectDate
...
...
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