Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
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
wangxuelai
biz.qingxiao.com
Commits
90a5fe98
Commit
90a5fe98
authored
Oct 29, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'最新代码提交续课赠送课时非必填'
parent
eb7f5d2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
Renew.js
src/pages/studentinfo/Renew.js
+8
-8
index.js
src/pages/studentinfo/index.js
+5
-1
No files found.
src/pages/studentinfo/Renew.js
View file @
90a5fe98
...
...
@@ -154,10 +154,10 @@ class StudentAddForm extends React.Component {
{
getFieldDecorator
(
'give'
,
{
initialValue
:
0
,
rules
:
[
{
required
:
true
,
message
:
'请输入赠送课时'
,
},
//
{
//
required: true,
//
message: '请输入赠送课时',
//
},
],
})(
<
InputNumber
min
=
{
0
}
style
=
{{
width
:
200
}}
/>
,
...
...
@@ -209,10 +209,10 @@ class StudentAddForm extends React.Component {
{
getFieldDecorator
(
'give'
,
{
initialValue
:
0
,
rules
:
[
{
required
:
true
,
message
:
'请输入赠送课时'
,
},
//
{
//
required: true,
//
message: '请输入赠送课时',
//
},
],
})(
<
InputNumber
min
=
{
0
}
style
=
{{
width
:
200
}}
/>
,
...
...
src/pages/studentinfo/index.js
View file @
90a5fe98
...
...
@@ -258,10 +258,14 @@ class StudentMgt extends React.Component {
}
renewCourse
=
(
values
)
=>
{
const
{
dispatch
}
=
this
.
props
;
console
.
log
(
values
,
'values'
);
dispatch
({
type
:
'studentsinfo/studentModelCoursesBuyOrRenew'
,
payload
:
{
values
,
values
:
{
...
values
,
give
:
values
.
give
||
0
,
},
},
});
}
...
...
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