|
@@ -12,7 +12,7 @@ const ActivityDescFrom = Form.create()(React.createClass({
|
|
|
return {
|
|
|
loading: false,
|
|
|
activityNumberOption: [],
|
|
|
- activityNumberObj:{},
|
|
|
+ activityNumberObj: {},
|
|
|
yearOption: []
|
|
|
};
|
|
|
},
|
|
@@ -77,7 +77,7 @@ const ActivityDescFrom = Form.create()(React.createClass({
|
|
|
url: globalConfig.context + "/api/user/cognizance/activityCost",
|
|
|
data: {
|
|
|
id: this.props.data.id,
|
|
|
- aid: this.props.data.aid,
|
|
|
+ aid: values.activityNumber,
|
|
|
activityNumber: this.state.activityNumberObj[values.activityNumber],
|
|
|
year: values.year,
|
|
|
|