This commit is contained in:
2021-06-21 17:43:22 +00:00
parent dc3863f6ef
commit fa82935f6e
3 changed files with 26 additions and 22 deletions

View File

@@ -3,8 +3,6 @@
<vueSignature <vueSignature
ref="signature" ref="signature"
:sig-option="option" :sig-option="option"
:w="'800px'"
:h="'400px'"
:disabled="!enabled" :disabled="!enabled"
:default-url="dataUrl" :default-url="dataUrl"
></vueSignature> ></vueSignature>
@@ -15,6 +13,8 @@
<button @click="addWaterMark">addWaterMark</button> <button @click="addWaterMark">addWaterMark</button>
<button @click="handleDisabled">disabled</button> <button @click="handleDisabled">disabled</button>
<button @click="test">TEST</button> <button @click="test">TEST</button>
<!-- :w="'800px'"
:h="'400px'" -->
</div> </div>
</template> </template>
<script> <script>

View File

@@ -1,5 +1,5 @@
<template> <template>
<div> <div class="mb-8">
<div class="mb-n2 ml-10"> <div class="mb-n2 ml-10">
<span class="text-caption">{{ $ay.t("Address") }}</span> <span class="text-caption">{{ $ay.t("Address") }}</span>
</div> </div>

View File

@@ -37,6 +37,22 @@
@input="fieldValueChanged('customerId')" @input="fieldValueChanged('customerId')"
></gz-pick-list> ></gz-pick-list>
</v-col> </v-col>
<v-col
v-if="form().showMe(this, 'CustomerSignature')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<GzWoSignature
v-model="value"
:form-key="formCustomTemplateKey"
:readonly="formState.readOnly"
:pvm="pvm"
variant="customer"
data-cy="customerSignature"
/>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<GzWoState <GzWoState
v-if=" v-if="
@@ -64,26 +80,14 @@
/> />
</v-col> </v-col>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col
v-if="form().showMe(this, 'TechSignature')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<GzWoSignature <GzWoSignature
v-if="
pvm.subRights.states.visible &&
form().showMe(this, 'CustomerSignature')
"
v-model="value"
:form-key="formCustomTemplateKey"
:readonly="formState.readOnly"
:pvm="pvm"
variant="customer"
data-cy="customerSignature"
/>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<GzWoSignature
v-if="
pvm.subRights.states.visible && form().showMe(this, 'TechSignature')
"
v-model="value" v-model="value"
:form-key="formCustomTemplateKey" :form-key="formCustomTemplateKey"
:readonly="formState.readOnly" :readonly="formState.readOnly"