浏览代码

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
         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 查看文件

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 = {

正在加载...
取消
保存