sunyadv 5 năm trước cách đây
mục cha
commit
9bcadf4551

+ 1 - 1
ys_vue/src/views/map/map.vue

@@ -104,7 +104,7 @@
             this.$el.style.height = (window.innerHeight - 100) + "px";
             const that = this;
             window.onresize = function temp() {
-                this.$el.style.height = (window.innerHeight - 100) + "px";
+                that.$el.style.height = (window.innerHeight - 100) + "px";
             };
 
             //新地图

+ 2 - 2
ys_vue/src/views/mold/moldList.vue

@@ -246,7 +246,7 @@
             },
             getMsg() {
                 //获取模具
-                this.getmoulds();
+                this.getMoulds();
                 //新版获取公司
                 this.http.post(this.port.base.relationList, {
                     companyType: 1
@@ -377,7 +377,7 @@
 
             //添加界面
             showAdd() {
-                this.getmoulds();
+                this.getMoulds();
                 this.addFormVisible = true;
                 this.addForm = {
                     modelNo: "",

+ 5 - 8
ys_vue/src/views/project/projectDetail.vue

@@ -749,18 +749,15 @@
                             cName = "",
                             modelIds = "",
                             userIds = "";
-                        for(var i in this.editForm.customerCompany){
-                            if(cId.indexOf(this.editForm.customerCompany[i].id) == -1){
-                                cId += this.editForm.customerCompany[i].id + ",";
-                                cName += this.editForm.customerCompany[i].companyName + ",";
+                        for(var i in this.editForm.modelIds){
+                            if(cId.indexOf(this.editForm.modelIds[i].id) == -1){
+                                cId += this.editForm.modelIds[i].produceCompanyId + ",";
+                                cName += this.editForm.modelIds[i].produceCompanyName + ",";
                             }
+                            modelIds += this.editForm.modelIds[i].id + ","
                         }
                         cId = cId.substring(0,cId.length-1);
                         cName = cName.substring(0,cName.length-1);
-
-                        for(var i in this.editForm.modelIds){
-                            modelIds += this.editForm.modelIds[i].id + ","
-                        }
                         modelIds = modelIds.substring(0,modelIds.length-1);
 
                         // for(var i in this.editForm.assets){