This commit is contained in:
2020-09-22 21:01:21 +00:00
parent bc1f964f81
commit 5eb045cead

View File

@@ -259,6 +259,34 @@
@input="fieldValueChanged('marginOptionsTop', 'formPDF')"
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="obj.printBackground"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('ReportPrintBackground')"
ref="printBackground"
:data-cy="!!$ay.dev ? 'printBackground' : false"
:error-messages="form().serverErrors(this, 'printBackground')"
@change="fieldValueChanged('printBackground', 'formPDF')"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<gz-decimal
v-model="obj.scale"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:clearable="!formState.readOnly"
@click:clear="fieldValueChanged('scale')"
:label="$ay.t('ReportScale')"
:error-messages="form().serverErrors(this, 'scale')"
ref="scale"
:data-cy="!!$ay.dev ? 'scale' : false"
@input="fieldValueChanged('scale', 'formPDF')"
></gz-decimal>
</v-col>
</v-row>
</v-form>
</v-col>