This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
locale: languageName
|
locale: languageName
|
||||||
}"
|
}"
|
||||||
v-model="workingAmount"
|
v-model="workingAmount"
|
||||||
:readonly="readOnly"
|
:readonly="readonly"
|
||||||
v-bind:label="label"
|
v-bind:label="label"
|
||||||
v-bind:rules="rules"
|
v-bind:rules="rules"
|
||||||
v-bind:required="required"
|
v-bind:required="required"
|
||||||
@@ -29,7 +29,7 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
label: String,
|
label: String,
|
||||||
rules: Array,
|
rules: Array,
|
||||||
value: String,
|
value: Number,
|
||||||
required: { type: Boolean, default: false },
|
required: { type: Boolean, default: false },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
error: {
|
error: {
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
lg="4"
|
lg="4"
|
||||||
xl="3"
|
xl="3"
|
||||||
>
|
>
|
||||||
<v-text-field
|
<!-- <v-text-field
|
||||||
v-currency="{
|
v-currency="{
|
||||||
currency: locale().getCurrencyName(),
|
currency: locale().getCurrencyName(),
|
||||||
locale: locale().getBrowserFirstLanguage()
|
locale: locale().getBrowserFirstLanguage()
|
||||||
@@ -96,7 +96,21 @@
|
|||||||
:rules="[form().decimalValid(this, 'dollarAmount')]"
|
:rules="[form().decimalValid(this, 'dollarAmount')]"
|
||||||
:error-messages="form().serverErrors(this, 'dollarAmount')"
|
:error-messages="form().serverErrors(this, 'dollarAmount')"
|
||||||
@change="onChange('dollarAmount')"
|
@change="onChange('dollarAmount')"
|
||||||
></v-text-field>
|
></v-text-field> -->
|
||||||
|
<gz-currency
|
||||||
|
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')"
|
||||||
|
></gz-currency>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
|||||||
Reference in New Issue
Block a user