This commit is contained in:
2021-07-28 22:00:49 +00:00
parent 1762905d37
commit ccc4ee0552
5 changed files with 31 additions and 21 deletions

View File

@@ -57,17 +57,6 @@
</v-col>
<!-- ##################################################################################### -->
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="value.active"
:readonly="formState.readOnly"
:label="$ay.t('Active')"
ref="active"
data-cy="active"
:error-messages="form().serverErrors(this, 'active')"
@change="fieldValueChanged('active')"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-row>
@@ -154,6 +143,7 @@
:readonly="formState.readOnly"
ref="nextServiceDate"
data-cy="nextServiceDate"
:rules="[form().required(this, 'nextServiceDate')]"
:error-messages="form().serverErrors(this, 'nextServiceDate')"
@input="fieldValueChanged('nextServiceDate')"
></gz-date-time-picker>
@@ -171,6 +161,18 @@
></gz-date-time-picker>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="value.active"
:readonly="formState.readOnly"
:label="$ay.t('Active')"
ref="active"
data-cy="active"
:error-messages="form().serverErrors(this, 'active')"
@change="fieldValueChanged('active')"
></v-checkbox>
</v-col>
<!-- ##################################################################################### -->
<v-col
v-if="