case 4377

This commit is contained in:
2023-11-02 20:46:50 +00:00
parent 5ecb3a2071
commit 033e28cbf4
3 changed files with 12 additions and 30 deletions

View File

@@ -301,9 +301,10 @@
lg="4" lg="4"
xl="3" xl="3"
> >
<v-text-field <GzWoContact
ref="customerContactName" ref="customerContactName"
v-model="value.customerContactName" v-model="value.customerContactName"
:pvm="pvm"
dense dense
:readonly=" :readonly="
formState.readOnly || formState.readOnly ||
@@ -315,7 +316,7 @@
data-cy="customerContactName" data-cy="customerContactName"
:error-messages="form().serverErrors(this, 'customerContactName')" :error-messages="form().serverErrors(this, 'customerContactName')"
@input="fieldValueChanged('customerContactName')" @input="fieldValueChanged('customerContactName')"
></v-text-field> ></GzWoContact>
</v-col> </v-col>
<v-col <v-col
@@ -477,10 +478,12 @@
<script> <script>
import GzWoAddress from "./work-order-address.vue"; import GzWoAddress from "./work-order-address.vue";
import GZDaysOfWeek from "./days-of-week-control.vue"; import GZDaysOfWeek from "./days-of-week-control.vue";
import GzWoContact from "./work-order-contact.vue";
export default { export default {
components: { components: {
GzWoAddress, GzWoAddress,
GZDaysOfWeek GZDaysOfWeek,
GzWoContact
}, },
props: { props: {

View File

@@ -308,9 +308,10 @@
lg="4" lg="4"
xl="3" xl="3"
> >
<v-text-field <GzWoContact
ref="customerContactName" ref="customerContactName"
v-model="value.customerContactName" v-model="value.customerContactName"
:pvm="pvm"
dense dense
:readonly=" :readonly="
formState.readOnly || formState.readOnly ||
@@ -322,7 +323,7 @@
data-cy="customerContactName" data-cy="customerContactName"
:error-messages="form().serverErrors(this, 'customerContactName')" :error-messages="form().serverErrors(this, 'customerContactName')"
@input="fieldValueChanged('customerContactName')" @input="fieldValueChanged('customerContactName')"
></v-text-field> ></GzWoContact>
</v-col> </v-col>
<v-col <v-col
@@ -484,10 +485,12 @@
<script> <script>
import GzQuoteState from "./quote-state.vue"; import GzQuoteState from "./quote-state.vue";
import GzWoAddress from "./work-order-address.vue"; import GzWoAddress from "./work-order-address.vue";
import GzWoContact from "./work-order-contact.vue";
export default { export default {
components: { components: {
GzQuoteState, GzQuoteState,
GzWoAddress GzWoAddress,
GzWoContact
}, },
props: { props: {

View File

@@ -275,30 +275,6 @@
></gz-date-time-picker> ></gz-date-time-picker>
</v-col> </v-col>
<!-- <v-col
v-if="form().showMe(this, 'WorkOrderCustomerContactName')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-text-field
ref="customerContactName"
v-model="value.customerContactName"
dense
:readonly="
formState.readOnly ||
value.userIsTechRestricted ||
value.userIsSubContractorFull ||
value.userIsSubContractorRestricted
"
:label="$ay.t('WorkOrderCustomerContactName')"
data-cy="customerContactName"
:error-messages="form().serverErrors(this, 'customerContactName')"
@input="fieldValueChanged('customerContactName')"
></v-text-field>
</v-col> -->
<v-col <v-col
v-if="form().showMe(this, 'WorkOrderCustomerContactName')" v-if="form().showMe(this, 'WorkOrderCustomerContactName')"
cols="12" cols="12"