|
@@ -253,8 +253,8 @@ const DemandDetailForm = Form.create()(React.createClass({
|
|
|
keyword: this.state.tags ? this.state.tags.join(",") : [],
|
|
|
keywords: this.state.tags,
|
|
|
budgetCost:values.budgetCost,
|
|
|
- urgentDays:values.urgentDays,
|
|
|
- urgentMoney:values.urgentMoney,
|
|
|
+ urgentDays:this.state.isUrgent?values.urgentDays:0,
|
|
|
+ urgentMoney:this.state.isUrgent?values.urgentMoney:0,
|
|
|
auditStatus:index,
|
|
|
status: this.state.status,
|
|
|
isUrgent: this.state.isUrgent,
|
|
@@ -397,14 +397,14 @@ const DemandDetailForm = Form.create()(React.createClass({
|
|
|
rules: [ { required: false } ],
|
|
|
initialValue: theData.budgetCost
|
|
|
})(<InputNumber min={0} max={999999} step={0.01} placeholder="输入酬劳."/>)}
|
|
|
- <span style={{ marginLeft: '20px' }}>元/月</span>
|
|
|
+ <span style={{ marginLeft: '5px' }}>元/月</span>
|
|
|
</FormItem>:''}
|
|
|
{demandType=='3'||theData.demandType=='3'?<div className="clearfix"><FormItem className="half-item" {...formItemLayout} label="资金需求额度">
|
|
|
{getFieldDecorator('crowdCost', {
|
|
|
rules: [ { required: false } ],
|
|
|
initialValue: theData.crowdCost
|
|
|
})(<InputNumber min={0} max={999999} step={0.01} placeholder="输入资金需求额度."/>)}
|
|
|
- <span style={{ marginLeft: '10px' }}>万元</span>
|
|
|
+ <span style={{ marginLeft: '5px' }}>万元</span>
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item" {...formItemLayout} label="资金用途">
|
|
|
{getFieldDecorator('researchType', {
|
|
@@ -434,8 +434,8 @@ const DemandDetailForm = Form.create()(React.createClass({
|
|
|
initialValue: theData.urgentDays
|
|
|
})(
|
|
|
<div>
|
|
|
- <Input style={{width:50}}/>
|
|
|
- <span>天</span>
|
|
|
+ <InputNumber min={0} max={999999} step={0}/>
|
|
|
+ <span style={{ marginLeft: '5px' }}>天</span>
|
|
|
</div>)
|
|
|
}
|
|
|
</FormItem>
|
|
@@ -443,8 +443,9 @@ const DemandDetailForm = Form.create()(React.createClass({
|
|
|
{getFieldDecorator('urgentMoney', {
|
|
|
initialValue: theData.urgentMoney
|
|
|
})(<InputNumber min={0} max={999999} step={0.01} placeholder="输入金额."/>)}
|
|
|
- <span style={{ marginLeft: '20px' }}>万元</span>
|
|
|
- </FormItem></div>:''}
|
|
|
+ <span style={{ marginLeft: '5px' }}>万元</span>
|
|
|
+ </FormItem>
|
|
|
+ </div>:''}
|
|
|
</div>
|
|
|
<div className="clearfix">
|
|
|
<FormItem className="half-item" {...formItemLayout} label="热点需求">
|