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 tm6Number = defineModel<string>('tm6Number');
const entryDate = defineModel<Date | null | string>('entryDate'); const entryDate = defineModel<Date | null | string>('entryDate');
withDefaults( defineProps<{
defineProps<{ title?: string;
title?: string; dense?: boolean;
dense?: boolean; outlined?: boolean;
outlined?: boolean; readonly?: boolean;
readonly?: boolean; separator?: boolean;
separator?: boolean; typeCustomer?: string;
typeCustomer?: string; prefixId: string;
prefixId: string; }>();
showBtnSave: boolean;
}>(),
{
showBtnSave: false,
},
);
async function fetchProvince() { async function fetchProvince() {
const result = await adrressStore.fetchProvince(); const result = await adrressStore.fetchProvince();
@ -457,19 +451,6 @@ watch(
</q-input> </q-input>
</template> </template>
</VueDatePicker> </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>
</div> </div>
</template> </template>