This commit is contained in:
@@ -13,15 +13,17 @@
|
|||||||
>$ayiCheckCircle</v-icon
|
>$ayiCheckCircle</v-icon
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
<div>
|
|
||||||
<template v-if="canAdd">
|
<template v-if="canAdd">
|
||||||
|
<div class="xmt-5">
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-model="selectedStatus"
|
v-model="selectedStatus"
|
||||||
:items="pvm.selectLists.allowedwostatus"
|
:items="pvm.selectLists.allowedwostatus"
|
||||||
label="select"
|
item-text="name"
|
||||||
|
item-value="id"
|
||||||
></v-autocomplete>
|
></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
|
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;
|
return window.$gz.form;
|
||||||
},
|
},
|
||||||
fieldValueChanged(ref) {
|
fieldValueChanged(ref) {
|
||||||
if (
|
if (!this.pvm.formState.loading && !this.pvm.formState.readonly) {
|
||||||
!this.pvm.formState.loading &&
|
|
||||||
!this.pvm.formState.readonly
|
|
||||||
) {
|
|
||||||
window.$gz.form.fieldValueChanged(this.pvm, ref);
|
window.$gz.form.fieldValueChanged(this.pvm, ref);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -92,8 +91,6 @@ export default {
|
|||||||
z => z.id == laststate.workOrderStatusId
|
z => z.id == laststate.workOrderStatusId
|
||||||
);
|
);
|
||||||
if (found) {
|
if (found) {
|
||||||
found.locked = true;
|
|
||||||
found.completed = true;
|
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user