This commit is contained in:
2023-01-24 00:49:30 +00:00
parent 92534a858d
commit dfe226712c

View File

@@ -128,6 +128,25 @@
</div>
</v-col>
<v-col
v-if="obj.pGroup == 3 || obj.pGroup == 2"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-text-field
ref="dbId"
v-model="obj.dbId"
dense
:readonly="formState.readOnly"
:label="$sock.t('DatabaseID')"
data-cy="dbId"
:error-messages="form().serverErrors(this, 'dbId')"
@input="fieldValueChanged('dbId')"
></v-text-field>
</v-col>
<v-col
v-if="form().showMe(this, 'PurchaseCouponCode')"
cols="12"
@@ -239,8 +258,10 @@ export default {
concurrency: 0,
customerId: 0,
vendorId: 1,
productId: null,
productId: null,
pGroup: 1,
salesOrderNumber: null,
dbId: null,
purchaseDate: window.$gz.locale.nowUTC8601String(),
expireDate: null,
cancelDate: null,
@@ -674,7 +695,8 @@ async function fetchTranslatedText() {
"PurchaseQuantity",
"PurchaseProcessed",
"PurchaseVendorNotificationId",
"VendorNotification"
"VendorNotification",
"DatabaseID"
]);
}
</script>