|
@@ -448,7 +448,7 @@ const DemandDetailForm = Form.create()(React.createClass({
|
|
|
{...formItemLayout}
|
|
|
label="需求状态" >
|
|
|
{(() => {
|
|
|
- if (theData.status > 1) {
|
|
|
+ if (theData.status && Number(theData.status) > 1) {
|
|
|
return <Radio.Group
|
|
|
value={this.state.status}
|
|
|
onChange={(e) => { this.setState({ status: e }); }}>
|
|
@@ -658,54 +658,7 @@ const DemandDetailForm = Form.create()(React.createClass({
|
|
|
)}
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
- <div className="clearfix" style={{ display: 'none' }}>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="雇主客户ID" >
|
|
|
- {getFieldDecorator('employerId', {
|
|
|
- initialValue: theData.employerName
|
|
|
- })(
|
|
|
- <Input />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="雇主地址" >
|
|
|
- {getFieldDecorator('employerAddress', {
|
|
|
- initialValue: theData.employerAddress
|
|
|
- })(
|
|
|
- <Input />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="雇主联系人名称" >
|
|
|
- {getFieldDecorator('employerContacts', {
|
|
|
- initialValue: theData.employerContacts
|
|
|
- })(
|
|
|
- <Input />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="雇主联系人电话" >
|
|
|
- {getFieldDecorator('employerContactsMobile', {
|
|
|
- initialValue: theData.employerContactsMobile
|
|
|
- })(
|
|
|
- <Input />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="雇主联系人邮箱" >
|
|
|
- {getFieldDecorator('employerContactsMailbox', {
|
|
|
- initialValue: theData.employerContactsMailbox
|
|
|
- })(
|
|
|
- <Input />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- </div>
|
|
|
- <div className="clearfix">
|
|
|
+ <div className="clearfix" style={{display:'none'}}>
|
|
|
<FormItem className="half-item"
|
|
|
{...formItemLayout}
|
|
|
label="雇主地址" >
|