|
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+<template>
|
|
|
2
|
+ <div>
|
|
|
3
|
+ <main id="main" style="margin-top:-20px">
|
|
|
4
|
+ <div class="container pb-5">
|
|
|
5
|
+ <div class="row">
|
|
|
6
|
+ <div class="col">
|
|
|
7
|
+ <label v-if="!salesType" class="uniSelectLabel" for="saleType">Sale Type</label>
|
|
|
8
|
+ <select class="form-control uniSelect mb-3" name="saleType" v-model="salesType">
|
|
|
9
|
+ <option value="Sale">To Sell</option>
|
|
|
10
|
+ <option value="Rental">To Rent</option>
|
|
|
11
|
+ </select>
|
|
|
12
|
+ </div>
|
|
|
13
|
+ </div>
|
|
|
14
|
+ <div class="row">
|
|
|
15
|
+ <div class="col-md-6">
|
|
|
16
|
+ <div v-if="!property.propertyName">
|
|
|
17
|
+ <label for="propertyName" class="uniSelectLabel">PROPERTY NAME</label>
|
|
|
18
|
+ </div>
|
|
|
19
|
+ <input
|
|
|
20
|
+ class="form-control uniInput"
|
|
|
21
|
+ type="text"
|
|
|
22
|
+ name="propertyName"
|
|
|
23
|
+ v-model="property.propertyName"
|
|
|
24
|
+ />
|
|
|
25
|
+ </div>
|
|
|
26
|
+ <div class="col-md-6">
|
|
|
27
|
+ <div v-if="!property.propertyRef">
|
|
|
28
|
+ <label for="propertyName" class="uniSelectLabel">PROPERTY REFERENCE</label>
|
|
|
29
|
+ </div>
|
|
|
30
|
+ <input
|
|
|
31
|
+ class="form-control uniInput"
|
|
|
32
|
+ type="text"
|
|
|
33
|
+ name="propertyRef"
|
|
|
34
|
+ v-model="property.propertyRef"
|
|
|
35
|
+ />
|
|
|
36
|
+ </div>
|
|
|
37
|
+ </div>
|
|
|
38
|
+ <div class="row my-5">
|
|
|
39
|
+ <div class="col-md-6">
|
|
|
40
|
+ <select
|
|
|
41
|
+ class="form-control uniSelect"
|
|
|
42
|
+ name="propertyType"
|
|
|
43
|
+ id="propertyType"
|
|
|
44
|
+ v-model="property.propertyTypeId"
|
|
|
45
|
+ @change="PropertyTypeSelected"
|
|
|
46
|
+ >
|
|
|
47
|
+ <option value="0">Please select type *</option>
|
|
|
48
|
+ <option v-for="item in propertyTypes" :value="item.id" :key="item.id">{{
|
|
|
49
|
+ item.description
|
|
|
50
|
+ }}</option>
|
|
|
51
|
+ </select>
|
|
|
52
|
+ </div>
|
|
|
53
|
+ <div v-if="propertyType === 'Commercial'" class="col-md-2">
|
|
|
54
|
+ <div v-if="!property.unit">
|
|
|
55
|
+ <label for="unit" class="uniSelectLabel">UNIT</label>
|
|
|
56
|
+ </div>
|
|
|
57
|
+ <input
|
|
|
58
|
+ class="form-control uniInput"
|
|
|
59
|
+ type="text"
|
|
|
60
|
+ name="unit"
|
|
|
61
|
+ id="unit"
|
|
|
62
|
+ v-model="property.unit"
|
|
|
63
|
+ />
|
|
|
64
|
+ </div>
|
|
|
65
|
+ </div>
|
|
|
66
|
+ <div class="row my-5">
|
|
|
67
|
+ <div class="col-md-6">
|
|
|
68
|
+ <mapSection v-on:map-location="updateLocation" />
|
|
|
69
|
+ <input
|
|
|
70
|
+ type="checkbox"
|
|
|
71
|
+ v-model="property.showAddress"
|
|
|
72
|
+ style="margin-right: 10px; margin-top: 10px;"
|
|
|
73
|
+ />
|
|
|
74
|
+ <label>Show address on listing</label>
|
|
|
75
|
+ </div>
|
|
|
76
|
+ <div class="col-md-6">
|
|
|
77
|
+ <div class="row">
|
|
|
78
|
+ <div class="col-md-6">
|
|
|
79
|
+ <div v-if="property.price < 1">
|
|
|
80
|
+ <label
|
|
|
81
|
+ for="price"
|
|
|
82
|
+ class="uniSelectLabel"
|
|
|
83
|
+ style="text-transform:uppercase; margin-left:17px; background-color:white"
|
|
|
84
|
+ >{{ salesType }} Price</label
|
|
|
85
|
+ >
|
|
|
86
|
+ </div>
|
|
|
87
|
+ <input
|
|
|
88
|
+ class="form-control uniInput"
|
|
|
89
|
+ type="number"
|
|
|
90
|
+ name="price"
|
|
|
91
|
+ id="price"
|
|
|
92
|
+ v-model="property.price"
|
|
|
93
|
+ />
|
|
|
94
|
+ </div>
|
|
|
95
|
+ <div v-if="salesType === 'Rental'" class="col-md-6">
|
|
|
96
|
+ <select
|
|
|
97
|
+ class="form-control uniSelect"
|
|
|
98
|
+ name="propertyType"
|
|
|
99
|
+ id="propertyType"
|
|
|
100
|
+ v-model="property.pricePer"
|
|
|
101
|
+ >
|
|
|
102
|
+ <option value>Please select</option>
|
|
|
103
|
+ <option value="Month">Month</option>
|
|
|
104
|
+ <option value="Day">Day</option>
|
|
|
105
|
+ </select>
|
|
|
106
|
+ </div>
|
|
|
107
|
+ </div>
|
|
|
108
|
+ <div class="row my-3">
|
|
|
109
|
+ <div class="col-md-12">
|
|
|
110
|
+ <input
|
|
|
111
|
+ type="date"
|
|
|
112
|
+ class="form-control uniInput"
|
|
|
113
|
+ name="date"
|
|
|
114
|
+ v-model="property.dateAvailable"
|
|
|
115
|
+ />
|
|
|
116
|
+ </div>
|
|
|
117
|
+ </div>
|
|
|
118
|
+ <div class="row">
|
|
|
119
|
+ <div class="col-md-12">
|
|
|
120
|
+ <label for="Property Description" style="font-family:'muli'">Description:</label>
|
|
|
121
|
+ <vue-editor v-model="property.description" :editor-toolbar="customToolbar" />
|
|
|
122
|
+ <br />
|
|
|
123
|
+ <p>
|
|
|
124
|
+ * A listing fee of R380 including VAT is payable to list your Property on the
|
|
|
125
|
+ Uni-Vate website
|
|
|
126
|
+ </p>
|
|
|
127
|
+ </div>
|
|
|
128
|
+ </div>
|
|
|
129
|
+ </div>
|
|
|
130
|
+ </div>
|
|
|
131
|
+ <div class="row" />
|
|
|
132
|
+
|
|
|
133
|
+ <div class="section-header">
|
|
|
134
|
+ <h2>Property Information</h2>
|
|
|
135
|
+ </div>
|
|
|
136
|
+
|
|
|
137
|
+ <div class="row mb-3" v-for="item in propertyFields" :key="item.id">
|
|
|
138
|
+ <div class="col-md-6" v-for="field in item.fields" :key="field.id">
|
|
|
139
|
+ <div v-if="field.type === 'number'">
|
|
|
140
|
+ {{ field.name }}
|
|
|
141
|
+ <input type="number" class="form-control uniInput" v-model="field.value" />
|
|
|
142
|
+ </div>
|
|
|
143
|
+ <div v-else class="display:none"></div>
|
|
|
144
|
+ <div v-if="field.type === 'yesno'">
|
|
|
145
|
+ {{ field.name }}
|
|
|
146
|
+ <input type="checkbox" v-model="field.value" />
|
|
|
147
|
+ </div>
|
|
|
148
|
+ </div>
|
|
|
149
|
+ </div>
|
|
|
150
|
+ <!-- <UserField
|
|
|
151
|
+ v-if="propertyOverviewFields.length > 0"
|
|
|
152
|
+ :fields="propertyOverviewFields[0].fields"
|
|
|
153
|
+ @UpdateUserDefinedFields="UpdateUserDefinedFields"
|
|
|
154
|
+ :id="1"
|
|
|
155
|
+ ></UserField>
|
|
|
156
|
+ <div class="row">
|
|
|
157
|
+ <div class="col-md-12">
|
|
|
158
|
+ <div v-for="item in propertyFields" :key="item.id">
|
|
|
159
|
+ <div class="row">
|
|
|
160
|
+ <div class="col-sm-12">
|
|
|
161
|
+ <div class="section-header">
|
|
|
162
|
+ <h2>{{ item.name }}</h2>
|
|
|
163
|
+ </div>
|
|
|
164
|
+ </div>
|
|
|
165
|
+ </div>
|
|
|
166
|
+ <UserField
|
|
|
167
|
+ :fields="item.fields"
|
|
|
168
|
+ :id="item.name"
|
|
|
169
|
+ @UpdateUserDefinedFields="UpdateUserDefinedFields"
|
|
|
170
|
+ :fieldValues="item.fields"
|
|
|
171
|
+ />
|
|
|
172
|
+ </div>
|
|
|
173
|
+ </div>
|
|
|
174
|
+ </div> -->
|
|
|
175
|
+ <div class="row">
|
|
|
176
|
+ <div class="col-sm-12">
|
|
|
177
|
+ <div class="section-header">
|
|
|
178
|
+ <h2>Media</h2>
|
|
|
179
|
+ </div>
|
|
|
180
|
+ </div>
|
|
|
181
|
+ </div>
|
|
|
182
|
+ <div class="form-group row">
|
|
|
183
|
+ <div class="col-md-12">
|
|
|
184
|
+ <label class="uniSelectLabel">Virtual Tour (URL)</label>
|
|
|
185
|
+ <div class="input-group-prepend">
|
|
|
186
|
+ <input
|
|
|
187
|
+ class="form-control uniInput"
|
|
|
188
|
+ type="link"
|
|
|
189
|
+ name="vtlink"
|
|
|
190
|
+ id="vtlink"
|
|
|
191
|
+ v-model="property.virtualTour"
|
|
|
192
|
+ />
|
|
|
193
|
+ </div>
|
|
|
194
|
+ </div>
|
|
|
195
|
+ </div>
|
|
|
196
|
+ <div class="row">
|
|
|
197
|
+ <div class="col-md-12">
|
|
|
198
|
+ <label class="uniSelectLabel">Video (URL)</label>
|
|
|
199
|
+ <div class="input-group-prepend">
|
|
|
200
|
+ <input
|
|
|
201
|
+ class="form-control uniInput"
|
|
|
202
|
+ type="link"
|
|
|
203
|
+ name="vlink"
|
|
|
204
|
+ id="vlink"
|
|
|
205
|
+ v-model="property.video"
|
|
|
206
|
+ />
|
|
|
207
|
+ </div>
|
|
|
208
|
+ </div>
|
|
|
209
|
+ </div>
|
|
|
210
|
+ <div class="row mt-3">
|
|
|
211
|
+ <div class="col-md-6">
|
|
|
212
|
+ <div class="content-header">
|
|
|
213
|
+ <h2>Images</h2>
|
|
|
214
|
+ </div>
|
|
|
215
|
+
|
|
|
216
|
+ <div class="input-group-prepend"></div>
|
|
|
217
|
+ </div>
|
|
|
218
|
+ </div>
|
|
|
219
|
+ <ImageLoad
|
|
|
220
|
+ :loadedImages="loadedImages"
|
|
|
221
|
+ :savedImages="propertyImages"
|
|
|
222
|
+ @DefaultImage="UpdateDefaultImage"
|
|
|
223
|
+ />
|
|
|
224
|
+ <button v-if="!wait" type="button" @click="SubmitData()" class="btn-solid-blue">
|
|
|
225
|
+ Save
|
|
|
226
|
+ </button>
|
|
|
227
|
+ <div v-if="showPropertyTypeError">
|
|
|
228
|
+ <p class="alert myError">
|
|
|
229
|
+ Missing fields. Please fill in all required fields. Marked with *
|
|
|
230
|
+ </p>
|
|
|
231
|
+ </div>
|
|
|
232
|
+ <div v-if="wait" id="preloader"></div>
|
|
|
233
|
+ </div>
|
|
|
234
|
+ </main>
|
|
|
235
|
+ </div>
|
|
|
236
|
+</template>
|
|
|
237
|
+
|
|
|
238
|
+<script>
|
|
|
239
|
+/* eslint-disable */
|
|
|
240
|
+import { mapState, mapActions } from "vuex";
|
|
|
241
|
+import { VueEditor } from "vue2-editor";
|
|
|
242
|
+import UserField from "../../propertyUserField.vue";
|
|
|
243
|
+import ImageLoad from "../../propertyImage.vue";
|
|
|
244
|
+import Log from "../../../../assets/Log";
|
|
|
245
|
+import carouselSection from "./carouselSection";
|
|
|
246
|
+import mapSection from "../../mapSection";
|
|
|
247
|
+
|
|
|
248
|
+export default {
|
|
|
249
|
+ name: "PropertyCreate",
|
|
|
250
|
+ components: {
|
|
|
251
|
+ UserField,
|
|
|
252
|
+ ImageLoad,
|
|
|
253
|
+ VueEditor,
|
|
|
254
|
+ carouselSection,
|
|
|
255
|
+ mapSection
|
|
|
256
|
+ },
|
|
|
257
|
+ data() {
|
|
|
258
|
+ return {
|
|
|
259
|
+ propertyType: "Residential",
|
|
|
260
|
+ salesType: "Rental",
|
|
|
261
|
+ images: [],
|
|
|
262
|
+ propertyFieldValues: [],
|
|
|
263
|
+ defaultImage: 0,
|
|
|
264
|
+ wait: false,
|
|
|
265
|
+ customToolbar: [
|
|
|
266
|
+ [{ header: [false, 1, 2, 3, 4, 5, 6] }],
|
|
|
267
|
+ ["bold", "italic", "underline", "strike"],
|
|
|
268
|
+ [{ align: "" }, { align: "center" }, { align: "right" }, { align: "justify" }],
|
|
|
269
|
+ [{ list: "ordered" }, { list: "bullet" }, { list: "check" }],
|
|
|
270
|
+ [{ script: "sub" }, { script: "super" }],
|
|
|
271
|
+ [{ indent: "-1" }, { indent: "+1" }]
|
|
|
272
|
+ ],
|
|
|
273
|
+ error: "",
|
|
|
274
|
+ addressSet: false,
|
|
|
275
|
+ showPropertyTypeError: false,
|
|
|
276
|
+ showDateError: false,
|
|
|
277
|
+ user: Log.getUser(),
|
|
|
278
|
+ mayEdit: Log.isLoggedIn()
|
|
|
279
|
+ };
|
|
|
280
|
+ },
|
|
|
281
|
+ methods: {
|
|
|
282
|
+ ...mapActions("property", [
|
|
|
283
|
+ "getPropertyTypes",
|
|
|
284
|
+ "getPropertyOverviewFields",
|
|
|
285
|
+ "getPropertyFields",
|
|
|
286
|
+ "saveProperty",
|
|
|
287
|
+ "getProperty",
|
|
|
288
|
+ "getPropertyImages",
|
|
|
289
|
+ "clearPropertyImages",
|
|
|
290
|
+ "getPropertyEditDisplay",
|
|
|
291
|
+ "getPropertySavedOverviewFields",
|
|
|
292
|
+ "getPropertySavedFields",
|
|
|
293
|
+ "getSavedPropertyData"
|
|
|
294
|
+ ]),
|
|
|
295
|
+ updateLocation(place) {
|
|
|
296
|
+ this.addressSet = true;
|
|
|
297
|
+ this.property.streetNumber = place.streetNumber;
|
|
|
298
|
+ this.property.streetName = place.streetName;
|
|
|
299
|
+ this.property.suburb = place.suburb;
|
|
|
300
|
+ this.property.city = place.city;
|
|
|
301
|
+ this.property.province = place.province;
|
|
|
302
|
+ this.property.country = place.country;
|
|
|
303
|
+ this.property.postalCode = place.postalCode;
|
|
|
304
|
+ this.property.addressUrl = place.url;
|
|
|
305
|
+ this.property.propertCoords = place.coords;
|
|
|
306
|
+ },
|
|
|
307
|
+ TypeChanged() {
|
|
|
308
|
+ this.property.propertyUsageType = this.propertyType;
|
|
|
309
|
+ },
|
|
|
310
|
+ SubmitData() {
|
|
|
311
|
+ if (this.property.propertyTypeId === 0) {
|
|
|
312
|
+ this.showPropertyTypeError = true;
|
|
|
313
|
+ }
|
|
|
314
|
+
|
|
|
315
|
+ if (this.salesType === "Rental" && this.property.dateAvailable === "undef") {
|
|
|
316
|
+ this.showDateError = true;
|
|
|
317
|
+ }
|
|
|
318
|
+
|
|
|
319
|
+ if (this.showPropertyTypeError || this.showDateError) {
|
|
|
320
|
+ return;
|
|
|
321
|
+ }
|
|
|
322
|
+
|
|
|
323
|
+ this.wait = true;
|
|
|
324
|
+ if (this.salesType === "Sale") {
|
|
|
325
|
+ this.property.isSale = true;
|
|
|
326
|
+ this.property.dateAvailable = new Date();
|
|
|
327
|
+ }
|
|
|
328
|
+ if (this.images.length > 0) {
|
|
|
329
|
+ this.property.propertyImages = [];
|
|
|
330
|
+ }
|
|
|
331
|
+ // eslint-disable-next-line no-plusplus
|
|
|
332
|
+ for (let i = 0; i < this.images.length; i++) {
|
|
|
333
|
+ let setAsDefault = false;
|
|
|
334
|
+ if (i === this.defaultImage) {
|
|
|
335
|
+ setAsDefault = true;
|
|
|
336
|
+ }
|
|
|
337
|
+ this.property.propertyImages.push({
|
|
|
338
|
+ image: this.images[i],
|
|
|
339
|
+ isDefault: setAsDefault
|
|
|
340
|
+ });
|
|
|
341
|
+ }
|
|
|
342
|
+ this.property.propertyUserFields = this.propertyFields;
|
|
|
343
|
+
|
|
|
344
|
+ if (this.user) {
|
|
|
345
|
+ this.property.userId = this.user.id;
|
|
|
346
|
+ }
|
|
|
347
|
+ this.property.propertyUserFields.forEach(item => {
|
|
|
348
|
+ item.fields.forEach(field => {
|
|
|
349
|
+ if (field.type === "yesno") {
|
|
|
350
|
+ if (field.value) {
|
|
|
351
|
+ field.value = "yes";
|
|
|
352
|
+ } else {
|
|
|
353
|
+ field.value = "no";
|
|
|
354
|
+ }
|
|
|
355
|
+ }
|
|
|
356
|
+ });
|
|
|
357
|
+ });
|
|
|
358
|
+
|
|
|
359
|
+ this.saveProperty(this.property)
|
|
|
360
|
+ .then(fulfilled => {
|
|
|
361
|
+ this.$router.push(`/property/residential/property/${fulfilled.data.id}`);
|
|
|
362
|
+ })
|
|
|
363
|
+ .catch(error => {
|
|
|
364
|
+ console.log(error.message);
|
|
|
365
|
+ });
|
|
|
366
|
+ },
|
|
|
367
|
+ Close() {
|
|
|
368
|
+ this.$router.push("/property/admin/list/my");
|
|
|
369
|
+ },
|
|
|
370
|
+ Login() {
|
|
|
371
|
+ this.$router.push("/user/login");
|
|
|
372
|
+ },
|
|
|
373
|
+ PropertyTypeSelected(item) {
|
|
|
374
|
+ if (item.target.options.selectedIndex > 0) {
|
|
|
375
|
+ this.showPropertyTypeError = false;
|
|
|
376
|
+ } else {
|
|
|
377
|
+ this.showPropertyTypeError = true;
|
|
|
378
|
+ }
|
|
|
379
|
+ },
|
|
|
380
|
+ loadedImages(values) {
|
|
|
381
|
+ this.images = values;
|
|
|
382
|
+ },
|
|
|
383
|
+ UpdateUserDefinedFields(item) {
|
|
|
384
|
+ let update = false;
|
|
|
385
|
+ this.propertyFieldValues.forEach(element => {
|
|
|
386
|
+ console.log(element);
|
|
|
387
|
+
|
|
|
388
|
+ if (element.userDefinedFieldId === item.userDefinedFieldId) {
|
|
|
389
|
+ element.value = item.value;
|
|
|
390
|
+ update = true;
|
|
|
391
|
+ }
|
|
|
392
|
+ });
|
|
|
393
|
+ if (!update) {
|
|
|
394
|
+ this.propertyFieldValues.push(item);
|
|
|
395
|
+ }
|
|
|
396
|
+ },
|
|
|
397
|
+ UpdateDefaultImage(item) {
|
|
|
398
|
+ this.defaultImage = item;
|
|
|
399
|
+ },
|
|
|
400
|
+ userFieldsArrFunc(arr, len) {
|
|
|
401
|
+ const fields = [];
|
|
|
402
|
+ const i = 0;
|
|
|
403
|
+ const n = arr.length;
|
|
|
404
|
+
|
|
|
405
|
+ while (i < n) {
|
|
|
406
|
+ fields.push(arr.slice(i, (i += len)));
|
|
|
407
|
+ }
|
|
|
408
|
+ return fields;
|
|
|
409
|
+ }
|
|
|
410
|
+ },
|
|
|
411
|
+ mounted() {
|
|
|
412
|
+ console.log(this.propertyFields);
|
|
|
413
|
+
|
|
|
414
|
+ this.wait = false;
|
|
|
415
|
+ this.getProperty(0);
|
|
|
416
|
+ this.clearPropertyImages();
|
|
|
417
|
+ this.images = [];
|
|
|
418
|
+ this.defaultImage = 0;
|
|
|
419
|
+
|
|
|
420
|
+ if (this.propertyOverviewFields.length > 0) {
|
|
|
421
|
+ this.propertyOverviewFields = [];
|
|
|
422
|
+ }
|
|
|
423
|
+ if (this.propertyFields.length > 0) {
|
|
|
424
|
+ this.propertyFields = [];
|
|
|
425
|
+ }
|
|
|
426
|
+ if (this.property.description !== "") {
|
|
|
427
|
+ this.property.description = "";
|
|
|
428
|
+ }
|
|
|
429
|
+
|
|
|
430
|
+ if (this.$route.params.propertyUsageType) {
|
|
|
431
|
+ this.propertyType = this.$route.params.propertyUsageType;
|
|
|
432
|
+ }
|
|
|
433
|
+ this.salesType = this.$route.params.saleType;
|
|
|
434
|
+
|
|
|
435
|
+ this.getPropertyTypes(this.propertyType);
|
|
|
436
|
+
|
|
|
437
|
+ this.getPropertyOverviewFields();
|
|
|
438
|
+ this.getPropertyFields(this.propertyType);
|
|
|
439
|
+ },
|
|
|
440
|
+ computed: {
|
|
|
441
|
+ ...mapState("property", [
|
|
|
442
|
+ "propertyTypes",
|
|
|
443
|
+ "propertyOverviewFields",
|
|
|
444
|
+ "propertyFields",
|
|
|
445
|
+ "property",
|
|
|
446
|
+ "propertyImages"
|
|
|
447
|
+ ]),
|
|
|
448
|
+ ...mapState("authentication", ["user"]),
|
|
|
449
|
+ SalesTypeChanged() {
|
|
|
450
|
+ // eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
|
|
451
|
+ // this.propertyType = this.$route.params.propType;
|
|
|
452
|
+ // eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
|
|
453
|
+ this.salesType = this.$route.params.saleType;
|
|
|
454
|
+ if (this.property && this.property.propertyUsageType) {
|
|
|
455
|
+ // eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
|
|
456
|
+ this.propertyType = this.property.propertyUsageType;
|
|
|
457
|
+ }
|
|
|
458
|
+
|
|
|
459
|
+ if (!this.$route.query.id) {
|
|
|
460
|
+ this.getPropertyFields(this.propertyType);
|
|
|
461
|
+ }
|
|
|
462
|
+
|
|
|
463
|
+ return this.propertyType;
|
|
|
464
|
+ },
|
|
|
465
|
+ userFieldsArr() {
|
|
|
466
|
+ return this.userFieldsArrFunc(this.propertyFields, 4);
|
|
|
467
|
+ }
|
|
|
468
|
+ },
|
|
|
469
|
+ watch: {
|
|
|
470
|
+ SalesTypeChanged() {
|
|
|
471
|
+ return null;
|
|
|
472
|
+ }
|
|
|
473
|
+ }
|
|
|
474
|
+};
|
|
|
475
|
+</script>
|
|
|
476
|
+
|
|
|
477
|
+<style lang="scss" scoped></style>
|