Преглед изворни кода

Uni-Vate Query: 51637 - Listing errors - Agents

master
30117125 пре 4 година
родитељ
комит
fab93f888c
2 измењених фајлова са 6 додато и 3 уклоњено
  1. 5
    2
      src/components/timeshare/sell/contentSection.vue
  2. 1
    1
      src/main.js

+ 5
- 2
src/components/timeshare/sell/contentSection.vue Прегледај датотеку

@@ -1062,9 +1062,12 @@ export default {
1062 1062
         if (this.sellItem.originalPurchasePrice === "") {
1063 1063
           this.sellItem.originalPurchasePrice = 0;
1064 1064
         }
1065
+
1066
+        this.sellItem.ownerId = Log.getUser().id;
1065 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 1072
         if (!this.boolError) {
1070 1073
           this.saveWeek(this.sellItem)

+ 1
- 1
src/main.js Прегледај датотеку

@@ -44,7 +44,7 @@ Vue.config.productionTip = false;
44 44
 //axios.defaults.baseURL = "http://localhost:57260";
45 45
 axios.defaults.baseURL = "https://www.pvsl.co.za:86/";
46 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 49
 Vue.prototype.$axios = axios;
50 50
 const pluginOptions = {

Loading…
Откажи
Сачувај