This commit is contained in:
2021-08-23 23:50:58 +00:00
parent 2639c780c6
commit dcfda2ba50
2 changed files with 26 additions and 2 deletions

View File

@@ -21,7 +21,8 @@ Aug
notification of multiple however the fuck that works
test notification
Cases from Joyce
prevent login during migration except for superuser
po workorderitempart request selection dialog missing stubbed out as todo where you select part requests that are open to order
Update all dependencies here

View File

@@ -80,6 +80,22 @@
></gz-decimal>
</v-col>
<v-col v-if="showIntegerDecValue" cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.decValue"
:readonly="formState.readOnly"
:clearable="!formState.readOnly"
@click:clear="fieldValueChanged('decValue')"
:label="$ay.t('UiFieldDataTypesInteger')"
ref="decValue"
data-cy="decValue"
:rules="[form().integerValid(this, 'decValue')]"
:error-messages="form().serverErrors(this, 'decValue')"
@input="fieldValueChanged('decValue')"
type="number"
></v-text-field>
</v-col>
<v-col v-if="showAgeValue" cols="12" sm="6" lg="4" xl="3">
<gz-duration-picker
v-model="obj.ageValue"
@@ -379,8 +395,14 @@ export default {
return this.obj.eventType == 9;
},
showDecValue() {
//WorkorderTotalExceedsThreshold = 23 The "Andy"
return this.obj.eventType == 23; // || this.obj.eventType == 11; //service bank threshold
},
showIntegerDecValue() {
//UnitMeterReadingMultipleExceeded=26,
return this.obj.eventType == 26;
},
showAyaType() {
switch (this.obj.eventType) {
case 1:
@@ -762,7 +784,8 @@ async function fetchTranslatedText(vm) {
"Duration",
"TaggedWith",
"WorkOrderStatus",
"Total"
"Total",
"UiFieldDataTypesInteger"
]);
}