|
@@ -279,6 +279,14 @@ export default {
|
|
mounted () {
|
|
mounted () {
|
|
this.getDetail()
|
|
this.getDetail()
|
|
this.getWarehouseCascade()
|
|
this.getWarehouseCascade()
|
|
|
|
+ },
|
|
|
|
+ beforeRouteEnter (to, from, next) {
|
|
|
|
+ next(vm => {
|
|
|
|
+ if (!vm.disabled) {
|
|
|
|
+ vm.getDetail()
|
|
|
|
+ vm.getWarehouseCascade()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|