This commit is contained in:
2019-03-06 21:35:50 +00:00
parent 60717ac8e0
commit d6a82f902e
3 changed files with 33 additions and 60 deletions

View File

@@ -27,13 +27,6 @@
</v-container>
</v-flex>
</v-layout>
<!-- <v-layout align-center justify-center row fill-height>
<WidgetTop/>
<PartTop/>
<PartAssemblyTop/>
<WarehouseTop/>
<POTop/>
</v-layout>-->
</template>
<script>
@@ -43,22 +36,13 @@ import WarehouseTop from "../components/inventorywarehousetop";
import POTop from "../components/inventorypotop";
import PartTop from "../components/inventoryparttop";
import PartAssemblyTop from "../components/inventorypartassemblytop";
/*
HMMM?? - Maybe top level category is "part" and inventory is a sub item like the rest since they all revolve around parts but are not all inventory
*/
// - PART REQUESTS OVERVIEW ETC....
// - PART ASSEMBLIES
// - PART CATEGORIES
// - PART WAREHOUSES
// - PARTS
// - Part inventory
// - Part inventory adjustments
//import store from "../store";
import lt from "../api/locale";
//import _ from "../utils/libs/lodash.js";
export default {
beforeCreate() {
//Cache all required lt keys
var ltKeysRequired = ["Inventory"].concat(WidgetList.ltKeysRequired);
this.$gzlocale.fetch(ltKeysRequired);
},
components: {
WidgetList,
WarehouseTop,
@@ -68,22 +52,6 @@ export default {
},
data() {
return {};
},
beforeRouteEnter(to, from, next) {
//Cache all required lt keys
var ltKeysRequired = ["Inventory"].concat(WidgetList.ltKeysRequired);
lt.fetch(ltKeysRequired).then(() => {
next();
});
},
mounted() {},
methods: {
lt: function(key) {
return lt.get(key);
}
}
};
</script>
<style>
</style>