Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
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
hooloo
web
soss
Commits
0930bcdd
Commit
0930bcdd
authored
Aug 05, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改优惠券
parent
e99c26ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/views/coupon/coupon/index.vue
+5
-5
No files found.
src/views/coupon/coupon/index.vue
View file @
0930bcdd
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<a
@
click=
"handleUpdate(scope.row)"
style=
"color: blue"
>
{{
scope
.
row
.
name
}}
</a>
<a
@
click=
"handleUpdate(scope.row)"
style=
"color: blue"
>
{{
scope
.
row
.
name
}}
</a>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"类别"
align=
"center"
prop=
"
typeDesc
"
/>
<el-table-column
label=
"类别"
align=
"center"
prop=
"
categoryName
"
/>
<el-table-column
label=
"券价值"
align=
"center"
>
<el-table-column
label=
"券价值"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
ruleDesc
}}{{
scope
.
row
.
ruleName
}}
{{
scope
.
row
.
ruleDesc
}}{{
scope
.
row
.
ruleName
}}
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"150px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"150px"
>
<el-row>
<el-row>
<el-form-item
label=
"优惠券名称"
prop=
"name"
>
<el-form-item
label=
"优惠券名称"
prop=
"name"
>
<el-input
v-model=
"form.name"
placeholder=
"请输入优惠券名称"
minlength=
"1"
maxlength=
"10
0
"
/>
<el-input
v-model=
"form.name"
placeholder=
"请输入优惠券名称"
minlength=
"1"
maxlength=
"10"
/>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -443,7 +443,7 @@ export default {
...
@@ -443,7 +443,7 @@ export default {
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
queryParams
.
name
=
null
;
this
.
queryParams
.
name
=
null
;
this
.
queryParams
.
state
=
null
;
this
.
queryParams
.
categoryId
=
null
;
this
.
handleQuery
();
this
.
handleQuery
();
},
},
/** 新增按钮操作 */
/** 新增按钮操作 */
...
@@ -519,9 +519,9 @@ export default {
...
@@ -519,9 +519,9 @@ export default {
this
.
priceLimit
=
response
.
data
.
priceLimit
;
this
.
priceLimit
=
response
.
data
.
priceLimit
;
}
}
}
}
if
(
response
.
data
.
daysLimit
==
0
){
if
(
response
.
data
.
daysLimit
==
0
&&
response
.
data
.
userLimit
==
0
){
this
.
form
.
userNumber
=
2
this
.
form
.
userNumber
=
2
}
else
if
(
response
.
data
.
daysLimit
!=
0
)
{
}
else
{
this
.
form
.
userNumber
=
1
;
this
.
form
.
userNumber
=
1
;
this
.
form
.
daysLimit
=
response
.
data
.
daysLimit
;
this
.
form
.
daysLimit
=
response
.
data
.
daysLimit
;
this
.
form
.
userLimit
=
response
.
data
.
userLimit
;
this
.
form
.
userLimit
=
response
.
data
.
userLimit
;
...
...
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