This commit is contained in:
2021-03-19 14:32:08 +00:00
parent 9377ee32c3
commit 7a1b7f1788

View File

@@ -87,7 +87,7 @@
lg="4"
xl="3"
>
<v-text-field
<!-- <v-text-field
v-model="obj.unit"
:readonly="formState.readOnly"
:label="$ay.t('RateUnitChargeDescriptionID')"
@@ -95,7 +95,18 @@
data-cy="unit"
:error-messages="form().serverErrors(this, 'unit')"
@input="fieldValueChanged('unit')"
></v-text-field>
></v-text-field> -->
<v-combobox
v-model="obj.unit"
:readonly="formState.readOnly"
:label="$ay.t('RateUnitChargeDescriptionID')"
ref="unit"
data-cy="unit"
:error-messages="form().serverErrors(this, 'unit')"
@input="fieldValueChanged('unit')"
:items="rateUnits"
></v-combobox>
</v-col>
<v-col
@@ -296,7 +307,8 @@ export default {
serverError: {}
},
rights: window.$gz.role.defaultRightsObject(),
ayaType: window.$gz.type.ServiceRate
ayaType: window.$gz.type.ServiceRate,
rateUnits: ["each", "hour"]
};
},
//WATCHERS