This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -151,6 +151,7 @@ export default {
|
||||
"CustomerServiceRequestList",
|
||||
"LoanUnitList",
|
||||
"PartList",
|
||||
"PartAssemblyList",
|
||||
"PartByWarehouseInventoryList",
|
||||
"WorkOrderItemPartRequestList",
|
||||
"InventoryPurchaseOrders",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user