fix: แก้ แก้ไขเป็น info
This commit is contained in:
parent
eb9e53d7fa
commit
82560b6abd
1 changed files with 2 additions and 1 deletions
|
|
@ -374,6 +374,7 @@ function openDialogCustomerType() {
|
|||
async function openDialogInputForm(
|
||||
action: 'FORM' | 'INFO' = 'FORM',
|
||||
id?: string,
|
||||
isPersonEdit: boolean = false,
|
||||
) {
|
||||
if (action === 'INFO') {
|
||||
if (!id) return;
|
||||
|
|
@ -381,7 +382,7 @@ async function openDialogInputForm(
|
|||
if (selectorLabel.value === 'EMPLOYEE') {
|
||||
await assignFormDataEmployee(id);
|
||||
infoDrawerEmployee.value = true;
|
||||
infoDrawerEmployeeEdit.value = false;
|
||||
infoDrawerEmployeeEdit.value = isPersonEdit ? true : false;
|
||||
const employee = currentEmployee.value;
|
||||
infoEmployeePersonCard.value = employee
|
||||
? [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue