This commit is contained in:
2021-01-16 00:28:26 +00:00
parent 85f60f2285
commit 8a72c23b14
5 changed files with 17 additions and 14 deletions

View File

@@ -374,6 +374,16 @@ function initNavPanel() {
});
}
//PART ASSEMBLIES
if (window.$gz.role.canOpen(window.$gz.type.PartAssembly)) {
sub.push({
title: "PartAssemblyList",
icon: "$ayiObjectGroup",
route: "/inv-part-assemblies",
key: key++
});
}
//INVENTORY
if (window.$gz.role.canOpen(window.$gz.type.Part)) {
sub.push({

View File

@@ -151,6 +151,7 @@ export default {
"CustomerServiceRequestList",
"LoanUnitList",
"PartList",
"PartAssemblyList",
"PartByWarehouseInventoryList",
"WorkOrderItemPartRequestList",
"InventoryPurchaseOrders",

View File

@@ -125,9 +125,9 @@ async function clickHandler(menuItem) {
function generateMenu(vm) {
let menuOptions = {
isMain: true,
icon: "$ayiPartAssemblyDiagram",
icon: "$ayiObjectGroup",
title: "PartAssemblyList",
helpUrl: "form-svc-partassemblys",
helpUrl: "form-inv-partassemblies",
menuItems: [],
formData: {
ayaType: window.$gz.type.PartAssembly

View File

@@ -64,7 +64,7 @@
></v-checkbox>
</v-col>
<!-- --------------------------------- -->
<v-col v-if="form().showMe(this, 'PartAssemblyNotes')" cols="12">
<v-col v-if="form().showMe(this, 'Notes')" cols="12">
<v-textarea
v-model="obj.notes"
:readonly="formState.readOnly"
@@ -579,9 +579,9 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
readOnly: vm.formState.readOnly,
icon: "$ayiPartAssemblyDiagram",
icon: "$ayiObjectGroup",
title: "PartAssembly",
helpUrl: "form-svc-partassemblys",
helpUrl: "form-inv-partassemblies",
formData: {
ayaType: window.$gz.type.PartAssembly,
recordId: vm.$route.params.recordid,

View File

@@ -14,15 +14,7 @@ export default {
isMain: true,
icon: "$ayiBoxes",
title: "PartList",
helpUrl: "form-inv-parts",
menuItems: [
{
title: "PartAssemblyList",
icon: "$ayiObjectGroup",
data: "inv-part-assemblies",
key: "app:nav"
}
]
helpUrl: "form-inv-parts"
});
}
};