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">
@@ -112,8 +112,8 @@
xl="3"
>
<gz-pick-list
:ayaType="ayaTypes().Vendor"
:showEditIcon="true"
:aya-type="ayaTypes().Vendor"
:show-edit-icon="true"
v-model="obj.manufacturerId"
:readonly="formState.readOnly"
:label="$ay.t('PartManufacturerID')"
@@ -150,8 +150,8 @@
xl="3"
>
<gz-pick-list
:ayaType="ayaTypes().Vendor"
:showEditIcon="true"
:aya-type="ayaTypes().Vendor"
:show-edit-icon="true"
v-model="obj.wholeSalerId"
:readonly="formState.readOnly"
:label="$ay.t('PartWholesalerID')"
@@ -188,8 +188,8 @@
xl="3"
>
<gz-pick-list
:ayaType="ayaTypes().Vendor"
:showEditIcon="true"
:aya-type="ayaTypes().Vendor"
:show-edit-icon="true"
v-model="obj.alternativeWholeSalerId"
:readonly="formState.readOnly"
:label="$ay.t('PartAlternativeWholesalerID')"
@@ -262,9 +262,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')"
@@ -274,8 +274,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"
@@ -286,8 +286,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>