|
@@ -29,7 +29,7 @@
|
|
|
<Field name="MarketMaxSub" :rules="formRules.MarketMaxSub" label="点差" v-if="priceMove === 3">
|
|
<Field name="MarketMaxSub" :rules="formRules.MarketMaxSub" label="点差" v-if="priceMove === 3">
|
|
|
<template #input>
|
|
<template #input>
|
|
|
<div class="g-qty-group__stepper">
|
|
<div class="g-qty-group__stepper">
|
|
|
- <Stepper v-model="formData.MarketMaxSub" theme="round" :max="maxspread" :min="minspread" button-size="22" :auto-fixed="false"
|
|
|
|
|
|
|
+ <Stepper v-model="formData.MarketMaxSub" theme="round" :max="maxspread" :min="minspread" button-size="22" :auto-fixed="true"
|
|
|
:step="0.01" @change="calculateListingAmount"/>
|
|
:step="0.01" @change="calculateListingAmount"/>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -50,7 +50,7 @@
|
|
|
</Field>
|
|
</Field>
|
|
|
<Field label="估算价格" v-if="priceMove === 3">
|
|
<Field label="估算价格" v-if="priceMove === 3">
|
|
|
<template #input>
|
|
<template #input>
|
|
|
- <span :class="quote?.lastColor">{{ estimateprice.toFixed(goods?.decimalplace) }}</span>
|
|
|
|
|
|
|
+ <span :class="quote?.lastColor">{{ formatDecimal(estimateprice) }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</Field>
|
|
</Field>
|
|
|
<Field label="参考价格" v-if="priceMove === 2">
|
|
<Field label="参考价格" v-if="priceMove === 2">
|
|
@@ -95,6 +95,7 @@ import { queryTjmdTodayAccountMargin } from '@/services/api/swap'
|
|
|
import { useAccountStore, useFuturesStore, useUserStore } from '@/stores'
|
|
import { useAccountStore, useFuturesStore, useUserStore } from '@/stores'
|
|
|
import { EPriceMode, EListingSelectType, EDelistingType, EBuildType, EValidType, EOrderOperateType } from '@/constants/client'
|
|
import { EPriceMode, EListingSelectType, EDelistingType, EBuildType, EValidType, EOrderOperateType } from '@/constants/client'
|
|
|
import AppPopup from '@mobile/components/base/popup/index.vue'
|
|
import AppPopup from '@mobile/components/base/popup/index.vue'
|
|
|
|
|
+import { formatDecimal } from '@/filters'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
item: {
|
|
item: {
|