|
@@ -1097,7 +1097,7 @@ const DemandDetailForm = Form.create()(React.createClass({
|
|
|
{...formItemLayout}
|
|
|
label="固定人数" >
|
|
|
{getFieldDecorator('peopleNumber', {
|
|
|
- initialValue: theData.peopleNumber
|
|
|
+ initialValue: theData.peopleNumber || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -1119,7 +1119,7 @@ const DemandDetailForm = Form.create()(React.createClass({
|
|
|
{...formItemLayout}
|
|
|
label="预算费用" >
|
|
|
{getFieldDecorator('budgetCost', {
|
|
|
- initialValue: theData.budgetCost
|
|
|
+ initialValue: theData.budgetCost || 0
|
|
|
})(
|
|
|
<InputNumber min={0} max={999999} step={0.01} />
|
|
|
)}
|