This commit is contained in:
2021-04-05 23:16:28 +00:00
parent 34173c7b28
commit 29b7f5696e

View File

@@ -13,15 +13,17 @@
>$ayiCheckCircle</v-icon
>
</template>
<div>
<template v-if="canAdd">
<template v-if="canAdd">
<div class="xmt-5">
<v-autocomplete
v-model="selectedStatus"
:items="pvm.selectLists.allowedwostatus"
label="select"
item-text="name"
item-value="id"
></v-autocomplete>
</template>
</div>
</div>
</template>
<!--
Display as drop down box set to last status entered, user selects new status and it appends a new record to the wostate collection
@@ -68,10 +70,7 @@ export default {
return window.$gz.form;
},
fieldValueChanged(ref) {
if (
!this.pvm.formState.loading &&
!this.pvm.formState.readonly
) {
if (!this.pvm.formState.loading && !this.pvm.formState.readonly) {
window.$gz.form.fieldValueChanged(this.pvm, ref);
}
}
@@ -92,8 +91,6 @@ export default {
z => z.id == laststate.workOrderStatusId
);
if (found) {
found.locked = true;
found.completed = true;
return found;
}
}