This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
></gz-duration-picker>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-col v-if="showDeliveryMethod" cols="12" sm="6" lg="4" xl="3">
|
||||
<v-select
|
||||
v-model="obj.deliveryMethod"
|
||||
:items="selectLists.deliveryMethods"
|
||||
@@ -295,6 +295,9 @@ export default {
|
||||
showDeliveryAddress() {
|
||||
return this.obj.deliveryMethod == 2;
|
||||
},
|
||||
showDeliveryMethod() {
|
||||
return this.obj.eventType != 27;
|
||||
},
|
||||
showWoStatus() {
|
||||
switch (this.obj.eventType) {
|
||||
case 4:
|
||||
@@ -371,6 +374,11 @@ export default {
|
||||
!this.formState.loading &&
|
||||
!this.formState.readOnly
|
||||
) {
|
||||
//"fieldValueChanged('eventType')"
|
||||
//if it's a general notification make sure delivery is set to email
|
||||
if (ref == "eventType" && this.obj.eventType == 27) {
|
||||
this.obj.deliveryMethod = 2;
|
||||
}
|
||||
window.$gz.form.fieldValueChanged(this, ref);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user