zhouna 5 vuotta sitten
vanhempi
commit
15a7969c1d

+ 1 - 1
src/components/qualityControl/BaseFieldList.vue

@@ -143,7 +143,7 @@
       })
     },
     methods: {
-      moduleFormatter(item){console.log(item)
+      moduleFormatter(item){
         const field = this.fieldTypes.filter((it)=>it.val==item.modeId);
         return field[0]?field[0].name:'';
       },

+ 7 - 3
src/components/qualityControl/QualityControlTemp.vue

@@ -100,9 +100,13 @@
       }
     },
     created() {
-      this.getAllTypes().then(()=>{
-        this.getDataList()
-      })
+      const _this=this;
+      setTimeout(function(){
+        _this.getAllTypes().then(()=>{
+          _this.getDataList()
+        })
+      },100);
+
     },
     watch: {
       'filter': {