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
|
//INVENTORY
|
||||||
if (window.$gz.role.canOpen(window.$gz.type.Part)) {
|
if (window.$gz.role.canOpen(window.$gz.type.Part)) {
|
||||||
sub.push({
|
sub.push({
|
||||||
|
|||||||
@@ -151,6 +151,7 @@ export default {
|
|||||||
"CustomerServiceRequestList",
|
"CustomerServiceRequestList",
|
||||||
"LoanUnitList",
|
"LoanUnitList",
|
||||||
"PartList",
|
"PartList",
|
||||||
|
"PartAssemblyList",
|
||||||
"PartByWarehouseInventoryList",
|
"PartByWarehouseInventoryList",
|
||||||
"WorkOrderItemPartRequestList",
|
"WorkOrderItemPartRequestList",
|
||||||
"InventoryPurchaseOrders",
|
"InventoryPurchaseOrders",
|
||||||
|
|||||||
@@ -125,9 +125,9 @@ async function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "$ayiPartAssemblyDiagram",
|
icon: "$ayiObjectGroup",
|
||||||
title: "PartAssemblyList",
|
title: "PartAssemblyList",
|
||||||
helpUrl: "form-svc-partassemblys",
|
helpUrl: "form-inv-partassemblies",
|
||||||
menuItems: [],
|
menuItems: [],
|
||||||
formData: {
|
formData: {
|
||||||
ayaType: window.$gz.type.PartAssembly
|
ayaType: window.$gz.type.PartAssembly
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
></v-checkbox>
|
></v-checkbox>
|
||||||
</v-col>
|
</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-textarea
|
||||||
v-model="obj.notes"
|
v-model="obj.notes"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
@@ -579,9 +579,9 @@ function generateMenu(vm) {
|
|||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: false,
|
isMain: false,
|
||||||
readOnly: vm.formState.readOnly,
|
readOnly: vm.formState.readOnly,
|
||||||
icon: "$ayiPartAssemblyDiagram",
|
icon: "$ayiObjectGroup",
|
||||||
title: "PartAssembly",
|
title: "PartAssembly",
|
||||||
helpUrl: "form-svc-partassemblys",
|
helpUrl: "form-inv-partassemblies",
|
||||||
formData: {
|
formData: {
|
||||||
ayaType: window.$gz.type.PartAssembly,
|
ayaType: window.$gz.type.PartAssembly,
|
||||||
recordId: vm.$route.params.recordid,
|
recordId: vm.$route.params.recordid,
|
||||||
|
|||||||
@@ -14,15 +14,7 @@ export default {
|
|||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "$ayiBoxes",
|
icon: "$ayiBoxes",
|
||||||
title: "PartList",
|
title: "PartList",
|
||||||
helpUrl: "form-inv-parts",
|
helpUrl: "form-inv-parts"
|
||||||
menuItems: [
|
|
||||||
{
|
|
||||||
title: "PartAssemblyList",
|
|
||||||
icon: "$ayiObjectGroup",
|
|
||||||
data: "inv-part-assemblies",
|
|
||||||
key: "app:nav"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user