+
{{ `موجودی کیف طلا: ${walletStore?.walletInfo?.gold ?? 0} گرم` }}
-
- {{ `موجودی کیف پول: ${usePriceWithoutType(walletStore?.walletInfo?.cash ?? 0)} ریال` }}
-
-
{{ `موجودی محصول: ${getInventoryById(props?.ProductItem?.id)}` }}
-
@@ -648,14 +643,14 @@ async function ok() {
await createOrder({
direction: isBuy.value ? 1 : 2,
product_id: props.ProductItem.id,
- method: form.value.method,
+ method: "gold_withdraw",
number: form.value.goldValue ?? 0
})
- await physicalReceiveApi({
+ /*await physicalReceiveApi({
product_id: props.ProductItem.id,
value: form.value.goldValue ?? 0
}
- )
+ )*/
await walletStore.getMyWallet()
await router.push({ name: 'transactions' })
form.value = {