feat: readonly

This commit is contained in:
Methapon2001 2024-08-05 15:43:14 +07:00
parent 6d039862c2
commit 5d3aae0bb1

View file

@ -9,7 +9,6 @@ defineProps<{
prefixId?: string; prefixId?: string;
outlined?: boolean; outlined?: boolean;
readonly?: boolean; readonly?: boolean;
saveEnabled?: boolean;
customerType?: 'CORP' | 'PERS'; customerType?: 'CORP' | 'PERS';
}>(); }>();
@ -67,6 +66,7 @@ watch(
/> />
<span>{{ $t('customer.form.group.basicInfo') }}</span> <span>{{ $t('customer.form.group.basicInfo') }}</span>
<q-btn <q-btn
v-if="!readonly"
type="submit" type="submit"
dense dense
unelevated unelevated