瀏覽代碼

Opened Address Fields on Property pages

master
George Williams 4 年之前
父節點
當前提交
6bbfd86e08

+ 36
- 38
src/components/property/commercial/createProperty/commercialCreateNew.vue 查看文件

51
               @change="PropertyTypeSelected"
51
               @change="PropertyTypeSelected"
52
             >
52
             >
53
               <option value="0">Please select type *</option>
53
               <option value="0">Please select type *</option>
54
-              <option v-for="item in propertyTypes" :value="item.id" :key="item.id">{{
54
+              <option v-for="item in propertyTypes" :value="item.id" :key="item.id">
55
+                {{
55
                 item.description
56
                 item.description
56
-              }}</option>
57
+                }}
58
+              </option>
57
             </select>
59
             </select>
58
           </div>
60
           </div>
59
           <div v-if="propertyType === 'Commercial'" class="col-md-2">
61
           <div v-if="propertyType === 'Commercial'" class="col-md-2">
89
                     for="price"
91
                     for="price"
90
                     class="uniSelectLabel"
92
                     class="uniSelectLabel"
91
                     style="text-transform:uppercase; margin-left:17px; background-color:white"
93
                     style="text-transform:uppercase; margin-left:17px; background-color:white"
92
-                    >{{ salesType }} Price</label
93
-                  >
94
+                  >{{ salesType }} Price</label>
94
                 </div>
95
                 </div>
95
                 <float-label label="price">
96
                 <float-label label="price">
96
                   <currency-input
97
                   <currency-input
97
-                    onClick="this.setSelectionRange(0, this.value.length)"
98
+                    onclick="this.setSelectionRange(0, this.value.length)"
98
                     name="price"
99
                     name="price"
99
                     :value="value"
100
                     :value="value"
100
                     @input="value = $event"
101
                     @input="value = $event"
141
                   name="streetNumber"
142
                   name="streetNumber"
142
                   id="unit"
143
                   id="unit"
143
                   v-model="property.streetNumber"
144
                   v-model="property.streetNumber"
144
-                  disabled
145
                 />
145
                 />
146
               </div>
146
               </div>
147
             </div>
147
             </div>
156
                   name="streetName"
156
                   name="streetName"
157
                   id="unit"
157
                   id="unit"
158
                   v-model="property.streetName"
158
                   v-model="property.streetName"
159
-                  disabled
160
                 />
159
                 />
161
               </div>
160
               </div>
162
             </div>
161
             </div>
171
                   name="suburb"
170
                   name="suburb"
172
                   id="unit"
171
                   id="unit"
173
                   v-model="property.suburb"
172
                   v-model="property.suburb"
174
-                  disabled
175
                 />
173
                 />
176
               </div>
174
               </div>
177
             </div>
175
             </div>
186
                   name="city"
184
                   name="city"
187
                   id="unit"
185
                   id="unit"
188
                   v-model="property.city"
186
                   v-model="property.city"
189
-                  disabled
190
                 />
187
                 />
191
               </div>
188
               </div>
192
             </div>
189
             </div>
201
                   name="province"
198
                   name="province"
202
                   id="unit"
199
                   id="unit"
203
                   v-model="property.province"
200
                   v-model="property.province"
204
-                  disabled
205
                 />
201
                 />
206
               </div>
202
               </div>
207
             </div>
203
             </div>
216
                   name="postalCode"
212
                   name="postalCode"
217
                   id="unit"
213
                   id="unit"
218
                   v-model="property.postalCode"
214
                   v-model="property.postalCode"
219
-                  disabled
220
                 />
215
                 />
221
               </div>
216
               </div>
222
             </div>
217
             </div>
231
                   name="country"
226
                   name="country"
232
                   id="unit"
227
                   id="unit"
233
                   v-model="property.country"
228
                   v-model="property.country"
234
-                  disabled
235
                 />
229
                 />
236
               </div>
230
               </div>
237
             </div>
231
             </div>
238
             <div class="row my-3">
232
             <div class="row my-3">
239
               <div class="col-md-12">
233
               <div class="col-md-12">
240
-                <button type="button" @click="clearAddress()" class="btn-solid-blue">
241
-                  Clear Address
242
-                </button>
234
+                <button type="button" @click="clearAddress()" class="btn-solid-blue">Clear Address</button>
243
               </div>
235
               </div>
244
             </div>
236
             </div>
245
           </div>
237
           </div>
321
           :savedImages="propertyImages"
313
           :savedImages="propertyImages"
322
           @DefaultImage="UpdateDefaultImage"
314
           @DefaultImage="UpdateDefaultImage"
323
         />
315
         />
324
-        <button v-if="!wait" type="button" @click="SubmitData()" class="btn-solid-blue">
325
-          Save
326
-        </button>
316
+        <button v-if="!wait" type="button" @click="SubmitData()" class="btn-solid-blue">Save</button>
327
         <div v-if="showPropertyTypeError">
317
         <div v-if="showPropertyTypeError">
328
-          <p class="alert myError">
329
-            Missing fields. Please fill in all required fields. Marked with *
330
-          </p>
318
+          <p class="alert myError">Missing fields. Please fill in all required fields. Marked with *</p>
331
         </div>
319
         </div>
332
         <div v-if="wait" id="preloader"></div>
320
         <div v-if="wait" id="preloader"></div>
333
       </div>
321
       </div>
352
     ImageLoad,
340
     ImageLoad,
353
     VueEditor,
341
     VueEditor,
354
     carouselSection,
342
     carouselSection,
355
-    mapSection
343
+    mapSection,
356
   },
344
   },
357
   data() {
345
   data() {
358
     return {
346
     return {
365
       customToolbar: [
353
       customToolbar: [
366
         [{ header: [false, 1, 2, 3, 4, 5, 6] }],
354
         [{ header: [false, 1, 2, 3, 4, 5, 6] }],
367
         ["bold", "italic", "underline", "strike"],
355
         ["bold", "italic", "underline", "strike"],
368
-        [{ align: "" }, { align: "center" }, { align: "right" }, { align: "justify" }],
356
+        [
357
+          { align: "" },
358
+          { align: "center" },
359
+          { align: "right" },
360
+          { align: "justify" },
361
+        ],
369
         [{ list: "ordered" }, { list: "bullet" }, { list: "check" }],
362
         [{ list: "ordered" }, { list: "bullet" }, { list: "check" }],
370
         [{ script: "sub" }, { script: "super" }],
363
         [{ script: "sub" }, { script: "super" }],
371
-        [{ indent: "-1" }, { indent: "+1" }]
364
+        [{ indent: "-1" }, { indent: "+1" }],
372
       ],
365
       ],
373
       error: "",
366
       error: "",
374
       addressSet: false,
367
       addressSet: false,
375
       showPropertyTypeError: false,
368
       showPropertyTypeError: false,
376
       showDateError: false,
369
       showDateError: false,
377
       user: Log.getUser(),
370
       user: Log.getUser(),
378
-      mayEdit: Log.isLoggedIn()
371
+      mayEdit: Log.isLoggedIn(),
379
     };
372
     };
380
   },
373
   },
381
   methods: {
374
   methods: {
390
       "getPropertyEditDisplay",
383
       "getPropertyEditDisplay",
391
       "getPropertySavedOverviewFields",
384
       "getPropertySavedOverviewFields",
392
       "getPropertySavedFields",
385
       "getPropertySavedFields",
393
-      "getSavedPropertyData"
386
+      "getSavedPropertyData",
394
     ]),
387
     ]),
395
     updateLocation(place) {
388
     updateLocation(place) {
396
       this.addressSet = true;
389
       this.addressSet = true;
412
         this.showPropertyTypeError = true;
405
         this.showPropertyTypeError = true;
413
       }
406
       }
414
 
407
 
415
-      if (this.salesType === "Rental" && this.property.dateAvailable === "undef") {
408
+      if (
409
+        this.salesType === "Rental" &&
410
+        this.property.dateAvailable === "undef"
411
+      ) {
416
         this.showDateError = true;
412
         this.showDateError = true;
417
       }
413
       }
418
 
414
 
436
         }
432
         }
437
         this.property.propertyImages.push({
433
         this.property.propertyImages.push({
438
           image: this.images[i],
434
           image: this.images[i],
439
-          isDefault: setAsDefault
435
+          isDefault: setAsDefault,
440
         });
436
         });
441
       }
437
       }
442
       this.property.propertyUserFields = this.propertyFieldValues;
438
       this.property.propertyUserFields = this.propertyFieldValues;
445
         this.property.userId = this.user.id;
441
         this.property.userId = this.user.id;
446
       }
442
       }
447
 
443
 
448
-      this.property.propertyUserFields.forEach(item => {
444
+      this.property.propertyUserFields.forEach((item) => {
449
         if (item.value === true) {
445
         if (item.value === true) {
450
           item.value = "yes";
446
           item.value = "yes";
451
         } else if (item.value === false) {
447
         } else if (item.value === false) {
456
       console.log(this.property);
452
       console.log(this.property);
457
 
453
 
458
       this.saveProperty(this.property)
454
       this.saveProperty(this.property)
459
-        .then(fulfilled => {
460
-          this.$router.push(`/property/commercial/property/${fulfilled.data.id}`);
455
+        .then((fulfilled) => {
456
+          this.$router.push(
457
+            `/property/commercial/property/${fulfilled.data.id}`
458
+          );
461
         })
459
         })
462
-        .catch(error => {
460
+        .catch((error) => {
463
           console.log(error.message);
461
           console.log(error.message);
464
         });
462
         });
465
     },
463
     },
481
     },
479
     },
482
     UpdateUserDefinedFields(item) {
480
     UpdateUserDefinedFields(item) {
483
       let update = false;
481
       let update = false;
484
-      this.propertyFieldValues.forEach(element => {
482
+      this.propertyFieldValues.forEach((element) => {
485
         if (element.userDefinedFieldId === item.userDefinedFieldId) {
483
         if (element.userDefinedFieldId === item.userDefinedFieldId) {
486
           element.value = item.value;
484
           element.value = item.value;
487
           update = true;
485
           update = true;
505
       this.property.postalCode = undefined;
503
       this.property.postalCode = undefined;
506
       this.property.addressUrl = undefined;
504
       this.property.addressUrl = undefined;
507
       this.property.propertCoords = undefined;
505
       this.property.propertCoords = undefined;
508
-    }
506
+    },
509
   },
507
   },
510
   mounted() {
508
   mounted() {
511
     this.wait = false;
509
     this.wait = false;
538
       "propertyOverviewFields",
536
       "propertyOverviewFields",
539
       "propertyFields",
537
       "propertyFields",
540
       "property",
538
       "property",
541
-      "propertyImages"
539
+      "propertyImages",
542
     ]),
540
     ]),
543
     ...mapState("authentication", ["user"]),
541
     ...mapState("authentication", ["user"]),
544
     ...mapGetters("fees", ["getListingFee"]),
542
     ...mapGetters("fees", ["getListingFee"]),
559
       this.getPropertyTypes(this.propertyType);
557
       this.getPropertyTypes(this.propertyType);
560
 
558
 
561
       return this.propertyType;
559
       return this.propertyType;
562
-    }
560
+    },
563
   },
561
   },
564
   watch: {
562
   watch: {
565
     SalesTypeChanged() {
563
     SalesTypeChanged() {
566
       return null;
564
       return null;
567
-    }
568
-  }
565
+    },
566
+  },
569
 };
567
 };
570
 </script>
568
 </script>
571
 
569
 

+ 7
- 7
src/components/property/editProperty/editProperty.vue 查看文件

160
                         name="streetNumber"
160
                         name="streetNumber"
161
                         id="unit"
161
                         id="unit"
162
                         v-model="property.streetNumber"
162
                         v-model="property.streetNumber"
163
-                        disabled
163
+                        :disabled="!canEdit"
164
                       />
164
                       />
165
                     </div>
165
                     </div>
166
                   </div>
166
                   </div>
175
                         name="streetName"
175
                         name="streetName"
176
                         id="unit"
176
                         id="unit"
177
                         v-model="property.streetName"
177
                         v-model="property.streetName"
178
-                        disabled
178
+                        :disabled="!canEdit"
179
                       />
179
                       />
180
                     </div>
180
                     </div>
181
                   </div>
181
                   </div>
190
                         name="suburb"
190
                         name="suburb"
191
                         id="unit"
191
                         id="unit"
192
                         v-model="property.suburb"
192
                         v-model="property.suburb"
193
-                        disabled
193
+                        :disabled="!canEdit"
194
                       />
194
                       />
195
                     </div>
195
                     </div>
196
                   </div>
196
                   </div>
205
                         name="city"
205
                         name="city"
206
                         id="unit"
206
                         id="unit"
207
                         v-model="property.city"
207
                         v-model="property.city"
208
-                        disabled
208
+                        :disabled="!canEdit"
209
                       />
209
                       />
210
                     </div>
210
                     </div>
211
                   </div>
211
                   </div>
220
                         name="province"
220
                         name="province"
221
                         id="unit"
221
                         id="unit"
222
                         v-model="property.province"
222
                         v-model="property.province"
223
-                        disabled
223
+                        :disabled="!canEdit"
224
                       />
224
                       />
225
                     </div>
225
                     </div>
226
                   </div>
226
                   </div>
235
                         name="postalCode"
235
                         name="postalCode"
236
                         id="unit"
236
                         id="unit"
237
                         v-model="property.postalCode"
237
                         v-model="property.postalCode"
238
-                        disabled
238
+                        :disabled="!canEdit"
239
                       />
239
                       />
240
                     </div>
240
                     </div>
241
                   </div>
241
                   </div>
250
                         name="country"
250
                         name="country"
251
                         id="unit"
251
                         id="unit"
252
                         v-model="property.country"
252
                         v-model="property.country"
253
-                        disabled
253
+                        :disabled="!canEdit"
254
                       />
254
                       />
255
                     </div>
255
                     </div>
256
                   </div>
256
                   </div>

+ 37
- 39
src/components/property/residential/createProperty/residentialCreateNew.vue 查看文件

51
               @change="PropertyTypeSelected"
51
               @change="PropertyTypeSelected"
52
             >
52
             >
53
               <option value="0">Please select type *</option>
53
               <option value="0">Please select type *</option>
54
-              <option v-for="item in propertyTypes" :value="item.id" :key="item.id">{{
54
+              <option v-for="item in propertyTypes" :value="item.id" :key="item.id">
55
+                {{
55
                 item.description
56
                 item.description
56
-              }}</option>
57
+                }}
58
+              </option>
57
             </select>
59
             </select>
58
           </div>
60
           </div>
59
         </div>
61
         </div>
75
                     for="price"
77
                     for="price"
76
                     class="uniSelectLabel"
78
                     class="uniSelectLabel"
77
                     style="text-transform:uppercase; margin-left:17px; background-color:white"
79
                     style="text-transform:uppercase; margin-left:17px; background-color:white"
78
-                    >{{ salesType }} Price</label
79
-                  >
80
+                  >{{ salesType }} Price</label>
80
                 </div>
81
                 </div>
81
                 <float-label label="Price">
82
                 <float-label label="Price">
82
                   <currency-input
83
                   <currency-input
83
-                    onClick="this.setSelectionRange(0, this.value.length)"
84
+                    onclick="this.setSelectionRange(0, this.value.length)"
84
                     name="price"
85
                     name="price"
85
                     :value="value"
86
                     :value="value"
86
                     @input="value = $event"
87
                     @input="value = $event"
127
                   name="streetNumber"
128
                   name="streetNumber"
128
                   id="unit"
129
                   id="unit"
129
                   v-model="property.streetNumber"
130
                   v-model="property.streetNumber"
130
-                  disabled
131
                 />
131
                 />
132
               </div>
132
               </div>
133
             </div>
133
             </div>
142
                   name="streetName"
142
                   name="streetName"
143
                   id="unit"
143
                   id="unit"
144
                   v-model="property.streetName"
144
                   v-model="property.streetName"
145
-                  disabled
146
                 />
145
                 />
147
               </div>
146
               </div>
148
             </div>
147
             </div>
157
                   name="suburb"
156
                   name="suburb"
158
                   id="unit"
157
                   id="unit"
159
                   v-model="property.suburb"
158
                   v-model="property.suburb"
160
-                  disabled
161
                 />
159
                 />
162
               </div>
160
               </div>
163
             </div>
161
             </div>
172
                   name="city"
170
                   name="city"
173
                   id="unit"
171
                   id="unit"
174
                   v-model="property.city"
172
                   v-model="property.city"
175
-                  disabled
176
                 />
173
                 />
177
               </div>
174
               </div>
178
             </div>
175
             </div>
187
                   name="province"
184
                   name="province"
188
                   id="unit"
185
                   id="unit"
189
                   v-model="property.province"
186
                   v-model="property.province"
190
-                  disabled
191
                 />
187
                 />
192
               </div>
188
               </div>
193
             </div>
189
             </div>
202
                   name="postalCode"
198
                   name="postalCode"
203
                   id="unit"
199
                   id="unit"
204
                   v-model="property.postalCode"
200
                   v-model="property.postalCode"
205
-                  disabled
206
                 />
201
                 />
207
               </div>
202
               </div>
208
             </div>
203
             </div>
217
                   name="country"
212
                   name="country"
218
                   id="unit"
213
                   id="unit"
219
                   v-model="property.country"
214
                   v-model="property.country"
220
-                  disabled
221
                 />
215
                 />
222
               </div>
216
               </div>
223
             </div>
217
             </div>
224
             <div class="row my-3">
218
             <div class="row my-3">
225
               <div class="col-md-12">
219
               <div class="col-md-12">
226
-                <button type="button" @click="clearAddress()" class="btn-solid-blue">
227
-                  Clear Address
228
-                </button>
220
+                <button type="button" @click="clearAddress()" class="btn-solid-blue">Clear Address</button>
229
               </div>
221
               </div>
230
             </div>
222
             </div>
231
           </div>
223
           </div>
280
               />
272
               />
281
             </div>
273
             </div>
282
           </div>
274
           </div>
283
-        </div> -->
275
+        </div>-->
284
         <div class="row">
276
         <div class="row">
285
           <div class="col-sm-12">
277
           <div class="col-sm-12">
286
             <div class="section-header">
278
             <div class="section-header">
334
           :savedImages="propertyImages"
326
           :savedImages="propertyImages"
335
           @DefaultImage="UpdateDefaultImage"
327
           @DefaultImage="UpdateDefaultImage"
336
         />
328
         />
337
-        <button v-if="!wait" type="button" @click="SubmitData()" class="btn-solid-blue">
338
-          Save
339
-        </button>
329
+        <button v-if="!wait" type="button" @click="SubmitData()" class="btn-solid-blue">Save</button>
340
         <div v-if="showPropertyTypeError">
330
         <div v-if="showPropertyTypeError">
341
-          <p class="alert myError">
342
-            Missing fields. Please fill in all required fields. Marked with *
343
-          </p>
331
+          <p class="alert myError">Missing fields. Please fill in all required fields. Marked with *</p>
344
         </div>
332
         </div>
345
         <div v-if="wait" id="preloader"></div>
333
         <div v-if="wait" id="preloader"></div>
346
       </div>
334
       </div>
365
     ImageLoad,
353
     ImageLoad,
366
     VueEditor,
354
     VueEditor,
367
     carouselSection,
355
     carouselSection,
368
-    mapSection
356
+    mapSection,
369
   },
357
   },
370
   data() {
358
   data() {
371
     return {
359
     return {
378
       customToolbar: [
366
       customToolbar: [
379
         [{ header: [false, 1, 2, 3, 4, 5, 6] }],
367
         [{ header: [false, 1, 2, 3, 4, 5, 6] }],
380
         ["bold", "italic", "underline", "strike"],
368
         ["bold", "italic", "underline", "strike"],
381
-        [{ align: "" }, { align: "center" }, { align: "right" }, { align: "justify" }],
369
+        [
370
+          { align: "" },
371
+          { align: "center" },
372
+          { align: "right" },
373
+          { align: "justify" },
374
+        ],
382
         [{ list: "ordered" }, { list: "bullet" }, { list: "check" }],
375
         [{ list: "ordered" }, { list: "bullet" }, { list: "check" }],
383
         [{ script: "sub" }, { script: "super" }],
376
         [{ script: "sub" }, { script: "super" }],
384
-        [{ indent: "-1" }, { indent: "+1" }]
377
+        [{ indent: "-1" }, { indent: "+1" }],
385
       ],
378
       ],
386
       error: "",
379
       error: "",
387
       addressSet: false,
380
       addressSet: false,
388
       showPropertyTypeError: false,
381
       showPropertyTypeError: false,
389
       showDateError: false,
382
       showDateError: false,
390
       user: Log.getUser(),
383
       user: Log.getUser(),
391
-      mayEdit: Log.isLoggedIn()
384
+      mayEdit: Log.isLoggedIn(),
392
     };
385
     };
393
   },
386
   },
394
   methods: {
387
   methods: {
403
       "getPropertyEditDisplay",
396
       "getPropertyEditDisplay",
404
       "getPropertySavedOverviewFields",
397
       "getPropertySavedOverviewFields",
405
       "getPropertySavedFields",
398
       "getPropertySavedFields",
406
-      "getSavedPropertyData"
399
+      "getSavedPropertyData",
407
     ]),
400
     ]),
408
     updateLocation(place) {
401
     updateLocation(place) {
409
       this.addressSet = true;
402
       this.addressSet = true;
425
         this.showPropertyTypeError = true;
418
         this.showPropertyTypeError = true;
426
       }
419
       }
427
 
420
 
428
-      if (this.salesType === "Rental" && this.property.dateAvailable === "undef") {
421
+      if (
422
+        this.salesType === "Rental" &&
423
+        this.property.dateAvailable === "undef"
424
+      ) {
429
         this.showDateError = true;
425
         this.showDateError = true;
430
       }
426
       }
431
 
427
 
449
         }
445
         }
450
         this.property.propertyImages.push({
446
         this.property.propertyImages.push({
451
           image: this.images[i],
447
           image: this.images[i],
452
-          isDefault: setAsDefault
448
+          isDefault: setAsDefault,
453
         });
449
         });
454
       }
450
       }
455
       this.property.propertyUserFields = this.propertyFieldValues;
451
       this.property.propertyUserFields = this.propertyFieldValues;
457
       if (this.user) {
453
       if (this.user) {
458
         this.property.userId = this.user.id;
454
         this.property.userId = this.user.id;
459
       }
455
       }
460
-      this.property.propertyUserFields.forEach(item => {
456
+      this.property.propertyUserFields.forEach((item) => {
461
         if (item.value === true) {
457
         if (item.value === true) {
462
           item.value = "yes";
458
           item.value = "yes";
463
         } else if (item.value === false) {
459
         } else if (item.value === false) {
466
       });
462
       });
467
 
463
 
468
       this.saveProperty(this.property)
464
       this.saveProperty(this.property)
469
-        .then(fulfilled => {
470
-          this.$router.push(`/property/residential/property/${fulfilled.data.id}`);
465
+        .then((fulfilled) => {
466
+          this.$router.push(
467
+            `/property/residential/property/${fulfilled.data.id}`
468
+          );
471
         })
469
         })
472
-        .catch(error => {
470
+        .catch((error) => {
473
           console.log(error.message);
471
           console.log(error.message);
474
         });
472
         });
475
     },
473
     },
491
     },
489
     },
492
     UpdateUserDefinedFields(item) {
490
     UpdateUserDefinedFields(item) {
493
       let update = false;
491
       let update = false;
494
-      this.propertyFieldValues.forEach(element => {
492
+      this.propertyFieldValues.forEach((element) => {
495
         console.log(element);
493
         console.log(element);
496
 
494
 
497
         if (element.userDefinedFieldId === item.userDefinedFieldId) {
495
         if (element.userDefinedFieldId === item.userDefinedFieldId) {
527
         fields.push(arr.slice(i, (i += len)));
525
         fields.push(arr.slice(i, (i += len)));
528
       }
526
       }
529
       return fields;
527
       return fields;
530
-    }
528
+    },
531
   },
529
   },
532
   mounted() {
530
   mounted() {
533
     console.log(this.propertyFields);
531
     console.log(this.propertyFields);
564
       "propertyOverviewFields",
562
       "propertyOverviewFields",
565
       "propertyFields",
563
       "propertyFields",
566
       "property",
564
       "property",
567
-      "propertyImages"
565
+      "propertyImages",
568
     ]),
566
     ]),
569
     ...mapState("authentication", ["user"]),
567
     ...mapState("authentication", ["user"]),
570
     ...mapGetters("fees", ["getListingFee"]),
568
     ...mapGetters("fees", ["getListingFee"]),
586
     },
584
     },
587
     userFieldsArr() {
585
     userFieldsArr() {
588
       return this.userFieldsArrFunc(this.propertyFields, 4);
586
       return this.userFieldsArrFunc(this.propertyFields, 4);
589
-    }
587
+    },
590
   },
588
   },
591
   watch: {
589
   watch: {
592
     SalesTypeChanged() {
590
     SalesTypeChanged() {
593
       return null;
591
       return null;
594
-    }
595
-  }
592
+    },
593
+  },
596
 };
594
 };
597
 </script>
595
 </script>
598
 
596
 

Loading…
取消
儲存