refactor: add prefixId

This commit is contained in:
Net 2024-07-30 15:49:38 +07:00
parent b9234a0eb6
commit b5866c91f5
3 changed files with 13 additions and 2 deletions

View file

@ -2290,6 +2290,9 @@ watch(isMainPage, () => {
:id="`card-${props.row.customerName}`"
:field-selected="fieldSelected"
history
:prefix-id="
props.row.customerNameEN ?? props.rowIndex
"
:data="{
code: props.row.code,
name:
@ -2753,6 +2756,7 @@ watch(isMainPage, () => {
:id="`card-${props.row.firstNameEN}`"
:field-selected="fieldSelected"
history
:prefix-id="props.row.firstNameEN ?? props.rowIndex"
:data="{
code: props.row.code,
name:
@ -4069,6 +4073,7 @@ watch(isMainPage, () => {
no-hover
no-action
no-detail
prefix-id="drawer-edit"
:data="{
name:
formDataEmployee.firstName + ' ' + formDataEmployee.lastName,