diff --git a/ayanova/src/api/ayatype.js b/ayanova/src/api/ayatype.js index 64f37d5a..47e34dbf 100644 --- a/ayanova/src/api/ayatype.js +++ b/ayanova/src/api/ayatype.js @@ -98,7 +98,8 @@ export default { Review: 61, ServiceRate: 62, TravelRate: 63, - TaxCode: 64 + TaxCode: 64, + PartAssembly: 65 }; /** * diff --git a/ayanova/src/api/open-object-handler.js b/ayanova/src/api/open-object-handler.js index 305c0540..6616147f 100644 --- a/ayanova/src/api/open-object-handler.js +++ b/ayanova/src/api/open-object-handler.js @@ -237,6 +237,12 @@ export default { params: { recordid: tid.id } }); break; + case ayatype.PartAssembly: + vm.$router.push({ + name: "part-assembly-edit", + params: { recordid: tid.id } + }); + break; default: window.$gz.eventBus.$emit( diff --git a/ayanova/src/router.js b/ayanova/src/router.js index cfe9efce..bee6a392 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -397,7 +397,7 @@ export default new Router({ }, { path: "/inv-part-assemblies/:recordid", - name: "inv-part-assembly-edit", + name: "part-assembly-edit", component: () => import(/* webpackChunkName: "inv" */ "./views/inv-part-assembly.vue") }, diff --git a/ayanova/src/views/inv-part-assembly.vue b/ayanova/src/views/inv-part-assembly.vue index 24213f60..16e6600d 100644 --- a/ayanova/src/views/inv-part-assembly.vue +++ b/ayanova/src/views/inv-part-assembly.vue @@ -17,86 +17,7 @@ @input="fieldValueChanged('name')" > - - - - - - - - - - - - - - - - + {{ obj.items }}