|
@@ -204,23 +204,33 @@ const CopyrightDescForm = Form.create()(React.createClass({
|
|
|
const { getFieldDecorator } = this.props.form;
|
|
|
const theData = this.state;
|
|
|
const formItemLayout = {
|
|
|
- labelCol: { span: 6 },
|
|
|
+ labelCol: { span: 8 },
|
|
|
wrapperCol: { span: 16 },
|
|
|
};
|
|
|
const _me = this;
|
|
|
return (
|
|
|
<Form onSubmit={this.handleSubmit} id="CopyrightDesc-form">
|
|
|
- <Row className="express-desc-row">
|
|
|
- <Col span={4}>公司名称</Col>
|
|
|
- <Col span={8}>{theData.unitName}</Col>
|
|
|
- <Col span={4}>组织机构代码</Col>
|
|
|
- <Col span={8}>{theData.unitNumber}</Col>
|
|
|
- </Row>
|
|
|
- <Row className="express-desc-row">
|
|
|
- <Col span={4}>公司地址</Col>
|
|
|
- <Col span={8}>{theData.postalAddress}</Col>
|
|
|
- <Col span={4}>联系人</Col>
|
|
|
- <Col span={8}>
|
|
|
+ <div className="clearfix">
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="公司名称" >
|
|
|
+ <span>{theData.unitName}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="组织机构代码" >
|
|
|
+ <span>{theData.unitNumber}</span>
|
|
|
+ </FormItem>
|
|
|
+ </div>
|
|
|
+ <div className="clearfix">
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="公司地址" >
|
|
|
+ <span>{theData.postalAddress}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="联系人" >
|
|
|
{getFieldDecorator('contact', {
|
|
|
rules: [{ required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.contact
|
|
@@ -231,18 +241,17 @@ const CopyrightDescForm = Form.create()(React.createClass({
|
|
|
{this.state.contactsOption}
|
|
|
</Select>
|
|
|
)}
|
|
|
- </Col>
|
|
|
- </Row>
|
|
|
+ </FormItem>
|
|
|
+ </div>
|
|
|
<p>状态流转记录: </p>
|
|
|
<Table style={{ margin: '10px 0', background: "#eee" }}
|
|
|
pagination={false}
|
|
|
dataSource={this.state.stateTable}
|
|
|
columns={this.state.stateColumns} />
|
|
|
- <div className="clearfix" style={{paddingLeft:'4px', paddingTop: '20px',marginBottom:'10px', background: '#eee' }}>
|
|
|
+ <div className="clearfix" style={{ paddingLeft: '4px', paddingTop: '20px', marginBottom: '10px', background: '#eee' }}>
|
|
|
<FormItem className="half-item"
|
|
|
{...formItemLayout}
|
|
|
- label="状态流转"
|
|
|
- >
|
|
|
+ label="状态流转" >
|
|
|
{getFieldDecorator('status')(
|
|
|
<Select
|
|
|
style={{ width: 200 }}
|