This commit is contained in:
2020-02-07 21:55:31 +00:00
parent 1e73171abc
commit b2daa8b0d3
2 changed files with 2 additions and 19 deletions

View File

@@ -36,7 +36,7 @@ import tagPicker from "./components/tag-picker.vue";
import customFieldsControl from "./components/custom-fields-control.vue";
import currencyControl from "./components/currency-control.vue";
import errorhandler from "./api/errorhandler";
import VCurrencyField from "./components/VCurrencyField";
/////////////////////////////////////////////////////////////////
// LIBS AND GLOBAL ITEMS
@@ -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("v-currency-field", VCurrencyField);
//3rd party components
Vue.use(VueCurrencyInput);

View File

@@ -83,23 +83,6 @@
lg="4"
xl="3"
>
<!-- <v-text-field
v-currency="{
currency: locale().getCurrencyName(),
locale: locale().getBrowserFirstLanguage()
}"
v-model="obj.dollarAmount"
:readonly="this.formState.readOnly"
:label="lt('WidgetDollarAmount')"
ref="dollarAmount"
required
:rules="[form().decimalValid(this, 'dollarAmount')]"
:error-messages="form().serverErrors(this, 'dollarAmount')"
@change="onChange('dollarAmount')"
></v-text-field>v-model="obj.dollarAmount" -->
<span class="title">v-currency-field</span>
<v-currency-field v-model="obj.dollarAmount" />
DOLLAR AMOUNT: {{ obj.dollarAmount }}
<gz-currency
v-model="obj.dollarAmount"
:readonly="this.formState.readOnly"