fix: แก้เงื่อนไขไม่ตรง

This commit is contained in:
Net 2024-06-12 09:24:22 +07:00
parent cb01378114
commit bff6e88a22

View file

@ -1110,7 +1110,7 @@ watch(fieldSelectedCustomer, async () => {
:color="i.color" :color="i.color"
@trigger=" @trigger="
() => { () => {
triggerCreate(i.text as 'CORP' | 'PERS'); triggerCreate(i.text === 'customerLegalEntity' ? 'CORP' : 'PERS');
} }
" "
/> />