|
@@ -749,7 +749,7 @@ const CompanyDetail = Form.create()(React.createClass({
|
|
|
>
|
|
|
{getFieldDecorator('field', {
|
|
|
rules: [{ type: 'array', required: true, message: '此项为必填项!' }],
|
|
|
- initialValue: [Number(theData.field[0]), theData.field[1] ? Number(theData.field[1]) : null, theData.field[2] ? Number(theData.field[2]) : null]
|
|
|
+ initialValue: theData.field
|
|
|
})(
|
|
|
<Cascader options={techFieldList} />
|
|
|
)}
|
|
@@ -956,7 +956,6 @@ const CompanyDetail = Form.create()(React.createClass({
|
|
|
</div>
|
|
|
<FormItem style={{ marginTop: '20px' }}>
|
|
|
<Button className="set-submit" type="primary" htmlType="submit">保存</Button>
|
|
|
- <Button type="ghost" style={{ marginLeft: '20px' }} onClick={this.props.closeModal}>取消</Button>
|
|
|
</FormItem>
|
|
|
</Form >
|
|
|
);
|