This commit is contained in:
@@ -27,13 +27,7 @@
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'vendorId') && obj.userType == 5"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-col v-if="obj.userType == 5" cols="12" sm="6" lg="4" xl="3">
|
||||
<gz-pick-list
|
||||
:aya-type="ayaTypes().Vendor"
|
||||
show-edit-icon
|
||||
@@ -47,7 +41,13 @@
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3" v-if="obj.id != 1">
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'EmployeeNumber') && obj.id != 1"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-text-field
|
||||
v-model="obj.employeeNumber"
|
||||
:readonly="formState.readOnly"
|
||||
@@ -75,13 +75,7 @@
|
||||
></gz-role-picker>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'UserType')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-select
|
||||
v-model="obj.userType"
|
||||
:items="selectLists.usertypes"
|
||||
@@ -132,7 +126,13 @@
|
||||
@click:append-outer="reveal = !reveal"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'LastLogin')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<gz-date-time-picker
|
||||
:label="$ay.t('LastLogin')"
|
||||
v-model="obj.lastLogin"
|
||||
|
||||
Reference in New Issue
Block a user