suxinf %!s(int64=4) %!d(string=hai) anos
pai
achega
03a6775811
Modificáronse 1 ficheiros con 5 adicións e 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>