This commit is contained in:
2021-01-02 18:59:42 +00:00
parent ee4fb103de
commit 6e7d786744
9 changed files with 37 additions and 52 deletions

View File

@@ -23,6 +23,8 @@ todo: Notification at server has NotifyDeliveryLog object unused and no UI at fr
figure it out figure it out
todo: figure out the grid view form slowness, maybe there are extraneous elements or something, it's important because it's oft-used todo: figure out the grid view form slowness, maybe there are extraneous elements or something, it's important because it's oft-used
todo: in many areas I'm using unnecessary v-row elements, only one is necessary
Do a quick search for v-row and see what's what
todo: unitmodel, maybe can make a combo unique constraint for the model number or name by combining with the vendorID todo: unitmodel, maybe can make a combo unique constraint for the model number or name by combining with the vendorID
it's doubtful two models from the same vendor would have the same model number so this covers that case or am I wrong on that? it's doubtful two models from the same vendor would have the same model number so this covers that case or am I wrong on that?
@@ -63,11 +65,7 @@ todo: actual customer reports so can figure out datalist for bringing other name
CURRENTLY DOING: CURRENTLY DOING:
Unit - front end Unit
put warranty override in tab of it's own
override warranty checkbox should gray out override terms
Report isn't tested yet Report isn't tested yet
Migration code Migration code

View File

@@ -19,18 +19,12 @@
cache-items cache-items
> >
<template slot="no-data" v-if="tagSearchEntry"> <template slot="no-data" v-if="tagSearchEntry">
<v-container fluid> <v-chip color="primary" text-color="white" class="display-1">
<v-row> {{ this.normalizeTag(tagSearchEntry) }}</v-chip
<v-row justify-center> >
<v-chip color="primary" text-color="white" class="display-1"> <v-btn large icon @click="addTag()">
{{ this.normalizeTag(tagSearchEntry) }}</v-chip <v-icon large color="success">$ayiPlusCircle</v-icon>
> </v-btn>
<v-btn large icon @click="addTag()">
<v-icon large color="success">$ayiPlusCircle</v-icon>
</v-btn>
</v-row>
</v-row>
</v-container>
</template> </template>
</v-autocomplete> </v-autocomplete>
</div> </div>

View File

@@ -33,29 +33,22 @@
<span class="headline">{{ $ay.t("MoveSelected") }}</span> <span class="headline">{{ $ay.t("MoveSelected") }}</span>
</v-card-title> </v-card-title>
<v-card-text> <v-card-text>
<v-container> <v-select
<v-row> v-model="moveType"
<v-col cols="12"> :items="selectLists.objectTypes"
<v-select item-text="name"
v-model="moveType" item-value="id"
:items="selectLists.objectTypes" :label="$ay.t('AyaType')"
item-text="name" ></v-select>
item-value="id"
:label="$ay.t('AyaType')"
></v-select>
</v-col>
<v-col cols="12" v-if="moveType != 0"> <gz-pick-list
<gz-pick-list v-if="moveType != 0"
:ayaType="moveType" :ayaType="moveType"
:showEditIcon="false" :showEditIcon="false"
:includeInactive="true" :includeInactive="true"
v-model="moveId" v-model="moveId"
label="Id" label="Id"
></gz-pick-list> ></gz-pick-list>
</v-col>
</v-row>
</v-container>
</v-card-text> </v-card-text>
<v-card-actions> <v-card-actions>
<v-spacer></v-spacer> <v-spacer></v-spacer>

View File

@@ -11,7 +11,7 @@
<v-tab v-if="obj.id != 0">{{ $ay.t("UserSettings") }}</v-tab> <v-tab v-if="obj.id != 0">{{ $ay.t("UserSettings") }}</v-tab>
<v-tabs-items v-model="tab"> <v-tabs-items v-model="tab">
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field <v-text-field
@@ -216,7 +216,7 @@
></v-col> ></v-col>
</v-row> </v-row>
</v-tab-item> </v-tab-item>
<v-tab-item v-if="obj.id != 0" class="mt-4"> <v-tab-item v-if="obj.id != 0" class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-select <v-select

View File

@@ -13,7 +13,7 @@
<v-tab>{{ $ay.t("Contacts") }}</v-tab> <v-tab>{{ $ay.t("Contacts") }}</v-tab>
<v-tabs-items v-model="tab"> <v-tabs-items v-model="tab">
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field <v-text-field
@@ -418,7 +418,7 @@
></v-col> ></v-col>
</v-row> </v-row>
</v-tab-item> </v-tab-item>
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12"> <v-col cols="12">
<v-menu offset-y v-if="rights.change"> <v-menu offset-y v-if="rights.change">
@@ -696,7 +696,7 @@
</v-col> </v-col>
</v-row> </v-row>
</v-tab-item> </v-tab-item>
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12"> <v-col cols="12">
<v-data-table <v-data-table

View File

@@ -13,7 +13,7 @@
<v-tab>{{ $ay.t("Contacts") }}</v-tab> <v-tab>{{ $ay.t("Contacts") }}</v-tab>
<v-tabs-items v-model="tab"> <v-tabs-items v-model="tab">
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field <v-text-field
@@ -323,7 +323,7 @@
></v-col> ></v-col>
</v-row> </v-row>
</v-tab-item> </v-tab-item>
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12"> <v-col cols="12">
<v-menu offset-y v-if="rights.change"> <v-menu offset-y v-if="rights.change">
@@ -601,7 +601,7 @@
</v-col> </v-col>
</v-row> </v-row>
</v-tab-item> </v-tab-item>
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12"> <v-col cols="12">
<v-data-table <v-data-table

View File

@@ -11,7 +11,7 @@
<v-tab v-if="obj.id != 0">{{ $ay.t("UserSettings") }}</v-tab> <v-tab v-if="obj.id != 0">{{ $ay.t("UserSettings") }}</v-tab>
<v-tabs-items v-model="tab"> <v-tabs-items v-model="tab">
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col <v-col
v-if="form().showMe(this, 'customerId') && obj.userType == 3" v-if="form().showMe(this, 'customerId') && obj.userType == 3"
@@ -206,7 +206,7 @@
></v-col> ></v-col>
</v-row> </v-row>
</v-tab-item> </v-tab-item>
<v-tab-item v-if="obj.id != 0" class="mt-4"> <v-tab-item v-if="obj.id != 0" class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-select <v-select

View File

@@ -577,7 +577,7 @@
################################# WARRANTY TAB ######################### ################################# WARRANTY TAB #########################
--> -->
<v-tab-item class="mt-4 ml-2"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox <v-checkbox

View File

@@ -9,7 +9,7 @@
<v-tab>{{ $ay.t("Vendor") }}</v-tab> <v-tab>{{ $ay.t("Vendor") }}</v-tab>
<v-tab>{{ $ay.t("Address") }}</v-tab> <v-tab>{{ $ay.t("Address") }}</v-tab>
<v-tabs-items v-model="tab"> <v-tabs-items v-model="tab">
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field <v-text-field
@@ -294,7 +294,7 @@
></v-col> ></v-col>
</v-row> </v-row>
</v-tab-item> </v-tab-item>
<v-tab-item class="mt-4"> <v-tab-item class="mt-4 ml-2">
<v-row> <v-row>
<v-col cols="12"> <v-col cols="12">
<v-menu offset-y v-if="rights.change"> <v-menu offset-y v-if="rights.change">