|
@@ -4826,6 +4826,7 @@ const NewService = Form.create()(
|
|
|
)) : '';
|
|
|
let { closable } = this.state;
|
|
|
let assistList = this.assistList;
|
|
|
+ const { addPop = "" } = this.props
|
|
|
return (
|
|
|
<div>
|
|
|
{this.state.resVisible ? (
|
|
@@ -4846,18 +4847,17 @@ const NewService = Form.create()(
|
|
|
width={!this.props.userDetaile ? "600px" : "900px"}
|
|
|
title={!this.props.userDetaile ? "创建订单" : ""}
|
|
|
footer=""
|
|
|
- // width={1300}
|
|
|
className="admin-desc-content"
|
|
|
>
|
|
|
<Form
|
|
|
layout="horizontal"
|
|
|
onSubmit={this.handleSubmit}
|
|
|
- // id="demand-form"
|
|
|
style={{ paddingBottom: "40px" }}
|
|
|
>
|
|
|
<Spin spinning={this.state.loading}>
|
|
|
<div className="clearfix">
|
|
|
- {!this.props.userDetaile ? (
|
|
|
+ {
|
|
|
+ addPop == "add" &&
|
|
|
<div className="clearfix">
|
|
|
<div className="clearfix">
|
|
|
<FormItem {...formItemLayout} label="订单类型">
|
|
@@ -5005,7 +5005,9 @@ const NewService = Form.create()(
|
|
|
</Button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- ) : (
|
|
|
+ }
|
|
|
+ {
|
|
|
+ addPop == "edit" &&
|
|
|
<Tabs
|
|
|
onChange={this.callback}
|
|
|
activeKey={this.state.activeKey}
|
|
@@ -7209,7 +7211,7 @@ const NewService = Form.create()(
|
|
|
""
|
|
|
)}
|
|
|
</Tabs>
|
|
|
- )}
|
|
|
+ }
|
|
|
</div>
|
|
|
</Spin>
|
|
|
</Form>
|