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
da113b8e
Commit
da113b8e
authored
Aug 24, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
dcb2e089
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CallStudents.js
src/components/CallStudents.js
+1
-1
callstudents.js
src/models/callstudents.js
+3
-0
No files found.
src/components/CallStudents.js
View file @
da113b8e
...
...
@@ -344,7 +344,7 @@ class CallStudentsForm extends React.Component {
render
:
(
text
,
record
,
index
)
=>
{
return
(
<
div
className
=
{
pageStyle
.
tableoperatebox
}
>
<
InputNumber
disabled
=
{
record
.
type
==
''
}
onChange
=
{
e
=>
this
.
callStudentExpendChange
(
e
,
index
)}
size
=
"small"
value
=
{
record
.
expend
}
/
>
<
InputNumber
disabled
=
{
record
.
type
==
''
}
min
=
{
0
}
onChange
=
{
e
=>
this
.
callStudentExpendChange
(
e
,
index
)}
size
=
"small"
value
=
{
record
.
expend
}
/
>
<
/div
>
);
},
...
...
src/models/callstudents.js
View file @
da113b8e
...
...
@@ -493,6 +493,9 @@ export default {
}
else
if
((
callStudentOperateList
[
index
].
type
==
1
||
callStudentOperateList
[
index
].
type
==
2
)
&&
value
>=
expend
)
{
callStudentOperateList
[
index
].
expend
=
value
;
}
if
(
callStudentOperateList
[
index
].
type
==
3
||
callStudentOperateList
[
index
].
type
==
4
)
{
callStudentOperateList
[
index
].
expend
=
value
;
}
yield
put
({
type
:
'updateState'
,
payload
:
{
...
...
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