Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
de7b077e
Commit
de7b077e
authored
Nov 20, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券增加使用状态
parent
b9a44ec9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
index.vue
src/components/coupon/index.vue
+7
-1
No files found.
src/components/coupon/index.vue
View file @
de7b077e
...
@@ -94,6 +94,10 @@
...
@@ -94,6 +94,10 @@
{
{
id
:
1
,
id
:
1
,
value
:
'已使用'
value
:
'已使用'
},
{
id
:
2
,
value
:
'禁用'
}
}
],
],
searchFrom
:
{
searchFrom
:
{
...
@@ -111,6 +115,8 @@
...
@@ -111,6 +115,8 @@
msg
=
'未使用'
msg
=
'未使用'
}
else
if
(
value
===
1
){
}
else
if
(
value
===
1
){
msg
=
'已使用'
msg
=
'已使用'
}
else
if
(
value
===
2
){
msg
=
'禁用'
}
}
return
msg
;
return
msg
;
}
}
...
@@ -136,7 +142,7 @@
...
@@ -136,7 +142,7 @@
if
(
this
.
searchFrom
.
user_id
){
if
(
this
.
searchFrom
.
user_id
){
json
.
user_id
=
this
.
searchFrom
.
user_id
json
.
user_id
=
this
.
searchFrom
.
user_id
}
}
if
(
this
.
searchFrom
.
status
){
if
(
this
.
searchFrom
.
status
||
this
.
searchFrom
.
status
===
0
){
json
.
status
=
this
.
searchFrom
.
status
json
.
status
=
this
.
searchFrom
.
status
}
}
if
(
this
.
searchFrom
.
out_trade_no
){
if
(
this
.
searchFrom
.
out_trade_no
){
...
...
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