This commit is contained in:
@@ -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-tabs mobile-breakpoint="100" v-model="tab">
|
||||
@@ -33,8 +33,8 @@
|
||||
xl="3"
|
||||
>
|
||||
<gz-pick-list
|
||||
:ayaType="ayaTypes().Customer"
|
||||
:showEditIcon="true"
|
||||
:aya-type="ayaTypes().Customer"
|
||||
:show-edit-icon="true"
|
||||
v-model="obj.customerId"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('Customer')"
|
||||
@@ -71,8 +71,8 @@
|
||||
xl="3"
|
||||
>
|
||||
<gz-pick-list
|
||||
:ayaType="ayaTypes().UnitModel"
|
||||
:showEditIcon="true"
|
||||
:aya-type="ayaTypes().UnitModel"
|
||||
:show-edit-icon="true"
|
||||
v-model="obj.unitModelId"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('UnitModel')"
|
||||
@@ -91,8 +91,8 @@
|
||||
xl="3"
|
||||
>
|
||||
<gz-pick-list
|
||||
:ayaType="ayaTypes().Unit"
|
||||
:showEditIcon="true"
|
||||
:aya-type="ayaTypes().Unit"
|
||||
:show-edit-icon="true"
|
||||
v-model="obj.replacedByUnitId"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('UnitReplacedByUnitID')"
|
||||
@@ -113,8 +113,8 @@
|
||||
xl="3"
|
||||
>
|
||||
<gz-pick-list
|
||||
:ayaType="ayaTypes().Unit"
|
||||
:showEditIcon="true"
|
||||
:aya-type="ayaTypes().Unit"
|
||||
:show-edit-icon="true"
|
||||
v-model="obj.parentUnitId"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('UnitParentUnitID')"
|
||||
@@ -211,8 +211,8 @@
|
||||
xl="3"
|
||||
>
|
||||
<gz-pick-list
|
||||
:ayaType="ayaTypes().Vendor"
|
||||
:showEditIcon="true"
|
||||
:aya-type="ayaTypes().Vendor"
|
||||
:show-edit-icon="true"
|
||||
v-model="obj.purchasedFromVendorId"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('UnitPurchaseFromID')"
|
||||
@@ -237,7 +237,7 @@
|
||||
v-model="obj.purchasedDate"
|
||||
:readonly="formState.readOnly"
|
||||
ref="purchasedDate"
|
||||
testId="purchasedDate"
|
||||
test-id="purchasedDate"
|
||||
:error-messages="form().serverErrors(this, 'purchasedDate')"
|
||||
@input="fieldValueChanged('purchasedDate')"
|
||||
></gz-date-time-picker>
|
||||
@@ -371,9 +371,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')"
|
||||
@@ -383,8 +383,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"
|
||||
@@ -398,8 +398,8 @@
|
||||
>
|
||||
<gz-attachments
|
||||
:readonly="formState.readOnly"
|
||||
:ayaType="ayaType"
|
||||
:ayaId="obj.id"
|
||||
:aya-type="ayaType"
|
||||
:aya-id="obj.id"
|
||||
></gz-attachments
|
||||
></v-col>
|
||||
</v-row>
|
||||
|
||||
Reference in New Issue
Block a user