suxinf 4 роки тому
батько
коміт
03a6775811
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      src/views/data/UploadInfor.vue

+ 5 - 0
src/views/data/UploadInfor.vue

@@ -531,11 +531,16 @@ export default {
     this.getLocalMonth();
   },
   created() {
+    if (this.isManufacturer === 'distributor') {
+      this.$router.replace({ path: "/inforList" });
+    }
     this.getAllDlr({}, true);
     this.getAllDataName();
     this.selectGroupList();
     this.getAreaList();
   },
+  beforeCreate() {
+  }
 };
 </script>