|
|
@@ -73,7 +73,8 @@ import { formatDecimal, handleNumberValue, handleRequestBigNumber, handlePriceCo
|
|
|
import { useOrder } from '@/business/trade'
|
|
|
import { dialog, fullloading } from '@/utils/vant'
|
|
|
import { useFuturesStore, usePositionStore, i18n, useAccountStore, useUserStore } from '@/stores'
|
|
|
-import { EBuildType, EDelistingType, EListingSelectType, EPriceMode, EValidType } from '@/constants/client'
|
|
|
+import { EBuildType, EDelistingType, EListingSelectType, EValidType } from '@/constants/client'
|
|
|
+import eventBus from '@/services/bus'
|
|
|
|
|
|
const props = defineProps({
|
|
|
selectedRow: {
|
|
|
@@ -180,6 +181,8 @@ const onCloseSumit = () => {
|
|
|
fullloading((hideLoading) => {
|
|
|
formSubmit().then(() => {
|
|
|
hideLoading(t('position.goods.tips4'), 'success')
|
|
|
+ // 成交通知
|
|
|
+ eventBus.$emit('OrderDealedNtf')
|
|
|
closed(true)
|
|
|
}).catch((err) => {
|
|
|
hideLoading(err, 'fail')
|