물건목록 수정2

This commit is contained in:
basssy 2024-11-13 09:39:24 +09:00
parent 8b7c2fad0c
commit 9a387f5418

View File

@ -324,8 +324,9 @@ export default function StuffSearchCondition() {
}) })
} else { } else {
//X //X
//
setSchSelSaleStoreId('') setSchSelSaleStoreId('')
stuffSearch.schSelSaleStoreId = '' // stuffSearch.schSelSaleStoreId = ''
//2 //2
setOtherSaleStoreList([]) setOtherSaleStoreList([])
@ -344,17 +345,16 @@ export default function StuffSearchCondition() {
//X 1 //X 1
if (session.storeLvl === '1') { if (session.storeLvl === '1') {
if (stuffSearch.schOtherSelSaleStoreId === '') { if (stuffSearch.schOtherSelSaleStoreId === '') {
stuffSearch.schSelSaleStoreId = '' //
// stuffSearch.schSelSaleStoreId = ''
setSchSelSaleStoreId(session.storeId) setSchSelSaleStoreId(session.storeId)
} else { } else {
//
setOtherSaleStoreId('') setOtherSaleStoreId('')
setStuffSearch({ setStuffSearch({
...stuffSearch, ...stuffSearch,
schOtherSelSaleStoreId: '', // schOtherSelSaleStoreId: '',
}) })
//1 2
//stuffSearch schSelSaleStoreId
//schOtherSelSaleStoreId
} }
} else { } else {
setOtherSaleStoreId('') setOtherSaleStoreId('')