This commit is contained in:
@@ -31,6 +31,28 @@
|
||||
@input="fieldValueChanged('name')"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'subVendorId') && obj.userType == 5"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<gz-pick-list
|
||||
:ayaType="ayaTypes().Vendor"
|
||||
:showEditIcon="true"
|
||||
v-model="obj.subVendorId"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('Vendor')"
|
||||
ref="subVendorId"
|
||||
:data-cy="!!$ay.dev ? 'subVendorId' : false"
|
||||
:error-messages="form().serverErrors(this, 'subVendorId')"
|
||||
@input="fieldValueChanged('subVendorId')"
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-text-field
|
||||
v-model="obj.employeeNumber"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'UserId')"
|
||||
v-if="form().showMe(this, 'customerId') && obj.userType == 3"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
@@ -33,6 +33,27 @@
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'headOfficeId') && obj.userType == 4"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<gz-pick-list
|
||||
:ayaType="ayaTypes().HeadOffice"
|
||||
:showEditIcon="true"
|
||||
v-model="obj.headOfficeId"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('HeadOffice')"
|
||||
ref="headOfficeId"
|
||||
:data-cy="!!$ay.dev ? 'headOfficeId' : false"
|
||||
:error-messages="form().serverErrors(this, 'headOfficeId')"
|
||||
@input="fieldValueChanged('headOfficeId')"
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-text-field
|
||||
v-model="obj.name"
|
||||
@@ -742,6 +763,7 @@ async function fetchTranslatedText(vm) {
|
||||
"User",
|
||||
"Name",
|
||||
"Customer",
|
||||
"HeadOffice",
|
||||
"NewLogin",
|
||||
"NewPassword",
|
||||
"AuthorizationRoles",
|
||||
|
||||
Reference in New Issue
Block a user