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
5c12e612
Commit
5c12e612
authored
5 years ago
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
轮盘创建表单限制
parent
d82afe19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
createBigWheelActive.vue
wx_application/src/views/active/createBigWheelActive.vue
+23
-1
No files found.
wx_application/src/views/active/createBigWheelActive.vue
View file @
5c12e612
...
...
@@ -514,7 +514,29 @@ export default {
this
.
$toast
(
'请完整填写表单!'
);
return
;
}
this
.
prizeList
.
forEach
(
item
=>
{
if
(
item
.
type
==
""
)
{
this
.
$toast
(
'奖项类型必选!'
);
return
;
}
if
(
item
.
type
==
1
)
{
if
(
item
.
name
==
''
||
item
.
checked_coupon
==
{}
||
item
.
total_limit
==
''
||
item
.
limit
==
''
||
item
.
preLimit
==
''
||
item
.
probability
==
''
)
{
this
.
$toast
(
'请填写完整奖项设置!'
);
return
;
}
}
else
{
if
(
item
.
probability
===
''
)
{
this
.
$toast
(
'奖项概率不允许为空'
);
return
;
}
}
})
if
(
new
Date
(
this
.
basicInfo
.
startTime1
)
>=
new
Date
(
this
.
basicInfo
.
endTime1
)
)
{
...
...
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