feat: enhance SEP entry form and detail handling with conditional disabling and improved data filtering

This commit is contained in:
riefive
2025-12-01 12:02:26 +07:00
parent 4536ca2ef9
commit 6d3dc0e426
3 changed files with 102 additions and 39 deletions
+3 -2
View File
@@ -393,7 +393,7 @@ onMounted(() => {
id="cardNumber"
v-model="cardNumber"
v-bind="cardNumberAttrs"
:disabled="false"
:disabled="isLoading || isReadonly"
/>
</Field>
</Cell>
@@ -408,7 +408,7 @@ onMounted(() => {
id="nationalId"
v-model="nationalId"
v-bind="nationalIdAttrs"
:disabled="false"
:disabled="isLoading || isReadonly"
/>
</Field>
</Cell>
@@ -487,6 +487,7 @@ onMounted(() => {
"
/>
<Button
v-if="!isReadonly"
variant="outline"
type="button"
class="h-[40px] rounded-md border-orange-400 text-orange-400 hover:bg-green-50"