This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
{{
|
||||
{
|
||||
isRestrictedType: value.userIsRestrictedType,
|
||||
isTechRestricted: value.userIsTechRestricted,
|
||||
subfull: value.userIsSubContractorFull,
|
||||
subRestricted: value.userIsSubContractorRestricted
|
||||
}
|
||||
}}
|
||||
|
||||
<v-row>
|
||||
<v-col
|
||||
cols="12"
|
||||
@@ -68,16 +59,21 @@
|
||||
data-cy="customerSignature"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-col
|
||||
v-if="
|
||||
pvm.subRights.states.visible &&
|
||||
form().showMe(this, 'WorkOrderStatus') &&
|
||||
!(
|
||||
value.userIsSubContractorFull ||
|
||||
value.userIsSubContractorRestricted
|
||||
)
|
||||
"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<GzWoState
|
||||
v-if="
|
||||
pvm.subRights.states.visible &&
|
||||
form().showMe(this, 'WorkOrderStatus') &&
|
||||
!(
|
||||
value.userIsSubContractorFull ||
|
||||
value.userIsSubContractorRestricted
|
||||
)
|
||||
"
|
||||
v-model="value"
|
||||
:form-key="formCustomTemplateKey"
|
||||
:readonly="formState.readOnly"
|
||||
@@ -88,12 +84,16 @@
|
||||
/>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-col
|
||||
v-if="
|
||||
form().showMe(this, 'Address') && !value.userIsSubContractorRestricted
|
||||
"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<GzWoAddress
|
||||
v-if="
|
||||
form().showMe(this, 'Address') &&
|
||||
!value.userIsSubContractorRestricted
|
||||
"
|
||||
v-model="value"
|
||||
:form-key="formCustomTemplateKey"
|
||||
:readonly="formState.readOnly || value.userIsRestrictedType"
|
||||
|
||||
Reference in New Issue
Block a user