fix: เพิ่ม id
This commit is contained in:
parent
d049782e36
commit
f5925987a0
3 changed files with 8 additions and 1 deletions
|
|
@ -541,6 +541,7 @@ watch(
|
|||
<template>
|
||||
<ButtonAddComponent style="z-index: 999">
|
||||
<q-fab-action
|
||||
id="btn-add-personne"
|
||||
:label="$t('personnelAdd')"
|
||||
external-label
|
||||
label-position="left"
|
||||
|
|
|
|||
|
|
@ -1152,6 +1152,7 @@ watch(currentStatus, async () => {
|
|||
<template>
|
||||
<ButtonAddComponent style="z-index: 999" v-if="selectorLabel === 'EMPLOYER'">
|
||||
<q-fab-action
|
||||
id="add-customer-legal-entity"
|
||||
style="color: white; background-color: hsla(var(--purple-11-hsl))"
|
||||
@click="triggerCreate('CORP')"
|
||||
padding="xs"
|
||||
|
|
@ -1161,6 +1162,7 @@ watch(currentStatus, async () => {
|
|||
label-position="left"
|
||||
/>
|
||||
<q-fab-action
|
||||
id="add-customer-natural-person"
|
||||
:label="$t('add') + ' ' + $t('customerNaturalPerson')"
|
||||
external-label
|
||||
label-position="left"
|
||||
|
|
|
|||
|
|
@ -234,13 +234,16 @@ onMounted(async () => {
|
|||
|
||||
watch(productMode, () => (inputSearch.value = ''));
|
||||
|
||||
watch(currentStatus, async () => {});
|
||||
watch(currentStatus, async () => {
|
||||
await fetchListGroups();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ButtonAddComponent style="z-index: 999">
|
||||
<q-fab-action
|
||||
v-if="productMode === 'group'"
|
||||
id="btn-add-product-group"
|
||||
style="color: white; background-color: hsla(var(--pink-6-hsl))"
|
||||
padding="xs"
|
||||
icon="mdi-folder-multiple-plus"
|
||||
|
|
@ -256,6 +259,7 @@ watch(currentStatus, async () => {});
|
|||
/>
|
||||
<q-fab-action
|
||||
v-if="productMode === 'type'"
|
||||
id="btn-add-product-type"
|
||||
:label="$t('productAndServiceType')"
|
||||
external-label
|
||||
label-position="left"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue