|
@@ -15,6 +15,14 @@
|
|
|
<Cell title="可用数量"
|
|
<Cell title="可用数量"
|
|
|
:value="((detail.tHDetailEx.holderQty - detail.tHDetailEx.freezeQty) * detail.agreeUnit) + getGoodsUnitName(detail.goodsUnitID)" />
|
|
:value="((detail.tHDetailEx.holderQty - detail.tHDetailEx.freezeQty) * detail.agreeUnit) + getGoodsUnitName(detail.goodsUnitID)" />
|
|
|
<Cell title="订单价格" :value="detail.tHDetailEx.holderPrice" />
|
|
<Cell title="订单价格" :value="detail.tHDetailEx.holderPrice" />
|
|
|
|
|
+ <Cell title="订单金额" :value="detail.tHDetailEx.tradeAmount" />
|
|
|
|
|
+ <Cell title="浮动权益">
|
|
|
|
|
+ <template #value>
|
|
|
|
|
+ <span :class="handlePriceColor(detail.tHDetailEx.floatPL)">
|
|
|
|
|
+ {{ detail.tHDetailEx.floatPL }}
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </Cell>
|
|
|
<Cell title="已付定金" :value="detail.tHDetailEx.payedDeposit" />
|
|
<Cell title="已付定金" :value="detail.tHDetailEx.payedDeposit" />
|
|
|
<Cell title="已补定金" :value="detail.tHDetailEx.restockDeposit" />
|
|
<Cell title="已补定金" :value="detail.tHDetailEx.restockDeposit" />
|
|
|
<Cell title="订单天数" :value="detail.tHDetailEx.holdDays" />
|
|
<Cell title="订单天数" :value="detail.tHDetailEx.holdDays" />
|
|
@@ -40,7 +48,7 @@
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { shallowRef, PropType } from 'vue'
|
|
import { shallowRef, PropType } from 'vue'
|
|
|
import { CellGroup, Cell } from 'vant'
|
|
import { CellGroup, Cell } from 'vant'
|
|
|
-import { parsePercent } from '@/filters'
|
|
|
|
|
|
|
+import { parsePercent, handlePriceColor } from '@/filters'
|
|
|
import { BuyOrSell } from '@/constants/order'
|
|
import { BuyOrSell } from '@/constants/order'
|
|
|
import AppModal from '@/components/base/modal/index.vue'
|
|
import AppModal from '@/components/base/modal/index.vue'
|
|
|
import { useSBYJOrder } from '@/business/order'
|
|
import { useSBYJOrder } from '@/business/order'
|