fix(04): branch id select label
This commit is contained in:
parent
1661ce4b4a
commit
fba8992419
3 changed files with 16 additions and 21 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { QSelect } from 'quasar';
|
||||
import { getRole } from 'src/services/keycloak';
|
||||
import { selectFilterOptionRefMod } from 'src/stores/utils';
|
||||
import { ref, onMounted } from 'vue';
|
||||
|
|
@ -15,7 +16,7 @@ const registeredBranchId = defineModel<string>('registeredBranchId');
|
|||
const codeOption = ref<{ id: string; name: string }[]>([]);
|
||||
const optionsBranch = defineModel<{ id: string; name: string }[]>(
|
||||
'optionsBranch',
|
||||
{ required: true },
|
||||
{ default: [] },
|
||||
);
|
||||
|
||||
defineProps<{
|
||||
|
|
@ -87,7 +88,6 @@ const branchFilter = selectFilterOptionRefMod(
|
|||
</q-item>
|
||||
</template>
|
||||
</q-select>
|
||||
|
||||
<q-select
|
||||
outlined
|
||||
clearable
|
||||
|
|
|
|||
|
|
@ -1,15 +1,12 @@
|
|||
<script setup lang="ts">
|
||||
import { QSelect } from 'quasar';
|
||||
import { getRole } from 'src/services/keycloak';
|
||||
import useOptionStore from 'src/stores/options';
|
||||
import { selectFilterOptionRefMod } from 'src/stores/utils';
|
||||
import { ref } from 'vue';
|
||||
|
||||
const optionStore = useOptionStore();
|
||||
|
||||
const remark = defineModel<string>('remark');
|
||||
const detail = defineModel<string>('detail');
|
||||
const name = defineModel<string>('name');
|
||||
const code = defineModel<string>('code');
|
||||
|
||||
const serviceCode = defineModel<string>('serviceCode');
|
||||
const serviceName = defineModel<string>('serviceNameTh');
|
||||
|
|
@ -19,7 +16,7 @@ const registeredBranchId = defineModel<string | null>('registeredBranchId');
|
|||
|
||||
const optionsBranch = defineModel<{ id: string; name: string }[]>(
|
||||
'optionsBranch',
|
||||
{ required: true },
|
||||
{ default: [] },
|
||||
);
|
||||
|
||||
defineProps<{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue