This commit is contained in:
@@ -712,6 +712,12 @@ async function clickHandler(menuItem) {
|
||||
params: { recordid: m.vm.obj.id }
|
||||
});
|
||||
break;
|
||||
case "PartStockingLevels":
|
||||
m.vm.$router.push({
|
||||
name: "inv-part-stocking-levels",
|
||||
params: { recordid: m.vm.obj.id }
|
||||
});
|
||||
break;
|
||||
|
||||
default:
|
||||
window.$gz.eventBus.$emit(
|
||||
@@ -803,7 +809,11 @@ function generateMenu(vm) {
|
||||
|
||||
//---- SHOW ALL ---
|
||||
//MIGRATE_OUTSTANDING part inventory link from part form
|
||||
if (window.$gz.store.state.globalSettings.useInventory) {
|
||||
if (
|
||||
vm.obj.id != null &&
|
||||
vm.obj.id != 0 &&
|
||||
window.$gz.store.state.globalSettings.useInventory
|
||||
) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "PartByWarehouseInventoryList",
|
||||
icon: "$ayiPallet",
|
||||
@@ -820,6 +830,13 @@ function generateMenu(vm) {
|
||||
":TODO-PartByWareHouseInventoryTransactionListLinkForThisPart",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "PartStockingLevels",
|
||||
icon: null,
|
||||
key: FORM_KEY + ":PartStockingLevels",
|
||||
vm: vm
|
||||
});
|
||||
}
|
||||
|
||||
if (vm.obj.id != null && vm.obj.id != 0) {
|
||||
|
||||
Reference in New Issue
Block a user