|
|
@@ -5,7 +5,7 @@
|
|
|
<template #footer>
|
|
|
<Cell>
|
|
|
<template #title>
|
|
|
- <b>{{ quote?.goodscode }}</b>
|
|
|
+ <b>{{ quote?.goodscode }}/{{ quote?.goodsname }}</b>
|
|
|
</template>
|
|
|
<template #label>
|
|
|
<span>{{ quote?.presettle }}</span>
|
|
|
@@ -37,7 +37,7 @@
|
|
|
</Row>
|
|
|
<Form ref="formRef" class="g-form__container">
|
|
|
<CellGroup inset>
|
|
|
- <Field label="限单价" is-link>
|
|
|
+ <Field label="方式" is-link>
|
|
|
<template #input>
|
|
|
<app-select v-model="formData.PriceMode" :options="options" />
|
|
|
</template>
|
|
|
@@ -54,7 +54,7 @@
|
|
|
<app-stepper v-model="formData.OrderQty" min="0.0" :auto-fixed="false" integer />
|
|
|
</template>
|
|
|
</Field>
|
|
|
- <Cell title="开仓价值" :value="openAmount" />
|
|
|
+ <Cell title="开仓价值" :value="formatDecimal(openAmount)" />
|
|
|
</CellGroup>
|
|
|
<CellGroup>
|
|
|
<Cell title="可用余额" :value="calculations.availableBalance" />
|
|
|
@@ -85,7 +85,7 @@
|
|
|
import { shallowRef, computed, onMounted } from 'vue'
|
|
|
import { Form, Button, CellGroup, Field, Cell, Tab, Tabs, FieldRule, Col, Row } from 'vant'
|
|
|
import { EPriceMode, EValidType, EOrderOperateType, EBuildType } from '@/constants/client'
|
|
|
-import { parsePercent } from '@/filters'
|
|
|
+import { formatDecimal, parsePercent } from '@/filters'
|
|
|
import { useNavigation } from '@mobile/router/navigation'
|
|
|
import { useFuturesStore, useSBYJOrderStore } from '@/stores'
|
|
|
import { fullloading, dialog } from '@/utils/vant'
|