refactor: เพิ่ม พื้นฐานให้กับ สาขาที่ลงทะเบียน
This commit is contained in:
parent
99e26e4ad2
commit
fc0abea637
3 changed files with 33 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ const customerBranch = defineModel<{
|
|||
const employeeId = defineModel<string>('employeeId');
|
||||
const nrcNo = defineModel<string>('nrcNo');
|
||||
|
||||
defineProps<{
|
||||
const props = defineProps<{
|
||||
dense?: boolean;
|
||||
outlined?: boolean;
|
||||
readonly?: boolean;
|
||||
|
|
@ -39,14 +39,24 @@ defineEmits<{
|
|||
(e: 'filterOwnerBranch', val: string, update: void): void;
|
||||
}>();
|
||||
|
||||
onMounted(async () => {});
|
||||
onMounted(async () => {
|
||||
|
||||
if(!!props.optionsBranch) {
|
||||
|
||||
registeredBranchId.value = props.optionsBranch[0].id ;
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
|
||||
<div class="col-3 app-text-muted">
|
||||
• {{ $t(`formDialogTitleInformation`) }}
|
||||
</div>
|
||||
<div v-if="!employee" class="col-9 row q-col-gutter-md">
|
||||
|
||||
<q-select
|
||||
id="input-source-nationality"
|
||||
:dense="dense"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue