@@ -1754,14 +1799,13 @@ watch(inputSearchProductAndService, async () => {
drawerInfo = true;
}
if (productMode === 'group') {
-
-
- currentStatusProduct = props.row.status === 'INACTIVE';
- clearFormGroup();
- assignFormDataGroup(props.row);
- isEdit = false;
- currentId = props.row.id;
- drawerInfo = true;
+ currentStatusProduct =
+ props.row.status === 'INACTIVE';
+ clearFormGroup();
+ assignFormDataGroup(props.row);
+ isEdit = false;
+ currentId = props.row.id;
+ drawerInfo = true;
}
}
"
@@ -1775,13 +1819,12 @@ watch(inputSearchProductAndService, async () => {
drawerInfo = true;
}
if (productMode === 'group') {
+ clearFormGroup();
+ assignFormDataGroup(props.row);
+ isEdit = true;
+ currentId = props.row.id;
- clearFormGroup();
- assignFormDataGroup(props.row);
- isEdit = true;
- currentId = props.row.id;
-
- drawerInfo = true;
+ drawerInfo = true;
}
}
"
@@ -1791,7 +1834,7 @@ watch(inputSearchProductAndService, async () => {
deleteProductById(props.row.id);
}
if (productMode === 'group') {
- deleteProductById(props.row.id)
+ deleteProductById(props.row.id);
}
}
"
@@ -1809,12 +1852,11 @@ watch(inputSearchProductAndService, async () => {
flowStore.rotate();
}
if (productMode === 'group') {
-
- pathGroupName = props.row.name;
- currentId = props.row.id;
- productMode = 'type';
- await fetchListType();
- flowStore.rotate();
+ pathGroupName = props.row.name;
+ currentId = props.row.id;
+ productMode = 'type';
+ await fetchListType();
+ flowStore.rotate();
}
}
"
@@ -2149,31 +2191,34 @@ watch(inputSearchProductAndService, async () => {
-
-
tbControl[productAndServiceTab].fieldSelected = v
- "
- option-label="label"
- option-value="value"
- map-options
- emit-value
- outlined
- multiple
- dense
- />
+ (tbControl[productAndServiceTab].fieldSelected = v)
+ "
+ option-label="label"
+ option-value="value"
+ map-options
+ emit-value
+ outlined
+ multiple
+ dense
+ />
{
margin-bottom: var(--size-2);
"
>
-
@@ -2420,37 +2472,55 @@ watch(inputSearchProductAndService, async () => {
)
"
>
-
-
-
-
-
- {{ dateFormat(props.row.createdAt) }}
+ {{ dateFormat(props.row.createdAt) }}
{
--_color: var(--orange-5-hsl);
}
-.icon-color-green {
+.icon-color-green {
--_color: var(--teal-10-hsl);
}
@@ -3362,7 +3432,7 @@ watch(inputSearchProductAndService, async () => {
--_color: var(--violet-10-hsl);
}
-.dark .icon-color-green {
+.dark .icon-color-green {
--_color: var(--teal-8-hsl);
}
@@ -3371,10 +3441,9 @@ watch(inputSearchProductAndService, async () => {
}
.table__icon {
-
background-color: hsla(var(--_color) / 0.15);
color: hsla(var(--_color) / 1);
-
+
border-radius: 50%;
padding: var(--size-1);
position: relative;
@@ -3393,12 +3462,10 @@ watch(inputSearchProductAndService, async () => {
background-color: hsla(var(--_branch-status-color) / 1);
}
- &:deep(.q-icon) {
+ &:deep(.q-icon) {
transform: rotate(-45deg);
color: hsla(var(--_branch-card-bg) / 1);
}
-
-
}
.tags {
@@ -3408,7 +3475,4 @@ watch(inputSearchProductAndService, async () => {
border-radius: var(--radius-2);
padding-inline: var(--size-2);
}
-
-
-