fix method of order
This commit is contained in:
@@ -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' })
|
||||||
|
|||||||
Reference in New Issue
Block a user