Commit da113b8e authored by sujie@126.com's avatar sujie@126.com

dd

parent dcb2e089
......@@ -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>
);
},
......
......@@ -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: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment