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
e99c26ef
Commit
e99c26ef
authored
Aug 05, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改优惠券类别
parent
2f31f999
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/views/coupon/couponCategory/index.vue
+3
-3
No files found.
src/views/coupon/couponCategory/index.vue
View file @
e99c26ef
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<el-form-item
label=
"类别名"
prop=
"name"
>
<el-form-item
label=
"类别名"
prop=
"name"
>
<el-input
v-model=
"form.name"
placeholder=
"请输入类别名"
minlength=
"1"
maxlength=
"7"
/>
<el-input
v-model=
"form.name"
placeholder=
"请输入类别名"
minlength=
"1"
maxlength=
"7"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"类别"
prop=
"type"
>
<el-form-item
label=
"
折扣
类别"
prop=
"type"
>
<el-radio-group
v-model=
"form.type"
>
<el-radio-group
v-model=
"form.type"
>
<el-radio
:label=
"1"
>
抵扣
</el-radio>
<el-radio
:label=
"1"
>
抵扣
</el-radio>
<el-radio
:label=
"2"
>
折扣
</el-radio>
<el-radio
:label=
"2"
>
折扣
</el-radio>
...
@@ -119,7 +119,7 @@ export default {
...
@@ -119,7 +119,7 @@ export default {
// 表单校验
// 表单校验
rules
:
{
rules
:
{
name
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
type
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"
blur
"
}],
type
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"
change
"
}],
desc
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}]
desc
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}]
},
},
options
:
[{
options
:
[{
...
@@ -159,7 +159,6 @@ export default {
...
@@ -159,7 +159,6 @@ export default {
}).
catch
(()
=>
{
}).
catch
(()
=>
{
});
});
this
.
reset
();
},
},
// 表单重置
// 表单重置
reset
()
{
reset
()
{
...
@@ -186,6 +185,7 @@ export default {
...
@@ -186,6 +185,7 @@ export default {
handleAdd
()
{
handleAdd
()
{
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"新增类别"
;
this
.
title
=
"新增类别"
;
this
.
reset
();
},
},
/** 上线、下线按钮操作 */
/** 上线、下线按钮操作 */
handleStatus
(
row
,
tag
)
{
handleStatus
(
row
,
tag
)
{
...
...
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