This commit is contained in:
2021-01-22 00:11:08 +00:00
parent 7a79d54a56
commit 57e63acdb7
3 changed files with 9 additions and 8 deletions

View File

@@ -142,6 +142,7 @@ CURRENTLY DOING: PartByWarehouseInventory NEXT UP: Controller routes, DataList
todo: datalist for raw inventory
EDIT form for partinventory item openobjecthyandler should open up to event log history of entry, not entry form since it is not editable anyway
todo: find a way to do a stock picking list format and expose in UI
I'm thinking some kind of built in view based on a query that I can treat like a tble object with my existing datalist code
UseInventory global setting, what to do about that
my initial thought is get rid of it and just default to always using inventory but inventory can't go negative so it would need to

View File

@@ -152,7 +152,7 @@ export default {
"LoanUnitList",
"PartList",
"PartAssemblyList",
"PartByWarehouseInventoryList",
"PartInventoryList",
"WorkOrderItemPartRequestList",
"InventoryPurchaseOrders",
"InventoryPurchaseOrderReceipts",

View File

@@ -16,7 +16,7 @@
:showSelect="rights.read"
:reload="reload"
v-on:selection-change="handleSelected"
data-cy="projectsTable"
data-cy="partInventoryTable"
>
</gz-data-table>
</div>
@@ -62,12 +62,12 @@ async function clickHandler(menuItem) {
let m = window.$gz.menu.parseMenuItem(menuItem);
if (m.owner == FORM_KEY && !m.disabled) {
switch (m.key) {
case "new":
m.vm.$router.push({
name: "project-edit",
params: { recordid: 0 }
});
break;
// case "new":
// m.vm.$router.push({
// name: "project-edit",
// params: { recordid: 0 }
// });
// break;
case "extensions":
let res = await m.vm.$refs.extensions.open(
m.vm.$refs.gzdatatable.getDataListSelection(