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
e36da6cc
Commit
e36da6cc
authored
Aug 19, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改优惠券限制问题
parent
33cce7fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
src/views/coupon/coupon/index.vue
+4
-1
No files found.
src/views/coupon/coupon/index.vue
View file @
e36da6cc
...
@@ -263,7 +263,6 @@ export default {
...
@@ -263,7 +263,6 @@ export default {
rules
:
{
rules
:
{
name
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
categoryId
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
categoryId
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
userNumber
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"change"
}],
times
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"change"
}],
times
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"change"
}],
sendMsgTag
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"change"
}]
sendMsgTag
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"change"
}]
},
},
...
@@ -690,6 +689,10 @@ export default {
...
@@ -690,6 +689,10 @@ export default {
submitForm
()
{
submitForm
()
{
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
userNumber
==
null
){
this
.
$message
.
error
(
"请填写User可领次数!"
);
return
;
}
if
(
this
.
type
==
"1"
){
if
(
this
.
type
==
"1"
){
if
(
this
.
liJian
==
""
){
if
(
this
.
liJian
==
""
){
this
.
$message
.
error
(
"立减输入框必填!"
);
this
.
$message
.
error
(
"立减输入框必填!"
);
...
...
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