This commit is contained in:
@@ -726,7 +726,9 @@ async function clickHandler(menuItem) {
|
|||||||
PartPartNumber: m.vm.obj.partNumber,
|
PartPartNumber: m.vm.obj.partNumber,
|
||||||
objectId: m.vm.obj.id,
|
objectId: m.vm.obj.id,
|
||||||
ayatype: window.$gz.type.Part,
|
ayatype: window.$gz.type.Part,
|
||||||
viz: m.vm.obj.partNumber + " " + m.vm.obj.name,
|
viz:
|
||||||
|
m.vm.obj.partNumber +
|
||||||
|
(m.vm.obj.name ? " " + m.vm.obj.name : ""),
|
||||||
icon: "$ayiBoxes"
|
icon: "$ayiBoxes"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -740,7 +742,9 @@ async function clickHandler(menuItem) {
|
|||||||
PartPartNumber: m.vm.obj.partNumber,
|
PartPartNumber: m.vm.obj.partNumber,
|
||||||
objectId: m.vm.obj.id,
|
objectId: m.vm.obj.id,
|
||||||
ayatype: window.$gz.type.Part,
|
ayatype: window.$gz.type.Part,
|
||||||
viz: m.vm.obj.partNumber + " " + m.vm.obj.name,
|
viz:
|
||||||
|
m.vm.obj.partNumber +
|
||||||
|
(m.vm.obj.name ? " " + m.vm.obj.name : ""),
|
||||||
icon: "$ayiBoxes"
|
icon: "$ayiBoxes"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -770,7 +774,7 @@ function generateMenu(vm) {
|
|||||||
ayaType: window.$gz.type.Part,
|
ayaType: window.$gz.type.Part,
|
||||||
recordId: vm.$route.params.recordid,
|
recordId: vm.$route.params.recordid,
|
||||||
formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
|
formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
|
||||||
recordName: vm.obj.name
|
recordName: vm.obj.partNumber + (vm.obj.name ? " " + vm.obj.name : "")
|
||||||
},
|
},
|
||||||
menuItems: []
|
menuItems: []
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user