|
|
@@ -5,6 +5,16 @@
|
|
|
<template #header>
|
|
|
<app-navbar title="订单转让" @back="closed" />
|
|
|
</template>
|
|
|
+ <div class="form-price" v-if="quote">
|
|
|
+ <dl>
|
|
|
+ <dt>回购价</dt>
|
|
|
+ <dd :class="quote.bidColor">{{ handleNumberValue(formatDecimal(quote.bid, quote.decimalplace)) }}</dd>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <dt>销售价</dt>
|
|
|
+ <dd :class="quote.askColor">{{ handleNumberValue(formatDecimal(quote.ask, quote.decimalplace)) }}</dd>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
<Form ref="formRef" class="g-form__container" @submit="onSubmit">
|
|
|
<CellGroup inset>
|
|
|
<Cell title="可用重量" :value="enableqty + getGoodsUnitName(selectedRow.goodsUnitID)" />
|
|
|
@@ -38,7 +48,7 @@
|
|
|
import { shallowRef, PropType, onMounted, onUnmounted, computed } from 'vue'
|
|
|
import { CellGroup, Cell, Button, Stepper, Field, Form, FormInstance, FieldRule, RadioGroup, Radio } from 'vant'
|
|
|
import { fullloading } from '@/utils/vant'
|
|
|
-import { handleRequestBigNumber } from '@/filters'
|
|
|
+import { handleRequestBigNumber, handleNumberValue, formatDecimal } from '@/filters'
|
|
|
import { getGoodsUnitName } from '@/constants/unit'
|
|
|
import { useOrder } from '@/business/trade'
|
|
|
import { useFuturesStore } from '@/stores'
|
|
|
@@ -143,4 +153,8 @@ onUnmounted(() => subscribe.stop())
|
|
|
defineExpose({
|
|
|
closed,
|
|
|
})
|
|
|
-</script>
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less">
|
|
|
+@import './index.less';
|
|
|
+</style>
|