Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
ybf
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
xulili
ybf
Commits
c12a2b4f
Commit
c12a2b4f
authored
5 years ago
by
xd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券修改
parent
aee1997d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
list.vue
wx_application/src/views/coupon/list.vue
+3
-7
No files found.
wx_application/src/views/coupon/list.vue
View file @
c12a2b4f
...
@@ -39,15 +39,11 @@ export default {
...
@@ -39,15 +39,11 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
methods
:
{
methods
:
{
getList
()
{
getList
()
{
console
.
log
(
11
);
let
params
=
{
let
params
=
{
deptId
:
10
deptId
:
this
.
deptId
}
}
getCouponList
(
params
).
then
(
res
=>
{
getCouponList
(
params
).
then
(
res
=>
{
console
.
log
(
2
);
this
.
list
=
res
.
data
this
.
list
=
res
.
data
res
.
data
.
forEach
(
item
=>
{
res
.
data
.
forEach
(
item
=>
{
item
.
begin_date
=
item
.
begin_date
.
substr
(
0
,
4
)
+
'-'
+
item
.
begin_date
.
substr
(
4
,
2
)
+
'-'
+
item
.
begin_date
.
substr
(
6
,
2
)
item
.
begin_date
=
item
.
begin_date
.
substr
(
0
,
4
)
+
'-'
+
item
.
begin_date
.
substr
(
4
,
2
)
+
'-'
+
item
.
begin_date
.
substr
(
6
,
2
)
...
...
This diff is collapsed.
Click to expand it.
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