|
@@ -113,7 +113,8 @@ const OrgCertify = Form.create()(React.createClass({
|
|
|
)
|
|
|
};
|
|
|
this.setState({
|
|
|
- authorOption: theArr
|
|
|
+ authorOption: theArr,
|
|
|
+ authorList: data.data
|
|
|
});
|
|
|
}.bind(this),
|
|
|
}).always(function () {
|
|
@@ -558,7 +559,7 @@ const OrgCertify = Form.create()(React.createClass({
|
|
|
<Cascader options={provinceSelect()} placeholder="请选择地址" />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
- <div style={{ display: !window.showAuditStatus ? 'block' : 'none' }}>
|
|
|
+ <div style={{ display: window.showAuditStatus ? 'none' : 'none' }}>
|
|
|
<FormItem
|
|
|
{...formItemLayout}
|
|
|
label="认证状态"
|
|
@@ -579,25 +580,13 @@ const OrgCertify = Form.create()(React.createClass({
|
|
|
{...formItemLayout}
|
|
|
label="业务员"
|
|
|
>
|
|
|
- {getFieldDecorator('aid', {
|
|
|
- initialValue: this.state.aid
|
|
|
- })(
|
|
|
- <Select placeholder="选择一个业务员" style={{ width: 200 }}>
|
|
|
- {this.state.authorOption}
|
|
|
- </Select>
|
|
|
- )}
|
|
|
+ <span>{this.state.authorList ? this.state.authorList[this.state.aid] : ''}</span>
|
|
|
</FormItem>
|
|
|
<FormItem
|
|
|
{...formItemLayout}
|
|
|
label="客户经理"
|
|
|
>
|
|
|
- {getFieldDecorator('mid', {
|
|
|
- initialValue: this.state.mid
|
|
|
- })(
|
|
|
- <Select placeholder="选择一个客户经理" style={{ width: 200 }}>
|
|
|
- {this.state.authorOption}
|
|
|
- </Select>
|
|
|
- )}
|
|
|
+ <span>{this.state.authorList ? this.state.authorList[this.state.mid] : ''}</span>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
<div style={{ display: window.showAuditStatus ? 'block' : 'none' }}>
|