|
|
@@ -294,7 +294,7 @@ const calculations = computed(() => {
|
|
|
const estimatedAmount = price * amount
|
|
|
|
|
|
const accountStore = useAccountStore()
|
|
|
- const { avaiableBalance = 0 } = computed(() => accountStore.filterAccountsByCurrencyId(currencyid, goodscurrencyid)).value[0]
|
|
|
+ const { avaiableBalance = 0 } = computed(() => accountStore.filterAccountsByCurrencyId(currencyid, goodscurrencyid)).value[0] ?? {}
|
|
|
|
|
|
const openAmount = price*OrderQty*agreeunit
|
|
|
|