This commit is contained in:
@@ -36,7 +36,7 @@ import tagPicker from "./components/tag-picker.vue";
|
|||||||
import customFieldsControl from "./components/custom-fields-control.vue";
|
import customFieldsControl from "./components/custom-fields-control.vue";
|
||||||
import currencyControl from "./components/currency-control.vue";
|
import currencyControl from "./components/currency-control.vue";
|
||||||
import errorhandler from "./api/errorhandler";
|
import errorhandler from "./api/errorhandler";
|
||||||
import VCurrencyField from "./components/VCurrencyField";
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////
|
||||||
// LIBS AND GLOBAL ITEMS
|
// LIBS AND GLOBAL ITEMS
|
||||||
@@ -181,7 +181,7 @@ Vue.component("gz-time-picker", timeControl);
|
|||||||
Vue.component("gz-tag-picker", tagPicker);
|
Vue.component("gz-tag-picker", tagPicker);
|
||||||
Vue.component("gz-custom-fields", customFieldsControl);
|
Vue.component("gz-custom-fields", customFieldsControl);
|
||||||
Vue.component("gz-currency", currencyControl);
|
Vue.component("gz-currency", currencyControl);
|
||||||
Vue.component("v-currency-field", VCurrencyField);
|
|
||||||
|
|
||||||
//3rd party components
|
//3rd party components
|
||||||
Vue.use(VueCurrencyInput);
|
Vue.use(VueCurrencyInput);
|
||||||
|
|||||||
@@ -83,23 +83,6 @@
|
|||||||
lg="4"
|
lg="4"
|
||||||
xl="3"
|
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
|
<gz-currency
|
||||||
v-model="obj.dollarAmount"
|
v-model="obj.dollarAmount"
|
||||||
:readonly="this.formState.readOnly"
|
:readonly="this.formState.readOnly"
|
||||||
|
|||||||
Reference in New Issue
Block a user