This commit is contained in:
2018-11-20 19:00:16 +00:00
parent 26325f089f
commit 9ef2022b5b
10 changed files with 201 additions and 22 deletions

View File

@@ -0,0 +1,60 @@
<template>
<v-layout row>
<WidgetTop/>
<PartTop/>
<PartAssemblyTop/>
<WarehouseTop/>
<POTop/>
</v-layout>
</template>
<script>
/* xeslint-disable */
import WidgetTop from "../components/inventorywidgettop";
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 {
components: {
WidgetTop,
WarehouseTop,
POTop,
PartTop,
PartAssemblyTop
},
data() {
return {};
},
beforeRouteEnter(to, from, next) {
//get lt, roles, populate top level components accordingly
lt.fetch(["Inventory"]).then(() => {
next();
});
},
mounted() {},
methods: {
lt: function(key) {
return lt.get(key);
}
}
};
</script>
<style>
</style>