fix: แก้ customerType ไม่เปลี่ยนค่าตอนกดดูนายจ้าง
This commit is contained in:
parent
6add0cc327
commit
601aa69d7c
1 changed files with 5 additions and 0 deletions
|
|
@ -788,6 +788,7 @@ watch(locale, () => {
|
|||
}"
|
||||
@enter-card="
|
||||
() => {
|
||||
currentCustomerUrlImage = i.imageUrl;
|
||||
currentCustomerId = i.id;
|
||||
isMainPage = false;
|
||||
}
|
||||
|
|
@ -806,6 +807,10 @@ watch(locale, () => {
|
|||
@view-card="
|
||||
() => {
|
||||
currentCustomerId = i.id;
|
||||
customerType =
|
||||
i.customerType === 'CORP'
|
||||
? 'customerLegalEntity'
|
||||
: 'customerNaturalPerson';
|
||||
assignFormData(i);
|
||||
openDialogInputForm('INFO', i.id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue