This commit is contained in:
@@ -96,12 +96,11 @@
|
||||
:rules="[form().decimalValid(this, 'dollarAmount')]"
|
||||
:error-messages="form().serverErrors(this, 'dollarAmount')"
|
||||
@change="onChange('dollarAmount')"
|
||||
></v-text-field> -->
|
||||
></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-currency="{
|
||||
currency: locale().getCurrencyName(),
|
||||
locale: locale().getBrowserFirstLanguage()
|
||||
}"
|
||||
v-model="obj.dollarAmount"
|
||||
:readonly="this.formState.readOnly"
|
||||
:label="lt('WidgetDollarAmount')"
|
||||
@@ -434,7 +433,7 @@ export default {
|
||||
},
|
||||
onChange(ref) {
|
||||
if (!this.formState.loading && !this.formState.readOnly) {
|
||||
debugger;
|
||||
console.log("Onchange: " + ref);
|
||||
window.$gz.form.onChange(this, ref);
|
||||
}
|
||||
},
|
||||
@@ -465,6 +464,7 @@ export default {
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
} else {
|
||||
vm.obj = res.data;
|
||||
console.log("GetData dollarAmount:" + res.data.dollarAmount);
|
||||
//Update the form status
|
||||
window.$gz.form.setFormState({
|
||||
vm: vm,
|
||||
|
||||
Reference in New Issue
Block a user