This commit is contained in:
@@ -305,6 +305,7 @@
|
|||||||
:size="60"
|
:size="60"
|
||||||
></v-progress-circular>
|
></v-progress-circular>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-if="obj.items.length">
|
||||||
<v-row justify="center">
|
<v-row justify="center">
|
||||||
<v-dialog v-model="editPoItemDialog" persistent>
|
<v-dialog v-model="editPoItemDialog" persistent>
|
||||||
<v-card>
|
<v-card>
|
||||||
@@ -312,7 +313,36 @@
|
|||||||
<span class="headline">{{ $ay.t("FindAndReplace") }}</span>
|
<span class="headline">{{ $ay.t("FindAndReplace") }}</span>
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
form here
|
<v-row>
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<gz-pick-list
|
||||||
|
:aya-type="ayaTypes().Part"
|
||||||
|
:show-edit-icon="true"
|
||||||
|
v-model="obj.items[editPoItemIndex].partId"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('Part')"
|
||||||
|
ref="partId"
|
||||||
|
data-cy="partId"
|
||||||
|
></gz-pick-list>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-text-field
|
||||||
|
v-model="obj.items[editPoItemIndex].vendorPartNumber"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:clearable="!formState.readOnly"
|
||||||
|
@click:clear="fieldValueChanged('vendorPartNumber')"
|
||||||
|
:label="$ay.t('VendorPartNumber')"
|
||||||
|
ref="vendorPartNumber"
|
||||||
|
data-cy="vendorPartNumber"
|
||||||
|
:rules="[form().required(this, 'vendorPartNumber')]"
|
||||||
|
></v-text-field>
|
||||||
|
<!-- maybe don't need this in these sub forms as they are all to do with server related errors which isn't currently supportive of indexed collection children :error-messages="
|
||||||
|
|
||||||
|
//YAGNI FOR NOW
|
||||||
|
form().serverErrors(this, 'vendorPartNumber')
|
||||||
|
" @input="fieldValueChanged('vendorPartNumber')" -->
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
{{ obj.items[editPoItemIndex] }}
|
{{ obj.items[editPoItemIndex] }}
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
@@ -330,6 +360,7 @@
|
|||||||
</v-card>
|
</v-card>
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user