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