|
@@ -152,7 +152,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.mainBusinessIncome
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item"
|
|
@@ -163,7 +163,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.managementCost
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
{this.state.managementCost && this.state.managementCost != this.props.form.getFieldValue('managementCost') ? <span style={{ color: '#f50' }}>与财务报表不一致!</span> : <span></span>}
|
|
|
</FormItem>
|
|
@@ -178,7 +178,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
}],
|
|
|
initialValue: theData.researchCost
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
{this.state.researchCost && this.state.researchCost != this.props.form.getFieldValue('researchCost') ? <span style={{ color: '#f50' }}>与财务报表不一致!</span> : <span></span>}
|
|
|
</FormItem>
|
|
@@ -190,7 +190,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.operatingProfit
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
{this.state.operatingProfit && this.state.operatingProfit != this.props.form.getFieldValue('operatingProfit') ? <span style={{ color: '#f50' }}>与财务报表不一致!</span> : <span></span>}
|
|
|
</FormItem>
|
|
@@ -202,7 +202,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.variousTax
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item"
|
|
@@ -213,7 +213,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.currentAsset
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item"
|
|
@@ -224,7 +224,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.netFixedAsset
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item"
|
|
@@ -235,7 +235,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.totalAsset
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item"
|
|
@@ -246,7 +246,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.netAsset
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item"
|
|
@@ -257,7 +257,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.grossProfit
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
{this.state.grossProfit && this.state.grossProfit != this.props.form.getFieldValue('grossProfit') ? <span style={{ color: '#f50' }}>与财务报表不一致!</span> : <span></span>}
|
|
|
</FormItem>
|
|
@@ -269,7 +269,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.netProfit
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item"
|
|
@@ -280,7 +280,7 @@ const FinanceDescFrom = Form.create()(React.createClass({
|
|
|
rules: [{ type: 'number', required: true, message: '此项为必填项!' }],
|
|
|
initialValue: theData.salesRevenue
|
|
|
})(
|
|
|
- <InputNumber />
|
|
|
+ <InputNumber min={0} max={9999} step={0.01} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
</div>
|