|
@@ -164,93 +164,94 @@ const ApplyAdd = React.createClass({
|
|
<Button key="back" onClick={this.handleCancel}>
|
|
<Button key="back" onClick={this.handleCancel}>
|
|
取消
|
|
取消
|
|
</Button>,
|
|
</Button>,
|
|
- ]}
|
|
|
|
- >
|
|
|
|
- <div className="clearfix" style={{ marginBottom: '10px' }}>
|
|
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">选择公司: </span>
|
|
|
|
- <Select
|
|
|
|
- placeholder="请选择公司"
|
|
|
|
- style={{ width: 260 }}
|
|
|
|
- showSearch
|
|
|
|
- filterOption={companySearch}
|
|
|
|
- onSelect={(e, n) => { this.state.uid = e; this.getContactsList(e); this.getDepartmentList(e); }}>
|
|
|
|
- {this.props.companyAddOption}
|
|
|
|
- </Select>
|
|
|
|
|
|
+ ]} >
|
|
|
|
+ <Spin spinning={this.state.loading} className='spin-box'>
|
|
|
|
+ <div className="clearfix" style={{ marginBottom: '10px' }}>
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">选择公司: </span>
|
|
|
|
+ <Select
|
|
|
|
+ placeholder="请选择公司"
|
|
|
|
+ style={{ width: 260 }}
|
|
|
|
+ showSearch
|
|
|
|
+ filterOption={companySearch}
|
|
|
|
+ onSelect={(e, n) => { this.state.uid = e; this.getContactsList(e); this.getDepartmentList(e); }}>
|
|
|
|
+ {this.props.companyAddOption}
|
|
|
|
+ </Select>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">选择联系人: </span>
|
|
|
|
+ <Select placeholder="请选择联系人" style={{ width: 200 }}
|
|
|
|
+ onSelect={(e, n) => { this.state.contacts = e }}>
|
|
|
|
+ {this.state.contactsOption}
|
|
|
|
+ </Select>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">选择联系人: </span>
|
|
|
|
- <Select placeholder="请选择联系人" style={{ width: 200 }}
|
|
|
|
- onSelect={(e, n) => { this.state.contacts = e }}>
|
|
|
|
- {this.state.contactsOption}
|
|
|
|
- </Select>
|
|
|
|
|
|
+ <div className="clearfix">
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">申报科技部门: </span>
|
|
|
|
+ <Select
|
|
|
|
+ placeholder="请填写申报部门"
|
|
|
|
+ style={{ width: 260 }}
|
|
|
|
+ onChange={(e) => { this.state.department = e; }}>
|
|
|
|
+ {this.state.departmentOption}
|
|
|
|
+ </Select>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div className="clearfix">
|
|
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">申报科技部门: </span>
|
|
|
|
- <Select
|
|
|
|
- placeholder="请填写申报部门"
|
|
|
|
- style={{ width: 260 }}
|
|
|
|
- onChange={(e) => { this.state.department = e; }}>
|
|
|
|
- {this.state.departmentOption}
|
|
|
|
- </Select>
|
|
|
|
|
|
+ <div className="clearfix">
|
|
|
|
+ <div>
|
|
|
|
+ <span className="item-title">派单信息: </span>
|
|
|
|
+ </div>
|
|
|
|
+ <Input type="textarea" rows={6} onChange={(e) => { this.state.dispatchInfo = e.target.value; }} />
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div className="clearfix">
|
|
|
|
- <div>
|
|
|
|
- <span className="item-title">派单信息: </span>
|
|
|
|
|
|
+ <div className="clearfix">
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">项目名称: </span>
|
|
|
|
+ <Input style={{ width: 200 }} onChange={(e) => { this.state.projectName = e.target.value; }} />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <Input type="textarea" rows={6} onChange={(e) => { this.state.dispatchInfo = e.target.value; }} />
|
|
|
|
- </div>
|
|
|
|
- <div className="clearfix">
|
|
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">项目名称: </span>
|
|
|
|
- <Input style={{ width: 200 }} onChange={(e) => { this.state.projectName = e.target.value; }} />
|
|
|
|
|
|
+ <div className="clearfix">
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">项目类型: </span>
|
|
|
|
+ <Input style={{ width: 200 }} onChange={(e) => { this.state.projectCatagory = e.target.value; }} />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div className="clearfix">
|
|
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">项目类型: </span>
|
|
|
|
- <Input style={{ width: 200 }} onChange={(e) => { this.state.projectCatagory = e.target.value; }} />
|
|
|
|
|
|
+ <div className="clearfix">
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">技术领域: </span>
|
|
|
|
+ <Input style={{ width: 200 }} onChange={(e) => { this.state.techField = e.target.value; }} />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div className="clearfix">
|
|
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">技术领域: </span>
|
|
|
|
- <Input style={{ width: 200 }} onChange={(e) => { this.state.techField = e.target.value; }} />
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div className="clearfix">
|
|
|
|
- <div>
|
|
|
|
- <span className="item-title">项目介绍: </span>
|
|
|
|
- </div>
|
|
|
|
- <Input type="textarea" rows={6} onChange={(e) => { this.state.projectDes = e.target.value; }} />
|
|
|
|
- </div>
|
|
|
|
- <div className="clearfix">
|
|
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">立项/后补助: </span>
|
|
|
|
- <Radio.Group onChange={this.subsidyCheck}>
|
|
|
|
- <Radio value={1}>立项</Radio>
|
|
|
|
- <Radio value={2}>后补助</Radio>
|
|
|
|
- </Radio.Group>
|
|
|
|
|
|
+ <div className="clearfix">
|
|
|
|
+ <div>
|
|
|
|
+ <span className="item-title">项目介绍: </span>
|
|
|
|
+ </div>
|
|
|
|
+ <Input type="textarea" rows={6} onChange={(e) => { this.state.projectDes = e.target.value; }} />
|
|
</div>
|
|
</div>
|
|
|
|
+ <div className="clearfix">
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">立项/后补助: </span>
|
|
|
|
+ <Radio.Group onChange={this.subsidyCheck}>
|
|
|
|
+ <Radio value={1}>立项</Radio>
|
|
|
|
+ <Radio value={2}>后补助</Radio>
|
|
|
|
+ </Radio.Group>
|
|
|
|
+ </div>
|
|
|
|
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">金额: </span>
|
|
|
|
- <Input style={{ width: 200 }} onChange={(e) => { this.state.projectApproval = e.target.value; }} />
|
|
|
|
- <span>万元</span>
|
|
|
|
- </div>
|
|
|
|
- <div className="half-item">
|
|
|
|
- <span className="item-title">营销员: </span>
|
|
|
|
- <Select
|
|
|
|
- placeholder="请填写营销员"
|
|
|
|
- style={{ width: 260 }}
|
|
|
|
- onChange={(e) => { this.state.salesman = e; }}>
|
|
|
|
- {this.props.salesmanOption}
|
|
|
|
- </Select>
|
|
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">金额: </span>
|
|
|
|
+ <Input style={{ width: 200 }} onChange={(e) => { this.state.projectApproval = e.target.value; }} />
|
|
|
|
+ <span>万元</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="half-item">
|
|
|
|
+ <span className="item-title">营销员: </span>
|
|
|
|
+ <Select
|
|
|
|
+ placeholder="请填写营销员"
|
|
|
|
+ style={{ width: 260 }}
|
|
|
|
+ onChange={(e) => { this.state.salesman = e; }}>
|
|
|
|
+ {this.props.salesmanOption}
|
|
|
|
+ </Select>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </Spin>
|
|
</Modal>
|
|
</Modal>
|
|
</div>
|
|
</div>
|
|
);
|
|
);
|