This commit is contained in:
2026-02-25 15:52:31 +03:30
parent b6f928f7e8
commit c2473094f3
5 changed files with 13 additions and 10 deletions
@@ -142,8 +142,9 @@ function handleRemove(id: number) {
async function initProductWallet() {
try {
loading.value = true
items.value = (await getProductInventory()).rows.filter(x => (x.title !== 'آبشده نقدی' && x.wallet?.gold && x.wallet?.gold > 0))
items.value = (await getProductInventory()).rows
baseItems.value = cloneDeep(items.value)
console.log('baseItems.value',baseItems.value)
} catch (e) {
console.log(e)
} finally {