This commit is contained in:
@@ -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?
|
||||
i.e. if logged in as a bizadmin full then can edit serials
|
||||
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
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -574,6 +574,27 @@
|
||||
"
|
||||
></v-text-field>
|
||||
</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-card-text>
|
||||
<v-card-actions>
|
||||
@@ -1480,6 +1501,7 @@ async function fetchTranslatedText(vm) {
|
||||
"PurchaseOrderReceiptReceivedDate",
|
||||
"PurchaseOrderReceiptItemReceiptCost",
|
||||
"PurchaseOrderReceiptItemQuantityReceivedErrorInvalid",
|
||||
"PurchaseOrderItemSerialNumbers",
|
||||
"ReceiveAll",
|
||||
"Receive",
|
||||
"PurchaseOrderCustom1",
|
||||
|
||||
Reference in New Issue
Block a user