This commit is contained in:
2021-01-16 17:38:48 +00:00
parent 5f7e694572
commit 9d6a545853
2 changed files with 7 additions and 22 deletions

View File

@@ -103,7 +103,7 @@
@input="fieldValueChanged('uPC')"
></v-text-field>
</v-col>
<!-- //MIGRATE_OUTSTANDING - track serial needs to handle (or maybe doesn't for flexibility) scenario where there is inventory and user flips it
<!-- //MIGRATE_OUTSTANDING - track serial needs to handle (or maybe doesn't for flexibility) scenario where there is inventory and user flips it
//also biz rule at server, maybe best handled as just the biz rule to save a trip to the server to check inventory?
//I guess if it just fixed the inventory if they decide to de-serialize it or something?
//must look at cases -->
@@ -842,29 +842,14 @@ function generateMenu(vm) {
menuOptions.menuItems.push({ divider: true, inset: false });
//---- SHOW ALL ---
//MIGRATE_OUTSTANDING show all: workorderlist, quotelist, pmlist
//MIGRATE_OUTSTANDING part inventory link from part form
menuOptions.menuItems.push({
title: "WorkOrderList",
icon: "$ayiTools",
key: FORM_KEY + ":WorkOrderList",
title: "PartByWarehouseInventoryList",
icon: "$ayiPallet",
key: FORM_KEY + ":TODO-PartByWareHouseInventoryLinkForThisPart",
vm: vm
});
menuOptions.menuItems.push({
title: "QuoteList",
icon: "$ayiPencilAlt",
key: FORM_KEY + ":QuoteList",
vm: vm
});
menuOptions.menuItems.push({
title: "PMList",
icon: "$ayiBusinessTime",
key: FORM_KEY + ":PMList",
vm: vm
});
//--- /show all ---
menuOptions.menuItems.push({ divider: true, inset: false });
window.$gz.eventBus.$emit("menu-change", menuOptions);
@@ -887,6 +872,7 @@ async function initForm(vm) {
async function fetchTranslatedText(vm) {
await window.$gz.translation.cacheTranslations([
"Part",
"PartByWarehouseInventoryList",
"PartName",
"PartNotes",
"PartPartNumber",