fix method of order

This commit is contained in:
2026-02-26 15:26:45 +03:30
parent 4a3ea232b5
commit 9d0fa0bb64
@@ -641,8 +641,8 @@ async function ok() {
await createOrder({ await createOrder({
direction: isBuy.value ? 1 : 2, direction: isBuy.value ? 1 : 2,
product_id: props.ProductItem?.id, product_id: props.ProductItem?.id,
method: 'cash', method: form.value?.method,
number: form.value.goldValue ?? 0 number: form.value?.goldValue ?? 0
}) })
await walletStore.getMyWallet() await walletStore.getMyWallet()
await router.push({ name: 'transactions' }) await router.push({ name: 'transactions' })