This commit is contained in:
@@ -216,6 +216,28 @@
|
|||||||
></gz-pick-list>
|
></gz-pick-list>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
|
<v-col
|
||||||
|
v-if="showQuoteReportSelector"
|
||||||
|
cols="12"
|
||||||
|
sm="6"
|
||||||
|
lg="4"
|
||||||
|
xl="3"
|
||||||
|
>
|
||||||
|
<gz-pick-list
|
||||||
|
ref="linkQuoteReportId"
|
||||||
|
v-model="obj.linkReportId"
|
||||||
|
:aya-type="ayaTypes().Report"
|
||||||
|
:variant="ayaTypes().Quote.toString()"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('AttachReport')"
|
||||||
|
data-cy="linkReportId"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'linkReportId')
|
||||||
|
"
|
||||||
|
@input="fieldValueChanged('linkReportId')"
|
||||||
|
></gz-pick-list>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<gz-tag-picker
|
<gz-tag-picker
|
||||||
ref="tags"
|
ref="tags"
|
||||||
@@ -439,6 +461,14 @@ export default {
|
|||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
showQuoteReportSelector() {
|
||||||
|
switch (this.obj.eventType) {
|
||||||
|
case 9: //quote status changed
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
Reference in New Issue
Block a user