Browse Source

Sp13.2> Query: 57267

master
30117125 3 years ago
parent
commit
2f802b623b
1 changed files with 1 additions and 7 deletions
  1. 1
    7
      src/components/admin/status/editTimeShareAdminPage.vue

+ 1
- 7
src/components/admin/status/editTimeShareAdminPage.vue View File

827
           this.weekParam.resortName = resort.resortName;
827
           this.weekParam.resortName = resort.resortName;
828
         }
828
         }
829
       });
829
       });
830
-      console.log(this.selectedSeason);
831
       this.weekParam.season = this.selectedSeason;
830
       this.weekParam.season = this.selectedSeason;
832
-
833
       this.resortBedrooms.forEach(bedroom => {
831
       this.resortBedrooms.forEach(bedroom => {
834
         if (bedroom === this.selectedBedrooms) {
832
         if (bedroom === this.selectedBedrooms) {
835
-          this.weekParam.bedroom = bedroom;
833
+          this.weekParam.bedrooms = bedroom;
836
         }
834
         }
837
       });
835
       });
838
       this.maxSleep.forEach(sleepMax => {
836
       this.maxSleep.forEach(sleepMax => {
870
       //delete this.status;
868
       //delete this.status;
871
       delete this.weekParam.owner.howMarried;
869
       delete this.weekParam.owner.howMarried;
872
       delete this.weekParam.cellNumber;
870
       delete this.weekParam.cellNumber;
873
-      console.log(this.weekParam);
874
-      console.log(this.week.owner);
875
       this.week.owner.name =
871
       this.week.owner.name =
876
         this.week.owner.name.charAt(0).toUpperCase() + this.week.owner.name.slice(1);
872
         this.week.owner.name.charAt(0).toUpperCase() + this.week.owner.name.slice(1);
877
       this.week.owner.surname =
873
       this.week.owner.surname =
878
         this.week.owner.surname.charAt(0).toUpperCase() + this.week.owner.surname.slice(1);
874
         this.week.owner.surname.charAt(0).toUpperCase() + this.week.owner.surname.slice(1);
879
       this.weekParam.statusId = this.selectedStatus.id;
875
       this.weekParam.statusId = this.selectedStatus.id;
880
-      //console.log(this.weekParam);
881
       //console.log(JSON.stringify(this.weekParam));
876
       //console.log(JSON.stringify(this.weekParam));
882
       //console.log(this.weekParam);
877
       //console.log(this.weekParam);
883
       this.editSave(this.weekParam)
878
       this.editSave(this.weekParam)
885
           this.backToListView();
880
           this.backToListView();
886
         })
881
         })
887
         .catch(ex => {
882
         .catch(ex => {
888
-          //console.log(ex);
889
           this.errorOccurred = "ERRORHTML";
883
           this.errorOccurred = "ERRORHTML";
890
           this.errorMessage = ex;
884
           this.errorMessage = ex;
891
         });
885
         });

Loading…
Cancel
Save