张延森 3 years ago
parent
commit
0ef05140b4
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/pages/building/Edit/SpecialRoom/Form.jsx

+ 4
- 4
src/pages/building/Edit/SpecialRoom/Form.jsx View File

@@ -38,7 +38,7 @@ const AMForm = (props) => {
38 38
             { required: true, message: '请填写面积' },
39 39
             { validator: validMinNum },
40 40
           ],
41
-        })(<InputNumber min={0} precision={0.01} step={1} addonAfter="㎡"/>)}
41
+        })(<InputNumber min={0} precision={0.01} step={1} placeholder="请填写建筑面积" addonAfter="㎡"/>)}
42 42
       </Form.Item>
43 43
       <Form.Item label="时间">
44 44
       {getFieldDecorator('img', {
@@ -56,21 +56,21 @@ const AMForm = (props) => {
56 56
           rules: [
57 57
             { required: true, message: '请填写原始价' },
58 58
           ],
59
-        })(<Input placeholder="请填写原始价"/>)}
59
+        })(<InputNumber min={0} precision={0.01} step={1} placeholder="请填写原始" addonAfter="元"/>)}
60 60
       </Form.Item>
61 61
       <Form.Item label="现价">
62 62
         {getFieldDecorator('apartmentName', {
63 63
           rules: [
64 64
             { required: true, message: '请填写现价' },
65 65
           ],
66
-        })(<Input placeholder="请填写现价"/>)}
66
+        })(<InputNumber min={0} precision={0.01} step={1} placeholder="请填写现"  addonAfter="元"/>)}
67 67
       </Form.Item>
68 68
       <Form.Item label="节省价">
69 69
         {getFieldDecorator('apartmentName', {
70 70
           rules: [
71 71
             { required: true, message: '请填写节省价' },
72 72
           ],
73
-        })(<Input placeholder="请填写节省价"/>)}
73
+        })(<InputNumber min={0} precision={0.01} step={1} placeholder="请填写节省" addonAfter="元"/>)}
74 74
       </Form.Item>
75 75
       <Form.Item label=" " colon={false} style={{marginTop: '2em'}}>
76 76
         <Button style={{marginLeft: '4em'}} type="primary" htmlType="submit">保存</Button>