This commit is contained in:
2021-02-10 15:53:45 +00:00
parent 6198714184
commit aa5a952aa4
90 changed files with 478 additions and 477 deletions

View File

@@ -2,7 +2,7 @@
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<div v-if="formState.ready">
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<v-form ref="form">
<v-row>
<v-col cols="12" sm="6" lg="4" xl="3">
@@ -44,8 +44,8 @@
xl="3"
>
<gz-pick-list
:ayaType="ayaTypes().Vendor"
:showEditIcon="true"
:aya-type="ayaTypes().Vendor"
:show-edit-icon="true"
v-model="obj.vendorId"
:readonly="formState.readOnly"
:label="$ay.t('UnitModelVendorID')"
@@ -86,7 +86,7 @@
v-model="obj.introducedDate"
:readonly="formState.readOnly"
ref="introducedDate"
testId="introducedDate"
test-id="introducedDate"
:error-messages="form().serverErrors(this, 'introducedDate')"
@input="fieldValueChanged('introducedDate')"
></gz-date-picker>
@@ -122,7 +122,7 @@
v-model="obj.discontinuedDate"
:readonly="formState.readOnly"
ref="discontinuedDate"
testId="discontinuedDate"
test-id="discontinuedDate"
:error-messages="form().serverErrors(this, 'discontinuedDate')"
@input="fieldValueChanged('discontinuedDate')"
></gz-date-picker>
@@ -218,9 +218,9 @@
<v-col cols="12">
<gz-custom-fields
v-model="obj.customFields"
:formKey="formCustomTemplateKey"
:form-key="formCustomTemplateKey"
:readonly="formState.readOnly"
:parentVM="this"
:parent-v-m="this"
ref="customFields"
data-cy="customFields"
:error-messages="form().serverErrors(this, 'customFields')"
@@ -230,8 +230,8 @@
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
<gz-wiki
:ayaType="ayaType"
:ayaId="obj.id"
:aya-type="ayaType"
:aya-id="obj.id"
ref="wiki"
v-model="obj.wiki"
:readonly="formState.readOnly"
@@ -242,8 +242,8 @@
<v-col v-if="form().showMe(this, 'Attachments') && obj.id" cols="12">
<gz-attachments
:readonly="formState.readOnly"
:ayaType="ayaType"
:ayaId="obj.id"
:aya-type="ayaType"
:aya-id="obj.id"
></gz-attachments
></v-col>
</v-row>