Commit 9550b53e authored by 耿迪迪's avatar 耿迪迪

跳转位置页面限制添加

parent 59c2f360
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
}); });
}, },
toStorage(shelves){ toStorage(shelves){
if(shelves.fStatus == 1){ if(shelves.fStatus == 1 && shelves.fShelfId){
this.$router.push({ path: "/pcbamanage/pcbashelflocation",query: { shelfId: shelves.fShelfId,shelf: shelves.fShelf } }); this.$router.push({ path: "/pcbamanage/pcbashelflocation",query: { shelfId: shelves.fShelfId,shelf: shelves.fShelf } });
} }
} }
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
}); });
}, },
toStorage(shelves){ toStorage(shelves){
if(shelves.fStatus == 1){ if(shelves.fStatus == 1 && shelves.fShelfId){
this.$router.push({ path: "/producemange/produceshelflocation",query: { shelfId: shelves.fShelfId,shelf: shelves.fShelf } }); this.$router.push({ path: "/producemange/produceshelflocation",query: { shelfId: shelves.fShelfId,shelf: shelves.fShelf } });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment