This commit is contained in:
2020-11-18 18:39:47 +00:00
parent 66b017eefa
commit a6214abe23
3 changed files with 9 additions and 9 deletions

View File

@@ -31,7 +31,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'subVendorId') && obj.userType == 5"
v-if="form().showMe(this, 'vendorId') && obj.userType == 5"
cols="12"
sm="6"
lg="4"
@@ -40,14 +40,14 @@
<gz-pick-list
:ayaType="ayaTypes().Vendor"
:showEditIcon="true"
v-model="obj.subVendorId"
v-model="obj.vendorId"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('Vendor')"
ref="subVendorId"
data-cy="subVendorId"
:error-messages="form().serverErrors(this, 'subVendorId')"
@input="fieldValueChanged('subVendorId')"
ref="vendorId"
data-cy="vendorId"
:error-messages="form().serverErrors(this, 'vendorId')"
@input="fieldValueChanged('vendorId')"
></gz-pick-list>
</v-col>
@@ -493,7 +493,7 @@ export default {
notes: null,
customerId: null,
headOfficeId: null,
subVendorId: null,
vendorId: null,
wiki: null,
customFields: "{}",
tags: [],

View File

@@ -497,7 +497,7 @@ export default {
notes: null,
customerId: null,
headOfficeId: null,
subVendorId: null,
vendorId: null,
wiki: null,
customFields: "{}",
tags: [],