This commit is contained in:
2023-02-08 23:31:41 +00:00
parent aa531abd85
commit 990c48a9a2

View File

@@ -77,6 +77,19 @@
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
ref="isRenewal"
v-model="obj.isRenewal"
dense
:readonly="formState.readOnly"
:label="$sock.t('PurchaseIsRenewal')"
data-cy="isRenewal"
:error-messages="form().serverErrors(this, 'isRenewal')"
@change="fieldValueChanged('isRenewal')"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<gz-date-time-picker
ref="purchaseDate"
@@ -258,7 +271,7 @@ export default {
concurrency: 0,
customerId: 0,
vendorId: 1,
productId: null,
productId: null,
pGroup: 1,
salesOrderNumber: null,
dbId: null,
@@ -695,7 +708,8 @@ async function fetchTranslatedText() {
"PurchaseProcessed",
"PurchaseVendorNotificationId",
"VendorNotification",
"DatabaseID"
"DatabaseID",
"PurchaseIsRenewal"
]);
}
</script>