|
@@ -108,17 +108,130 @@
|
108
|
108
|
/>
|
109
|
109
|
</div>
|
110
|
110
|
</div>
|
111
|
|
- <div class="row">
|
|
111
|
+ <div class="row my-3">
|
|
112
|
+ <br />
|
|
113
|
+ </div>
|
|
114
|
+ <div class="row my-3">
|
112
|
115
|
<div class="col-md-12">
|
113
|
|
- <label for="Property Description" style="font-family:'muli'">Description:</label>
|
114
|
|
- <vue-editor v-model="property.description" :editor-toolbar="customToolbar" />
|
115
|
|
- <br />
|
116
|
|
- <p>
|
117
|
|
- * A listing fee of R380 including VAT is payable to list your Property on the
|
118
|
|
- Uni-Vate website
|
119
|
|
- </p>
|
|
116
|
+ <div v-if="!property.streetNumber">
|
|
117
|
+ <label for="streetNumber" class="uniSelectLabel">STREET NUMBER</label>
|
|
118
|
+ </div>
|
|
119
|
+ <input
|
|
120
|
+ class="form-control uniInput"
|
|
121
|
+ type="text"
|
|
122
|
+ name="streetNumber"
|
|
123
|
+ id="unit"
|
|
124
|
+ v-model="property.streetNumber"
|
|
125
|
+ disabled
|
|
126
|
+ />
|
120
|
127
|
</div>
|
121
|
128
|
</div>
|
|
129
|
+ <div class="row my-3">
|
|
130
|
+ <div class="col-md-12">
|
|
131
|
+ <div v-if="!property.streetName">
|
|
132
|
+ <label for="streetName" class="uniSelectLabel">STREET NAME</label>
|
|
133
|
+ </div>
|
|
134
|
+ <input
|
|
135
|
+ class="form-control uniInput"
|
|
136
|
+ type="text"
|
|
137
|
+ name="streetName"
|
|
138
|
+ id="unit"
|
|
139
|
+ v-model="property.streetName"
|
|
140
|
+ disabled
|
|
141
|
+ />
|
|
142
|
+ </div>
|
|
143
|
+ </div>
|
|
144
|
+ <div class="row my-3">
|
|
145
|
+ <div class="col-md-12">
|
|
146
|
+ <div v-if="!property.suburb">
|
|
147
|
+ <label for="suburb" class="uniSelectLabel">SUBURB</label>
|
|
148
|
+ </div>
|
|
149
|
+ <input
|
|
150
|
+ class="form-control uniInput"
|
|
151
|
+ type="text"
|
|
152
|
+ name="suburb"
|
|
153
|
+ id="unit"
|
|
154
|
+ v-model="property.suburb"
|
|
155
|
+ disabled
|
|
156
|
+ />
|
|
157
|
+ </div>
|
|
158
|
+ </div>
|
|
159
|
+ <div class="row my-3">
|
|
160
|
+ <div class="col-md-12">
|
|
161
|
+ <div v-if="!property.city">
|
|
162
|
+ <label for="city" class="uniSelectLabel">CITY</label>
|
|
163
|
+ </div>
|
|
164
|
+ <input
|
|
165
|
+ class="form-control uniInput"
|
|
166
|
+ type="text"
|
|
167
|
+ name="city"
|
|
168
|
+ id="unit"
|
|
169
|
+ v-model="property.city"
|
|
170
|
+ disabled
|
|
171
|
+ />
|
|
172
|
+ </div>
|
|
173
|
+ </div>
|
|
174
|
+ <div class="row my-3">
|
|
175
|
+ <div class="col-md-12">
|
|
176
|
+ <div v-if="!property.province">
|
|
177
|
+ <label for="province" class="uniSelectLabel">PROVINCE</label>
|
|
178
|
+ </div>
|
|
179
|
+ <input
|
|
180
|
+ class="form-control uniInput"
|
|
181
|
+ type="text"
|
|
182
|
+ name="province"
|
|
183
|
+ id="unit"
|
|
184
|
+ v-model="property.province"
|
|
185
|
+ disabled
|
|
186
|
+ />
|
|
187
|
+ </div>
|
|
188
|
+ </div>
|
|
189
|
+ <div class="row my-3">
|
|
190
|
+ <div class="col-md-12">
|
|
191
|
+ <div v-if="!property.postalCode">
|
|
192
|
+ <label for="postalCode" class="uniSelectLabel">POSTAL CODE</label>
|
|
193
|
+ </div>
|
|
194
|
+ <input
|
|
195
|
+ class="form-control uniInput"
|
|
196
|
+ type="text"
|
|
197
|
+ name="postalCode"
|
|
198
|
+ id="unit"
|
|
199
|
+ v-model="property.postalCode"
|
|
200
|
+ disabled
|
|
201
|
+ />
|
|
202
|
+ </div>
|
|
203
|
+ </div>
|
|
204
|
+ <div class="row my-3">
|
|
205
|
+ <div class="col-md-12">
|
|
206
|
+ <div v-if="!property.country">
|
|
207
|
+ <label for="country" class="uniSelectLabel">COUNTRY</label>
|
|
208
|
+ </div>
|
|
209
|
+ <input
|
|
210
|
+ class="form-control uniInput"
|
|
211
|
+ type="text"
|
|
212
|
+ name="country"
|
|
213
|
+ id="unit"
|
|
214
|
+ v-model="property.country"
|
|
215
|
+ disabled
|
|
216
|
+ />
|
|
217
|
+ </div>
|
|
218
|
+ </div>
|
|
219
|
+ <div class="row my-3">
|
|
220
|
+ <div class="col-md-12">
|
|
221
|
+ <button type="button" @click="clearAddress()" class="btn-solid-blue">Clear Address</button>
|
|
222
|
+ </div>
|
|
223
|
+ </div>
|
|
224
|
+ </div>
|
|
225
|
+ </div>
|
|
226
|
+ <div class="row">
|
|
227
|
+ <div class="col-md-12">
|
|
228
|
+ <label for="Property Description" style="font-family:'muli'">Description:</label>
|
|
229
|
+ <vue-editor v-model="property.description" :editor-toolbar="customToolbar" />
|
|
230
|
+ <br />
|
|
231
|
+ <p>
|
|
232
|
+ * A listing fee of R380 including VAT is payable to list your Property on the
|
|
233
|
+ Uni-Vate website
|
|
234
|
+ </p>
|
122
|
235
|
</div>
|
123
|
236
|
</div>
|
124
|
237
|
<div class="row">
|
|
@@ -361,6 +474,18 @@ export default {
|
361
|
474
|
UpdateDefaultImage(item) {
|
362
|
475
|
this.defaultImage = item;
|
363
|
476
|
},
|
|
477
|
+ clearAddress() {
|
|
478
|
+ this.addressSet = false;
|
|
479
|
+ this.property.streetNumber = undefined;
|
|
480
|
+ this.property.streetName = undefined;
|
|
481
|
+ this.property.suburb = undefined;
|
|
482
|
+ this.property.city = undefined;
|
|
483
|
+ this.property.province = undefined;
|
|
484
|
+ this.property.country = undefined;
|
|
485
|
+ this.property.postalCode = undefined;
|
|
486
|
+ this.property.addressUrl = undefined;
|
|
487
|
+ this.property.propertCoords = undefined;
|
|
488
|
+ },
|
364
|
489
|
},
|
365
|
490
|
mounted() {
|
366
|
491
|
this.wait = false;
|