diff --git a/ayanova/src/router.js b/ayanova/src/router.js index 87bb84a8..5ca46e18 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -432,7 +432,20 @@ export default new Router({ component: () => import(/* webpackChunkName: "inv" */ "./views/inv-part-inventory.vue") }, - + { + path: "/inv-part-inventory-transactions", + name: "inv-part-inventory-transactions", + component: () => + import( + /* webpackChunkName: "inv" */ "./views/inv-part-inventory-transactions.vue" + ) + }, + { + path: "/inv-part-adjustment", + name: "inv-part-adjustment", + component: () => + import(/* webpackChunkName: "inv" */ "./views/inv-part-adjustment.vue") + }, { path: "/inv-part-requests", name: "inv-part-requests", @@ -455,14 +468,7 @@ export default new Router({ /* webpackChunkName: "inv" */ "./views/inv-purchase-order-receipts.vue" ) }, - { - path: "/inv-part-inventory-transactions", - name: "inv-part-inventory-transactions", - component: () => - import( - /* webpackChunkName: "inv" */ "./views/inv-part-inventory-transactions.vue" - ) - }, + //####################### VENDORS GROUP ############################## { path: "/vendors", diff --git a/ayanova/src/views/inv-part-adjustment.vue b/ayanova/src/views/inv-part-adjustment.vue new file mode 100644 index 00000000..5509ab77 --- /dev/null +++ b/ayanova/src/views/inv-part-adjustment.vue @@ -0,0 +1,328 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ayanova/src/views/inv-part-inventory-transactions.vue b/ayanova/src/views/inv-part-inventory-transactions.vue index a694761a..35b3f2c3 100644 --- a/ayanova/src/views/inv-part-inventory-transactions.vue +++ b/ayanova/src/views/inv-part-inventory-transactions.vue @@ -9,14 +9,14 @@ @@ -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: "inv-part-adjustment" + //, params: { recordid: 0 } + }); + break; case "extensions": let res = await m.vm.$refs.extensions.open( m.vm.$refs.gzdatatable.getDataListSelection( diff --git a/ayanova/src/views/inv-part-inventory.vue b/ayanova/src/views/inv-part-inventory.vue index 60742269..474dfe9f 100644 --- a/ayanova/src/views/inv-part-inventory.vue +++ b/ayanova/src/views/inv-part-inventory.vue @@ -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: "inv-part-adjustment" + // , params: { recordid: 0 } + }); + break; case "extensions": let res = await m.vm.$refs.extensions.open( m.vm.$refs.gzdatatable.getDataListSelection(