傅行帆 5 年 前
コミット
95efbf92c7
共有2 個のファイルを変更した8 個の追加8 個の削除を含む
  1. 2
    2
      src/pages/house/add/index.jsx
  2. 6
    6
      src/pages/house/edit/components/houseAdd.jsx

+ 2
- 2
src/pages/house/add/index.jsx ファイルの表示

85
         <Form.Item label="销售批次名">
85
         <Form.Item label="销售批次名">
86
           {getFieldDecorator('salesBatchName', {
86
           {getFieldDecorator('salesBatchName', {
87
             rules: [{ required: true, message: '请输入销售批次名' }],
87
             rules: [{ required: true, message: '请输入销售批次名' }],
88
-          })(<Input maxLength={20} />)}
88
+          })(<Input maxLength={20} placeholder="为本次销售命名,如二期销售" />)}
89
         </Form.Item>
89
         </Form.Item>
90
         <Form.Item label="销售楼盘">
90
         <Form.Item label="销售楼盘">
91
           {getFieldDecorator('buildingId', {
91
           {getFieldDecorator('buildingId', {
94
         </Form.Item>
94
         </Form.Item>
95
         <Form.Item label="备注">
95
         <Form.Item label="备注">
96
           {getFieldDecorator('remark')
96
           {getFieldDecorator('remark')
97
-            (<Input maxLength={20}/>)}
97
+            (<Input maxLength={20} placeholder="本次销售哪几栋楼,多少套房源等"/>)}
98
         </Form.Item>
98
         </Form.Item>
99
         <Form.Item label="发布状态">
99
         <Form.Item label="发布状态">
100
           {getFieldDecorator('status', {
100
           {getFieldDecorator('status', {

+ 6
- 6
src/pages/house/edit/components/houseAdd.jsx ファイルの表示

96
               max: 6,
96
               max: 6,
97
             },
97
             },
98
           ],
98
           ],
99
-        })(<Input disabled={houseId && houseId !== '' ? true : false}/>)}
99
+        })(<Input disabled={houseId && houseId !== '' ? true : false} placeholder="填写期/区"/>)}
100
         </Form.Item>
100
         </Form.Item>
101
         <Form.Item label="楼栋">
101
         <Form.Item label="楼栋">
102
         {getFieldDecorator('blockName', {
102
         {getFieldDecorator('blockName', {
107
               max: 6,
107
               max: 6,
108
             },
108
             },
109
           ],
109
           ],
110
-        })(<Input disabled={houseId && houseId !== '' ? true : false}/>)}
110
+        })(<Input disabled={houseId && houseId !== '' ? true : false} placeholder="填写楼栋"/>)}
111
         </Form.Item>
111
         </Form.Item>
112
         <Form.Item label="单元">
112
         <Form.Item label="单元">
113
         {getFieldDecorator('unitName', {
113
         {getFieldDecorator('unitName', {
118
               max: 6,
118
               max: 6,
119
             },
119
             },
120
           ],
120
           ],
121
-        })(<Input disabled={houseId && houseId !== '' ? true : false}/>)}
121
+        })(<Input disabled={houseId && houseId !== '' ? true : false} placeholder="填写单元"/>)}
122
         </Form.Item>
122
         </Form.Item>
123
         <Form.Item label="层">
123
         <Form.Item label="层">
124
         {getFieldDecorator('floorName', {
124
         {getFieldDecorator('floorName', {
129
               max: 6,
129
               max: 6,
130
             },
130
             },
131
           ],
131
           ],
132
-        })(<Input disabled={houseId && houseId !== '' ? true : false}/>)}
132
+        })(<Input disabled={houseId && houseId !== '' ? true : false} placeholder="填写楼层"/>)}
133
         </Form.Item>
133
         </Form.Item>
134
         <Form.Item label="房号">
134
         <Form.Item label="房号">
135
         {getFieldDecorator('roomName', {
135
         {getFieldDecorator('roomName', {
140
               max: 6,
140
               max: 6,
141
             },
141
             },
142
           ],
142
           ],
143
-        })(<Input/> )}
143
+        })(<Input placeholder="填写房号,如101户"/> )}
144
          <Button type="primary" onClick={() => checkValues()}>
144
          <Button type="primary" onClick={() => checkValues()}>
145
             校验房源
145
             校验房源
146
           </Button>
146
           </Button>
154
               pattern: new RegExp('^[0-9]{1,5}([.][0-9]{1,2})?$'),
154
               pattern: new RegExp('^[0-9]{1,5}([.][0-9]{1,2})?$'),
155
             },
155
             },
156
           ],
156
           ],
157
-        })(<Input/>)}万元
157
+        })(<Input placeholder="填写房源总价"/>)}万元
158
         </Form.Item>
158
         </Form.Item>
159
         <Form.Item label="预选基础热度">
159
         <Form.Item label="预选基础热度">
160
         {getFieldDecorator('heat', {
160
         {getFieldDecorator('heat', {