This commit is contained in:
2021-08-06 21:50:28 +00:00
parent 0186da8453
commit 96aaaefdc6
10 changed files with 44 additions and 66 deletions

View File

@@ -19,7 +19,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'RateAccountNumber')"
v-if="form().showMe(this, 'AccountNumber')"
cols="12"
sm="6"
lg="4"
@@ -36,13 +36,7 @@
></v-text-field>
</v-col>
<v-col
v-if="form().showMe(this, 'RateCharge')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-col cols="12" sm="6" lg="4" xl="3">
<gz-currency
v-model="obj.charge"
:readonly="formState.readOnly"
@@ -58,13 +52,7 @@
></gz-currency>
</v-col>
<v-col
v-if="form().showMe(this, 'Cost')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-col cols="12" sm="6" lg="4" xl="3">
<gz-currency
v-model="obj.cost"
:readonly="formState.readOnly"
@@ -81,7 +69,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'RateUnitChargeDescriptionID')"
v-if="form().showMe(this, 'Unit')"
cols="12"
sm="6"
lg="4"
@@ -129,7 +117,7 @@
></v-checkbox>
</v-col>
<!-- --------------------------------- -->
<v-col v-if="form().showMe(this, 'ServiceRateNotes')" cols="12">
<v-col v-if="form().showMe(this, 'Notes')" cols="12">
<v-textarea
v-model="obj.notes"
:readonly="formState.readOnly"

View File

@@ -91,7 +91,7 @@
></v-checkbox>
</v-col>
<!-- --------------------------------- -->
<v-col v-if="form().showMe(this, 'TaxCodeNotes')" cols="12">
<v-col v-if="form().showMe(this, 'Notes')" cols="12">
<v-textarea
v-model="obj.notes"
:readonly="formState.readOnly"

View File

@@ -19,7 +19,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'RateAccountNumber')"
v-if="form().showMe(this, 'AccountNumber')"
cols="12"
sm="6"
lg="4"
@@ -36,13 +36,7 @@
></v-text-field>
</v-col>
<v-col
v-if="form().showMe(this, 'RateCharge')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-col cols="12" sm="6" lg="4" xl="3">
<gz-currency
v-model="obj.charge"
:readonly="formState.readOnly"
@@ -58,13 +52,7 @@
></gz-currency>
</v-col>
<v-col
v-if="form().showMe(this, 'Cost')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-col cols="12" sm="6" lg="4" xl="3">
<gz-currency
v-model="obj.cost"
:readonly="formState.readOnly"
@@ -81,7 +69,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'RateUnitChargeDescriptionID')"
v-if="form().showMe(this, 'Unit')"
cols="12"
sm="6"
lg="4"
@@ -127,7 +115,7 @@
></v-checkbox>
</v-col>
<!-- --------------------------------- -->
<v-col v-if="form().showMe(this, 'TravelRateNotes')" cols="12">
<v-col v-if="form().showMe(this, 'Notes')" cols="12">
<v-textarea
v-model="obj.notes"
:readonly="formState.readOnly"

View File

@@ -563,7 +563,7 @@ function generateMenu(vm) {
formData: {
ayaType: window.$gz.type.Translation,
recordId: vm.$route.params.recordid,
formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
// formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
recordName: vm.obj.name
},
menuItems: []

View File

@@ -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"

View File

@@ -170,7 +170,7 @@
></gz-phone>
</v-col>
<v-col
<!-- <v-col
v-if="form().showMe(this, 'DefaultServiceTemplateId')"
cols="12"
sm="6"
@@ -190,7 +190,7 @@
"
@input="fieldValueChanged('defaultServiceTemplateId')"
></gz-pick-list>
</v-col>
</v-col> -->
<v-col
v-if="form().showMe(this, 'BillHeadOffice')"

View File

@@ -31,7 +31,7 @@
></v-checkbox>
</v-col>
<!-- --------------------------------- -->
<v-col v-if="form().showMe(this, 'PartWarehouseNotes')" cols="12">
<v-col v-if="form().showMe(this, 'Notes')" cols="12">
<v-textarea
v-model="obj.notes"
:readonly="formState.readOnly"

View File

@@ -19,7 +19,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'PartName')"
v-if="form().showMe(this, 'Name')"
cols="12"
sm="6"
lg="4"
@@ -87,7 +87,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'PartUPC')"
v-if="form().showMe(this, 'UPC')"
cols="12"
sm="6"
lg="4"
@@ -105,7 +105,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'PartManufacturerID')"
v-if="form().showMe(this, 'ManufacturerID')"
cols="12"
sm="6"
lg="4"
@@ -125,7 +125,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'PartManufacturerNumber')"
v-if="form().showMe(this, 'ManufacturerNumber')"
cols="12"
sm="6"
lg="4"
@@ -143,7 +143,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'PartWholesalerID')"
v-if="form().showMe(this, 'WholesalerID')"
cols="12"
sm="6"
lg="4"
@@ -163,7 +163,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'PartWholesalerNumber')"
v-if="form().showMe(this, 'WholesalerNumber')"
cols="12"
sm="6"
lg="4"
@@ -181,7 +181,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'PartAlternativeWholesalerID')"
v-if="form().showMe(this, 'AlternativeWholesalerID')"
cols="12"
sm="6"
lg="4"
@@ -203,7 +203,7 @@
</v-col>
<v-col
v-if="form().showMe(this, 'PartAlternativeWholesalerNumber')"
v-if="form().showMe(this, 'AlternativeWholesalerNumber')"
cols="12"
sm="6"
lg="4"

View File

@@ -43,7 +43,7 @@
></gz-pick-list>
</v-col>
<v-col
v-if="form().showMe(this, 'PurchaseOrderStatus')"
v-if="form().showMe(this, 'Status')"
cols="12"
sm="6"
lg="4"