Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
wangxuelai
wechatapp.shangjiadao.com
Commits
1c63ba30
Commit
1c63ba30
authored
May 16, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/lvtz' into wxl-develop
parents
a4a1fd42
4ad56e90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
index.js
business/pages/activityconsumers/index.js
+9
-3
No files found.
business/pages/activityconsumers/index.js
View file @
1c63ba30
...
...
@@ -197,12 +197,13 @@ Page({
},()
=>
{
this
.
memberListGet
(
'down'
);})
},
cancelDetail
(
e
){
let
that
=
this
;
let
cancelId
=
e
.
currentTarget
.
dataset
.
id
;
let
cancelStatus
=
e
.
currentTarget
.
dataset
.
status
;
if
(
cancelStatus
!=
1
){
return
false
}
let
memberList
=
th
is
.
data
.
memberList
;
let
memberList
=
th
at
.
data
.
memberList
;
wx
.
showModal
({
content
:
"确认核销该客户的领奖记录吗"
,
...
...
@@ -215,10 +216,15 @@ Page({
activityconsumersconfirm
({
id
:
cancelId
,
}).
then
((
res
)
=>
{
let
staticDeal
=
memberList
.
fi
nd
(
ele
=>
ele
.
status
==
res
.
status
);
th
is
.
setData
({
let
staticDeal
=
memberList
.
fi
lter
(
ele
=>
ele
.
id
!=
cancelId
);
th
at
.
setData
({
memberList
:
staticDeal
})
if
(
that
.
data
.
memberList
.
length
==
0
){
that
.
setData
({
hasData
:
false
})
}
})
}
else
{
}
...
...
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