This commit is contained in:
2021-11-16 17:49:43 +00:00
parent c710631a5e
commit 23b660a74c
2 changed files with 5 additions and 9 deletions

View File

@@ -17,10 +17,6 @@
todo: Customer access
- PAUSE FOR REPORTING WHERE IT"S AT:
admin form has ability to set settings, backend stores them, that's about it

View File

@@ -91,7 +91,7 @@
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.name"
:readonly="formState.readOnly"
readonly
:label="$ay.t('CustomerServiceRequestTitle')"
:rules="[form().required(this, 'name')]"
:error-messages="form().serverErrors(this, 'name')"
@@ -110,7 +110,7 @@
>
<v-text-field
v-model="obj.customerReferenceNumber"
:readonly="formState.readOnly"
readonly
:label="$ay.t('CustomerServiceRequestCustomerReferenceNumber')"
ref="customerReferenceNumber"
data-cy="customerReferenceNumber"
@@ -133,7 +133,7 @@
:variant="'outside'"
show-edit-icon
v-model="obj.requestedByUserId"
:readonly="formState.readOnly"
readonly
:label="$ay.t('CustomerServiceRequestRequestedBy')"
ref="requestedByUserId"
data-cy="requestedByUserId"
@@ -154,7 +154,7 @@
:variant="'customerid:' + obj.customerId"
show-edit-icon
v-model="obj.unitId"
:readonly="formState.readOnly"
readonly
:label="$ay.t('CustomerServiceRequestItemUnitID')"
ref="unitId"
data-cy="unitId"
@@ -167,7 +167,7 @@
<v-col v-if="form().showMe(this, 'Notes')" cols="12">
<v-textarea
v-model="obj.notes"
:readonly="formState.readOnly"
readonly
:label="$ay.t('CustomerServiceRequestDetails')"
:error-messages="form().serverErrors(this, 'notes')"
ref="notes"