suxinf hace 4 años
padre
commit
03a6775811
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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>