Commit 608ebded by 张立顺

fix: match park names in merchant search

1 parent d566fdf7
...@@ -107,7 +107,7 @@ export function filterOrderMerchantOptions(options, keyword) { ...@@ -107,7 +107,7 @@ export function filterOrderMerchantOptions(options, keyword) {
const normalizedKeyword = String(keyword || '').trim().toLowerCase() const normalizedKeyword = String(keyword || '').trim().toLowerCase()
if (!normalizedKeyword) return [...(options || [])] if (!normalizedKeyword) return [...(options || [])]
return (options || []).filter(item => return (options || []).filter(item =>
`${item.merchantName || ''}` `${item.merchantName || ''} ${item.yqMerchantName || ''}`
.toLowerCase() .toLowerCase()
.includes(normalizedKeyword) .includes(normalizedKeyword)
) )
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!