This commit is contained in:
2021-02-25 18:39:23 +00:00
parent 15468855ce
commit 8a7184a8ae
2 changed files with 24 additions and 1 deletions

View File

@@ -194,7 +194,8 @@ todo: can edit po number but if I set an existing po number 4 to 23 for example
Should this operation require a special role? Should this operation require a special role?
i.e. if logged in as a bizadmin full then can edit serials i.e. if logged in as a bizadmin full then can edit serials
todo: review PO cases and see what I missed todo: review PO cases and see what I missed
todo: if joyce testing PO try to test concurrency issues around quantities and serials etc
it shouldn't get out of whack no matter what is thrown at it

View File

@@ -574,6 +574,27 @@
" "
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col v-if="form().showMe(this, 'Items.Serials')" cols="12">
<v-textarea
outlined
v-model="obj.items[editPoItemIndex].serials"
:readonly="formState.readOnly"
:label="$ay.t('PurchaseOrderItemSerialNumbers')"
:rows="$vuetify.breakpoint.xs ? 3 : 10"
ref="Items.Serials"
data-cy="Items.Serials"
:error-messages="
form().serverErrors(
this,
`Items[${editPoItemIndex}].serials`
)
"
@input="
fieldValueChanged(`Items[${editPoItemIndex}].serials`)
"
></v-textarea>
</v-col>
</v-row> </v-row>
</v-card-text> </v-card-text>
<v-card-actions> <v-card-actions>
@@ -1480,6 +1501,7 @@ async function fetchTranslatedText(vm) {
"PurchaseOrderReceiptReceivedDate", "PurchaseOrderReceiptReceivedDate",
"PurchaseOrderReceiptItemReceiptCost", "PurchaseOrderReceiptItemReceiptCost",
"PurchaseOrderReceiptItemQuantityReceivedErrorInvalid", "PurchaseOrderReceiptItemQuantityReceivedErrorInvalid",
"PurchaseOrderItemSerialNumbers",
"ReceiveAll", "ReceiveAll",
"Receive", "Receive",
"PurchaseOrderCustom1", "PurchaseOrderCustom1",