fix(03): employee drawer info visa

This commit is contained in:
puriphatt 2024-08-09 02:10:06 +00:00
parent b9dd21d7bd
commit 8129ae05da

View file

@ -37,21 +37,15 @@ const visaStayUntilDate = defineModel<Date | null | string>(
const tm6Number = defineModel<string>('tm6Number');
const entryDate = defineModel<Date | null | string>('entryDate');
withDefaults(
defineProps<{
title?: string;
dense?: boolean;
outlined?: boolean;
readonly?: boolean;
separator?: boolean;
typeCustomer?: string;
prefixId: string;
showBtnSave: boolean;
}>(),
{
showBtnSave: false,
},
);
defineProps<{
title?: string;
dense?: boolean;
outlined?: boolean;
readonly?: boolean;
separator?: boolean;
typeCustomer?: string;
prefixId: string;
}>();
async function fetchProvince() {
const result = await adrressStore.fetchProvince();
@ -457,19 +451,6 @@ watch(
</q-input>
</template>
</VueDatePicker>
<div class="col-12 row justify-end" style="min-height: 50px">
<q-btn
v-if="!readonly && showBtnSave"
dense
unelevated
id="save-basic-info"
color="primary"
class="q-px-md"
:label="$t('save')"
@click="$emit('save')"
/>
</div>
</div>
</div>
</template>