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

+ 6
- 6
src/pages/house/edit/components/houseAdd.jsx 查看文件

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