This commit is contained in:
2021-07-29 18:15:39 +00:00
parent 690f41006b
commit 46fc6a8f90

View File

@@ -161,6 +161,30 @@
></gz-date-time-picker>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="value.copyWiki"
:readonly="formState.readOnly"
:label="$ay.t('CopyWiki')"
ref="copyWiki"
data-cy="copyWiki"
:error-messages="form().serverErrors(this, 'copyWiki')"
@change="fieldValueChanged('copyWiki')"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="value.copyAttachments"
:readonly="formState.readOnly"
:label="$ay.t('CopyAttachments')"
ref="copyAttachments"
data-cy="copyAttachments"
:error-messages="form().serverErrors(this, 'copyAttachments')"
@change="fieldValueChanged('copyAttachments')"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="value.active"
@@ -196,102 +220,6 @@
></v-textarea>
</v-col>
<!-- <v-col
v-if="
form().showMe(this, 'PMPMRequestDate') &&
!(
value.userIsSubContractorFull ||
value.userIsSubContractorRestricted
)
"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-date-time-picker
:label="$ay.t('PMPMRequestDate')"
v-model="value.requested"
:readonly="formState.readOnly || value.userIsTechRestricted"
ref="requested"
data-cy="requested"
:error-messages="form().serverErrors(this, 'requested')"
@input="fieldValueChanged('requested')"
></gz-date-time-picker>
</v-col>
<v-col
v-if="
form().showMe(this, 'PMValidUntilDate') &&
!(
value.userIsSubContractorFull ||
value.userIsSubContractorRestricted
)
"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-date-time-picker
:label="$ay.t('PMValidUntilDate')"
v-model="value.validUntil"
:readonly="formState.readOnly || value.userIsTechRestricted"
ref="validUntil"
data-cy="validUntil"
:error-messages="form().serverErrors(this, 'validUntil')"
@input="fieldValueChanged('validUntil')"
></gz-date-time-picker>
</v-col>
<v-col
v-if="
form().showMe(this, 'PMDateSubmitted') &&
!(
value.userIsSubContractorFull ||
value.userIsSubContractorRestricted
)
"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-date-time-picker
:label="$ay.t('PMDateSubmitted')"
v-model="value.submitted"
:readonly="formState.readOnly || value.userIsTechRestricted"
ref="submitted"
data-cy="submitted"
:error-messages="form().serverErrors(this, 'submitted')"
@input="fieldValueChanged('submitted')"
></gz-date-time-picker>
</v-col>
<v-col
v-if="
form().showMe(this, 'PMDateApproved') &&
!(
value.userIsSubContractorFull ||
value.userIsSubContractorRestricted
)
"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-date-time-picker
:label="$ay.t('PMDateApproved')"
v-model="value.approved"
:readonly="formState.readOnly || value.userIsTechRestricted"
ref="approved"
data-cy="approved"
:error-messages="form().serverErrors(this, 'approved')"
@input="fieldValueChanged('approved')"
></gz-date-time-picker>
</v-col> -->
<v-col
v-if="
form().showMe(this, 'Contract') &&