물건목록 수정

This commit is contained in:
basssy 2024-11-11 15:51:07 +09:00
parent d985b587cf
commit ed67cbd614

View File

@ -267,7 +267,7 @@ export default function StuffSearchCondition() {
const onInputChange = (key) => {
if (key !== '') {
setShowSaleStoreList(schSelSaleStoreList)
setOtherSaleStoreList([])
// setOtherSaleStoreList([])
} else {
setShowSaleStoreList(favoriteStoreList)
}
@ -500,7 +500,9 @@ export default function StuffSearchCondition() {
} else if (stuffSearch?.code === 'E' && schSelSaleStoreId !== '') {
return option.saleStoreId === schSelSaleStoreId
} else {
if (stuffSearch?.schSelSaleStoreId !== '') {
if (stuffSearch?.code === 'FINISH') {
return option.saleStoreId === schSelSaleStoreId
} else if (stuffSearch?.schSelSaleStoreId !== '') {
return option.saleStoreId === stuffSearch.schSelSaleStoreId
} else {
return false