Handy_Cao 9 månader sedan
förälder
incheckning
5c087ccf7c
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/packages/sbyj/views/order/detail/index.vue

+ 2 - 2
src/packages/sbyj/views/order/detail/index.vue

@@ -25,7 +25,7 @@
                     <Cell title="已付定金" :value="detail.payedDeposit" />
                     <Cell title="已补定金" :value="detail.restockDeposit" v-if="riskType === 1" />
                     <Cell title="订单天数" :value="detail.holdDays + 1" />
-                    <Cell title="到期剩余天数" :value="detail.closeddays" />
+                    <Cell title="到期剩余天数" :value="(detail.closeddays < 0 ? '--' : detail.closeddays)" />
                     <Cell :title="$t('mine.callAteFee')" :value="detail.callAteFee" />
                     <Cell title="定金率" v-if="riskType === 1">
                         <template #value>
@@ -63,7 +63,7 @@
 <script lang="ts" setup>
 import { shallowRef, PropType, computed } from 'vue'
 import { CellGroup, Cell, Button, Checkbox } from 'vant'
-import { parsePercent, handlePriceColor, formatDecimal, handleRequestBigNumber, handleNumberValue } from '@/filters'
+import { parsePercent, handlePriceColor, formatDecimal, handleRequestBigNumber } from '@/filters'
 import { BuyOrSell } from '@/constants/order'
 import { getGoodsUnitName } from '@/constants/unit'
 import { useGlobalStore, useFuturesStore } from '@/stores'