|
@@ -1251,27 +1251,27 @@ const project = React.createClass({
|
|
|
) : (
|
|
|
''
|
|
|
)}
|
|
|
- {this.props.record && this.props.record.outsource == 1 ? (
|
|
|
- <TabPane tab="外包公司信息" key="3">
|
|
|
- <div className="patent-table" style={{ marginTop: '10px' }}>
|
|
|
- <Spin spinning={this.state.loading}>
|
|
|
- <Table
|
|
|
- columns={this.state.companyColumns}
|
|
|
- dataSource={this.state.companys}
|
|
|
- scroll={{ x: 300, y: 0 }}
|
|
|
- bordered
|
|
|
- size="small"
|
|
|
- expandedRowRender={(record) => {
|
|
|
- return <p>{record.remarks}</p>
|
|
|
- }}
|
|
|
- pagination={false}
|
|
|
- />
|
|
|
- </Spin>
|
|
|
- </div>
|
|
|
- </TabPane>
|
|
|
- ) : (
|
|
|
- ''
|
|
|
- )}
|
|
|
+ {/*{this.props.record && this.props.record.outsource == 1 ? (*/}
|
|
|
+ {/* <TabPane tab="外包公司信息" key="3">*/}
|
|
|
+ {/* <div className="patent-table" style={{ marginTop: '10px' }}>*/}
|
|
|
+ {/* <Spin spinning={this.state.loading}>*/}
|
|
|
+ {/* <Table*/}
|
|
|
+ {/* columns={this.state.companyColumns}*/}
|
|
|
+ {/* dataSource={this.state.companys}*/}
|
|
|
+ {/* scroll={{ x: 300, y: 0 }}*/}
|
|
|
+ {/* bordered*/}
|
|
|
+ {/* size="small"*/}
|
|
|
+ {/* expandedRowRender={(record) => {*/}
|
|
|
+ {/* return <p>{record.remarks}</p>*/}
|
|
|
+ {/* }}*/}
|
|
|
+ {/* pagination={false}*/}
|
|
|
+ {/* />*/}
|
|
|
+ {/* </Spin>*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* </TabPane>*/}
|
|
|
+ {/*) : (*/}
|
|
|
+ {/* ''*/}
|
|
|
+ {/*)}*/}
|
|
|
</Tabs>
|
|
|
<Modal
|
|
|
width="800px"
|