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>
|
<template>
|
||||||
<ButtonAddComponent style="z-index: 999">
|
<ButtonAddComponent style="z-index: 999">
|
||||||
<q-fab-action
|
<q-fab-action
|
||||||
|
id="btn-add-personne"
|
||||||
:label="$t('personnelAdd')"
|
:label="$t('personnelAdd')"
|
||||||
external-label
|
external-label
|
||||||
label-position="left"
|
label-position="left"
|
||||||
|
|
|
||||||
|
|
@ -1152,6 +1152,7 @@ watch(currentStatus, async () => {
|
||||||
<template>
|
<template>
|
||||||
<ButtonAddComponent style="z-index: 999" v-if="selectorLabel === 'EMPLOYER'">
|
<ButtonAddComponent style="z-index: 999" v-if="selectorLabel === 'EMPLOYER'">
|
||||||
<q-fab-action
|
<q-fab-action
|
||||||
|
id="add-customer-legal-entity"
|
||||||
style="color: white; background-color: hsla(var(--purple-11-hsl))"
|
style="color: white; background-color: hsla(var(--purple-11-hsl))"
|
||||||
@click="triggerCreate('CORP')"
|
@click="triggerCreate('CORP')"
|
||||||
padding="xs"
|
padding="xs"
|
||||||
|
|
@ -1161,6 +1162,7 @@ watch(currentStatus, async () => {
|
||||||
label-position="left"
|
label-position="left"
|
||||||
/>
|
/>
|
||||||
<q-fab-action
|
<q-fab-action
|
||||||
|
id="add-customer-natural-person"
|
||||||
:label="$t('add') + ' ' + $t('customerNaturalPerson')"
|
:label="$t('add') + ' ' + $t('customerNaturalPerson')"
|
||||||
external-label
|
external-label
|
||||||
label-position="left"
|
label-position="left"
|
||||||
|
|
|
||||||
|
|
@ -234,13 +234,16 @@ onMounted(async () => {
|
||||||
|
|
||||||
watch(productMode, () => (inputSearch.value = ''));
|
watch(productMode, () => (inputSearch.value = ''));
|
||||||
|
|
||||||
watch(currentStatus, async () => {});
|
watch(currentStatus, async () => {
|
||||||
|
await fetchListGroups();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ButtonAddComponent style="z-index: 999">
|
<ButtonAddComponent style="z-index: 999">
|
||||||
<q-fab-action
|
<q-fab-action
|
||||||
v-if="productMode === 'group'"
|
v-if="productMode === 'group'"
|
||||||
|
id="btn-add-product-group"
|
||||||
style="color: white; background-color: hsla(var(--pink-6-hsl))"
|
style="color: white; background-color: hsla(var(--pink-6-hsl))"
|
||||||
padding="xs"
|
padding="xs"
|
||||||
icon="mdi-folder-multiple-plus"
|
icon="mdi-folder-multiple-plus"
|
||||||
|
|
@ -256,6 +259,7 @@ watch(currentStatus, async () => {});
|
||||||
/>
|
/>
|
||||||
<q-fab-action
|
<q-fab-action
|
||||||
v-if="productMode === 'type'"
|
v-if="productMode === 'type'"
|
||||||
|
id="btn-add-product-type"
|
||||||
:label="$t('productAndServiceType')"
|
:label="$t('productAndServiceType')"
|
||||||
external-label
|
external-label
|
||||||
label-position="left"
|
label-position="left"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue