Browse Source

Uni-Vate Query: 51637 - Listing errors - Agents

master
30117125 4 years ago
parent
commit
fab93f888c
2 changed files with 6 additions and 3 deletions
  1. 5
    2
      src/components/timeshare/sell/contentSection.vue
  2. 1
    1
      src/main.js

+ 5
- 2
src/components/timeshare/sell/contentSection.vue View File

1062
         if (this.sellItem.originalPurchasePrice === "") {
1062
         if (this.sellItem.originalPurchasePrice === "") {
1063
           this.sellItem.originalPurchasePrice = 0;
1063
           this.sellItem.originalPurchasePrice = 0;
1064
         }
1064
         }
1065
+
1066
+        this.sellItem.ownerId = Log.getUser().id;
1065
         //console.log(this.sellItem.ownerObject);
1067
         //console.log(this.sellItem.ownerObject);
1066
-        console.log(this.sellItem);
1067
-        console.log(JSON.stringify(this.sellItem));
1068
+        // console.log(this.sellItem);
1069
+        // console.log(JSON.stringify(this.sellItem));
1070
+        // console.log(Log.getUser());
1068
 
1071
 
1069
         if (!this.boolError) {
1072
         if (!this.boolError) {
1070
           this.saveWeek(this.sellItem)
1073
           this.saveWeek(this.sellItem)

+ 1
- 1
src/main.js View File

44
 //axios.defaults.baseURL = "http://localhost:57260";
44
 //axios.defaults.baseURL = "http://localhost:57260";
45
 axios.defaults.baseURL = "https://www.pvsl.co.za:86/";
45
 axios.defaults.baseURL = "https://www.pvsl.co.za:86/";
46
 //axios.defaults.baseURL = "http://training.provision-sa.com:82/";
46
 //axios.defaults.baseURL = "http://training.provision-sa.com:82/";
47
-//axios.defaults.baseURL = "http://localhost:8080/";
47
+//axios.defaults.baseURL = "http://localhost:8080/"
48
 
48
 
49
 Vue.prototype.$axios = axios;
49
 Vue.prototype.$axios = axios;
50
 const pluginOptions = {
50
 const pluginOptions = {

Loading…
Cancel
Save