|
@@ -7,7 +7,7 @@ class DemandDesc extends React.Component {
|
|
|
super(props);
|
|
|
this.state = {
|
|
|
loading: false,
|
|
|
- showState:false
|
|
|
+ showState: false
|
|
|
};
|
|
|
}
|
|
|
handleCancel() {
|
|
@@ -28,27 +28,33 @@ class DemandDesc extends React.Component {
|
|
|
render() {
|
|
|
return (
|
|
|
<div className="patent-desc">
|
|
|
- {this.state.visible ? <Modal
|
|
|
- maskClosable={false}
|
|
|
- visible={this.state.visible}
|
|
|
- onOk={this.handOk.bind(this)}
|
|
|
- onCancel={this.handleCancel.bind(this)}
|
|
|
- width="1000px"
|
|
|
- title='订单详情'
|
|
|
- footer=""
|
|
|
- className="admin-desc-content"
|
|
|
- >
|
|
|
- <div>
|
|
|
+ {
|
|
|
+ this.state.visible &&
|
|
|
+ <Modal
|
|
|
+ maskClosable={false}
|
|
|
+ visible={this.state.visible}
|
|
|
+ onOk={this.handOk.bind(this)}
|
|
|
+ onCancel={this.handleCancel.bind(this)}
|
|
|
+ width="1000px"
|
|
|
+ title='订单详情'
|
|
|
+ footer=""
|
|
|
+ className="admin-desc-content"
|
|
|
+ >
|
|
|
<div>
|
|
|
- <OrderDetaiel
|
|
|
- closeDesc={this.handleCancel.bind(this)}
|
|
|
- data={this.props.data}
|
|
|
- visible={this.state.visible}
|
|
|
- handOk={this.handOk.bind(this)}
|
|
|
- />
|
|
|
+ <div>
|
|
|
+ {
|
|
|
+ this.state.visible &&
|
|
|
+ <OrderDetaiel
|
|
|
+ closeDesc={this.handleCancel.bind(this)}
|
|
|
+ data={this.props.data}
|
|
|
+ visible={this.state.visible}
|
|
|
+ handOk={this.handOk.bind(this)}
|
|
|
+ />
|
|
|
+ }
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </Modal> : <div/>}
|
|
|
+ </Modal>
|
|
|
+ }
|
|
|
</div>
|
|
|
);
|
|
|
}
|