This commit is contained in:
@@ -509,6 +509,7 @@ CURRENTLY DOING: PM stuff:
|
|||||||
pmdatalist
|
pmdatalist
|
||||||
|
|
||||||
front end
|
front end
|
||||||
|
front end default data objects in quote and pm and properly set defaults for new record
|
||||||
report fields coming over properly
|
report fields coming over properly
|
||||||
back end biz job to actually do the generation
|
back end biz job to actually do the generation
|
||||||
Clean up notification for PM's and Quotes as they are filled with service wo shit
|
Clean up notification for PM's and Quotes as they are filled with service wo shit
|
||||||
|
|||||||
@@ -296,6 +296,8 @@ export default {
|
|||||||
"MaintenanceExpiredNote",
|
"MaintenanceExpiredNote",
|
||||||
"Import",
|
"Import",
|
||||||
"Export",
|
"Export",
|
||||||
|
"TimeSpanYears",
|
||||||
|
"TimeSpanMonths",
|
||||||
"TimeSpanDays",
|
"TimeSpanDays",
|
||||||
"TimeSpanHours",
|
"TimeSpanHours",
|
||||||
"TimeSpanMinutes",
|
"TimeSpanMinutes",
|
||||||
|
|||||||
@@ -55,6 +55,8 @@
|
|||||||
data-cy="woAddress"
|
data-cy="woAddress"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
|
<!-- ##################################################################################### -->
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
v-model="value.active"
|
v-model="value.active"
|
||||||
@@ -66,6 +68,41 @@
|
|||||||
@change="fieldValueChanged('active')"
|
@change="fieldValueChanged('active')"
|
||||||
></v-checkbox>
|
></v-checkbox>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-row>
|
||||||
|
<v-col cols="5">
|
||||||
|
<v-text-field
|
||||||
|
v-model="value.repeatInterval"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('RepeatInterval')"
|
||||||
|
ref="repeatInterval"
|
||||||
|
data-cy="repeatInterval"
|
||||||
|
:rules="[form().integerValid(this, 'repeatInterval')]"
|
||||||
|
:error-messages="form().serverErrors(this, 'repeatInterval')"
|
||||||
|
@input="fieldValueChanged('repeatInterval')"
|
||||||
|
type="number"
|
||||||
|
></v-text-field>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="5">
|
||||||
|
<v-select
|
||||||
|
class="ml-1"
|
||||||
|
v-model="value.repeatUnit"
|
||||||
|
:items="pvm.selectLists.pmTimeUnits"
|
||||||
|
item-text="name"
|
||||||
|
item-value="id"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:ref="`repeatUnit`"
|
||||||
|
data-cy="usertype"
|
||||||
|
:rules="[form().integerValid(this, `repeatUnit`)]"
|
||||||
|
:error-messages="form().serverErrors(this, `repeatUnit`)"
|
||||||
|
@input="fieldValueChanged(`repeatUnit`)"
|
||||||
|
></v-select>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
|
<!-- ##################################################################################### -->
|
||||||
<v-col
|
<v-col
|
||||||
v-if="
|
v-if="
|
||||||
form().showMe(this, 'WorkOrderSummary') &&
|
form().showMe(this, 'WorkOrderSummary') &&
|
||||||
|
|||||||
@@ -263,7 +263,8 @@ export default {
|
|||||||
woItemPriorities: [],
|
woItemPriorities: [],
|
||||||
woItemStatus: [],
|
woItemStatus: [],
|
||||||
woItemTaskCompletionTypes: [],
|
woItemTaskCompletionTypes: [],
|
||||||
loanUnitRateUnits: []
|
loanUnitRateUnits: [],
|
||||||
|
pmTimeUnits: []
|
||||||
},
|
},
|
||||||
maxTableNotesLength: 50, //value to cut off notes in tables
|
maxTableNotesLength: 50, //value to cut off notes in tables
|
||||||
saveResult: {
|
saveResult: {
|
||||||
@@ -2093,6 +2094,9 @@ async function populateSelectionLists(vm) {
|
|||||||
"WorkorderItemTaskCompletionType"
|
"WorkorderItemTaskCompletionType"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
await window.$gz.enums.fetchEnumList("PMTimeUnit"); //prefetch
|
||||||
|
vm.selectLists.pmTimeUnits = window.$gz.enums.getSelectionList("PMTimeUnit");
|
||||||
|
|
||||||
await window.$gz.enums.fetchEnumList("LoanUnitRateUnit"); //prefetch
|
await window.$gz.enums.fetchEnumList("LoanUnitRateUnit"); //prefetch
|
||||||
vm.selectLists.loanUnitRateUnits = window.$gz.enums.getSelectionList(
|
vm.selectLists.loanUnitRateUnits = window.$gz.enums.getSelectionList(
|
||||||
"LoanUnitRateUnit"
|
"LoanUnitRateUnit"
|
||||||
|
|||||||
Reference in New Issue
Block a user