This commit is contained in:
2021-07-28 19:42:55 +00:00
parent b251ad6cce
commit 85aa0c88f3
2 changed files with 35 additions and 1 deletions

View File

@@ -516,6 +516,7 @@ CURRENTLY DOING: PM stuff:
Pore over quote and PM and look for workorder remnants, particularly biz actions and rules
Add back end rules as necessary for quotes and PM's
Sanity checks for PM settings will be a must here
GenerateBeforeInterval must be less than repeatinterval
test help links
Child->grandchild data lists for quotes and pm's like workorders
release

View File

@@ -86,7 +86,6 @@
</v-col>
<v-col cols="5">
<v-select
class="ml-1"
v-model="value.repeatUnit"
:items="pvm.selectLists.pmTimeUnits"
item-text="name"
@@ -102,6 +101,40 @@
</v-row>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-row>
<v-col cols="5">
<v-text-field
v-model="value.generateBeforeInterval"
:readonly="formState.readOnly"
:label="$ay.t('GenerateBefore')"
ref="generateBeforeInterval"
data-cy="generateBeforeInterval"
:rules="[form().integerValid(this, 'generateBeforeInterval')]"
:error-messages="
form().serverErrors(this, 'generateBeforeInterval')
"
@input="fieldValueChanged('generateBeforeInterval')"
type="number"
></v-text-field>
</v-col>
<v-col cols="5">
<v-select
v-model="value.generateBeforeUnit"
:items="pvm.selectLists.pmTimeUnits"
item-text="name"
item-value="id"
:readonly="formState.readOnly"
:ref="`generateBeforeUnit`"
data-cy="usertype"
:rules="[form().integerValid(this, `generateBeforeUnit`)]"
:error-messages="form().serverErrors(this, `generateBeforeUnit`)"
@input="fieldValueChanged(`generateBeforeUnit`)"
></v-select>
</v-col>
</v-row>
</v-col>
<!-- ##################################################################################### -->
<v-col
v-if="