|
|
@@ -162,7 +162,7 @@ import { BuyOrSell, getBuyOrSellList, BuildType, getPricemode2List, PriceMode }
|
|
|
import { useComponent } from '@/hooks/component'
|
|
|
import { fullloading, dialog } from '@/utils/vant'
|
|
|
import Stepper from '@mobile/components/base/stepper/index.vue'
|
|
|
-import { formatDecimal, handleNumberValue } from '@/filters'
|
|
|
+import { formatDecimal, handleNumberValue, handleRequestBigNumber } from '@/filters'
|
|
|
|
|
|
const { router, getQueryString, getQueryStringToNumber } = useNavigation()
|
|
|
const { global: { t } } = i18n
|
|
|
@@ -188,9 +188,10 @@ const positionStore = usePositionStore()
|
|
|
// 持仓汇总
|
|
|
const position = shallowRef<Model.TradePositionRsp[]>([])
|
|
|
|
|
|
+// 点击返回
|
|
|
const itemBack = (isPosition: number, buyorsell: BuyOrSell, tradeId: string) => {
|
|
|
- console.log(isPosition, buyorsell, tradeId)
|
|
|
formData.BuyOrSell = buyorsell
|
|
|
+ if (isPosition === 2) { formData.RelatedID = handleRequestBigNumber(tradeId)}
|
|
|
}
|
|
|
|
|
|
const { componentRef, componentId, openComponent, closeComponent } = useComponent()
|