From 82f2defc7e7d4732ad240eedbb0d0e98022638a3 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 7 Feb 2020 22:19:55 +0000 Subject: [PATCH] --- ayanova/src/components/currency-control.vue | 3 + ayanova/src/components/decimal-control.vue | 68 +++++++++++++++++++ ayanova/src/main.js | 4 +- .../src/views/test-inventory-widget-edit.vue | 17 ++++- 4 files changed, 88 insertions(+), 4 deletions(-) create mode 100644 ayanova/src/components/decimal-control.vue diff --git a/ayanova/src/components/currency-control.vue b/ayanova/src/components/currency-control.vue index af974929..a1d4c910 100644 --- a/ayanova/src/components/currency-control.vue +++ b/ayanova/src/components/currency-control.vue @@ -19,6 +19,9 @@ diff --git a/ayanova/src/main.js b/ayanova/src/main.js index 23587295..2db299de 100644 --- a/ayanova/src/main.js +++ b/ayanova/src/main.js @@ -35,9 +35,9 @@ import timeControl from "./components/time-control.vue"; import tagPicker from "./components/tag-picker.vue"; import customFieldsControl from "./components/custom-fields-control.vue"; import currencyControl from "./components/currency-control.vue"; +import decimalControl from "./components/decimal-control.vue"; import errorhandler from "./api/errorhandler"; - ///////////////////////////////////////////////////////////////// // LIBS AND GLOBAL ITEMS // NOTE: I'm putting them on Window deliberately to be globally available @@ -181,7 +181,7 @@ Vue.component("gz-time-picker", timeControl); Vue.component("gz-tag-picker", tagPicker); Vue.component("gz-custom-fields", customFieldsControl); Vue.component("gz-currency", currencyControl); - +Vue.component("gz-decimal", decimalControl); //3rd party components Vue.use(VueCurrencyInput); diff --git a/ayanova/src/views/test-inventory-widget-edit.vue b/ayanova/src/views/test-inventory-widget-edit.vue index ca194d65..e38b993a 100644 --- a/ayanova/src/views/test-inventory-widget-edit.vue +++ b/ayanova/src/views/test-inventory-widget-edit.vue @@ -82,7 +82,7 @@ lg="4" xl="3" > - + > --> + +