diff --git a/src/pages/JournalEntryForm.vue b/src/pages/JournalEntryForm.vue index 2d2a9ba6..cb395035 100644 --- a/src/pages/JournalEntryForm.vue +++ b/src/pages/JournalEntryForm.vue @@ -22,11 +22,7 @@ -
+
@@ -64,6 +64,8 @@ @change="value => doc.set('referenceNumber', value)" input-class="bg-gray-100 p-2 text-base" :show-label="true" + :read-only="doc.submitted" + :class="doc.submitted && 'pointer-events-none'" />
@@ -82,6 +86,7 @@ :df="meta.getField('accounts')" :value="doc.accounts" :showHeader="true" + :max-rows-before-overflow="4" @change="value => doc.set('accounts', value)" :read-only="doc.submitted" /> @@ -97,6 +102,8 @@ :df="meta.getField('userRemark')" :value="doc.userRemark" @change="value => doc.set('userRemark', value)" + :class="doc.submitted && 'pointer-events-none'" + :read-only="doc.submitted" />