|
@@ -20,46 +20,38 @@
|
|
|
<div class="right">
|
|
<div class="right">
|
|
|
<ul>
|
|
<ul>
|
|
|
<li>
|
|
<li>
|
|
|
- <span>订单重量:</span>
|
|
|
|
|
- <span>
|
|
|
|
|
- {{ item.openqty * item.agreeunit }}
|
|
|
|
|
- {{ getGoodsUnitName(item.goodunitid) }}
|
|
|
|
|
- </span>
|
|
|
|
|
|
|
+ <span>{{ $t('position.goodscode') }}:</span>
|
|
|
|
|
+ <span>{{ item.goodscode }}</span>
|
|
|
</li>
|
|
</li>
|
|
|
<li>
|
|
<li>
|
|
|
- <span>交收重量:</span>
|
|
|
|
|
- <span>{{ (item.deliveryqty * item.agreeunit) + getGoodsUnitName(item.goodunitid)
|
|
|
|
|
- }}</span>
|
|
|
|
|
|
|
+ <span>{{ $t('position.goods.holddetail.holderamount') }}:</span>
|
|
|
|
|
+ <span>{{ formatDecimal(item.tradeamount, item.decimalplace) }}</span>
|
|
|
</li>
|
|
</li>
|
|
|
|
|
+ <!-- <li>
|
|
|
|
|
+ <span>{{ $t('position.goods.holddetail.usedMargin') }}:</span>
|
|
|
|
|
+ <span>{{ formatDecimal(item.payeddeposit+item.refundabledeposit, item.decimalplace) }}</span>
|
|
|
|
|
+ </li> -->
|
|
|
<li>
|
|
<li>
|
|
|
- <span>可用重量:</span>
|
|
|
|
|
- <span>
|
|
|
|
|
- {{ enableqty(item) + getGoodsUnitName(item.goodunitid) }}
|
|
|
|
|
|
|
+ <span>货值增减:</span>
|
|
|
|
|
+ <span :class="handlePriceColor(item.floatpl)">
|
|
|
|
|
+ {{ formatDecimal(item.floatpl) }}
|
|
|
</span>
|
|
</span>
|
|
|
</li>
|
|
</li>
|
|
|
<li>
|
|
<li>
|
|
|
- <span>订单价格:</span>
|
|
|
|
|
- <span>{{ formatDecimal(item.openprice, item.decimalplace) }}</span>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li>
|
|
|
|
|
- <span>已付定金:</span>
|
|
|
|
|
- <span>{{ item.payeddeposit }}</span>
|
|
|
|
|
|
|
+ <span>退订价:</span>
|
|
|
|
|
+ <span>{{ formatDecimal(item.holderprice, item.decimalplace) }}</span>
|
|
|
</li>
|
|
</li>
|
|
|
- <li>
|
|
|
|
|
- <span>终止结余:</span>
|
|
|
|
|
- <span :class="handlePriceColor(item.closepl)">{{ item.closepl }}</span>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li v-if="riskType === 1">
|
|
|
|
|
- <span>已补定金:</span>
|
|
|
|
|
- <span>{{ item.restockdeposit }}</span>
|
|
|
|
|
|
|
+ <!-- <li>
|
|
|
|
|
+ <span>{{ $t('position.goods.holddetail.freezeqty') }}:</span>
|
|
|
|
|
+ <span>{{ item.freezeqty }}</span>
|
|
|
</li>
|
|
</li>
|
|
|
<li>
|
|
<li>
|
|
|
- <span>订单天数:</span>
|
|
|
|
|
- <span>{{ item.holddays + 1 }}天</span>
|
|
|
|
|
- </li>
|
|
|
|
|
|
|
+ <span>{{ $t('position.goods.holddetail.holderqty') }}:</span>
|
|
|
|
|
+ <span>{{ enableqty(item) + getGoodsUnitName(item.goodunitid) }}</span>
|
|
|
|
|
+ </li> -->
|
|
|
<li>
|
|
<li>
|
|
|
- <span>滞纳金:</span>
|
|
|
|
|
- <span>{{ item.callatefee }}</span>
|
|
|
|
|
|
|
+ <span>{{ $t('position.goods.holddetail.tradetime') }}:</span>
|
|
|
|
|
+ <span>{{ formatDate(item.tradetime, "YYYY-MM-DD HH:mm:ss") }}</span>
|
|
|
</li>
|
|
</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
@@ -73,7 +65,7 @@
|
|
|
import { shallowRef } from 'vue'
|
|
import { shallowRef } from 'vue'
|
|
|
import { Image } from 'vant'
|
|
import { Image } from 'vant'
|
|
|
import { formatDecimal, handlePriceColor } from '@/filters'
|
|
import { formatDecimal, handlePriceColor } from '@/filters'
|
|
|
-import { getFileUrl } from '@/filters'
|
|
|
|
|
|
|
+import { getFileUrl, formatDate } from '@/filters'
|
|
|
import { getGoodsUnitName } from '@/constants/unit'
|
|
import { getGoodsUnitName } from '@/constants/unit'
|
|
|
import { getBuyOrSellName } from '@/constants/order'
|
|
import { getBuyOrSellName } from '@/constants/order'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
import { useRequest } from '@/hooks/request'
|