This commit is contained in:
2021-05-17 22:55:16 +00:00
parent ac3fc49fc4
commit e5f1923c94
3 changed files with 30 additions and 13 deletions

View File

@@ -95,7 +95,7 @@
></gz-date-time-picker>
</v-col>
<v-col
<!-- <v-col
v-if="form().showMe(this, 'Contract')"
cols="12"
sm="6"
@@ -110,6 +110,26 @@
:pvm="pvm"
data-cy="woContract"
/>
</v-col> -->
<v-col
v-if="form().showMe(this, 'Contract')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-pick-list
:aya-type="$ay.ayt().Contract"
:show-edit-icon="true"
v-model="value.contractId"
:readonly="formState.readOnly"
:label="$ay.t('Contract')"
ref="contractId"
data-cy="contractId"
:error-messages="form().serverErrors(this, 'contractId')"
@input="fieldValueChanged('contractId')"
></gz-pick-list>
</v-col>
<v-col
@@ -292,12 +312,12 @@
////////////////////////////////////////////////////////////////////////////////////////////////////////////
import GzWoState from "./work-order-state.vue";
import GzWoAddress from "./work-order-address.vue";
import GzWoContract from "./work-order-contract.vue";
//import GzWoContract from "./work-order-contract.vue";
export default {
components: {
GzWoState,
GzWoAddress,
GzWoContract
GzWoAddress
//, GzWoContract
},
data() {
return {