@@ -28,14 +28,14 @@
</el-form-item>
<el-form-item label="参考损益">
<template #value>
- <span :class="closepl ? 'g-price-up' : 'g-price-down'">{{ formatDecimal(closepl) }}</span>
+ <span :class="closepl ? 'g-price-up' : 'g-price-down'">{{ handleNumberValue(closepl) }}</span>
</template>
<el-form-item prop="DeliveryLot" label="交收数量">
<el-input-number placeholder="请输入数量" v-model="formData.DeliveryLot" :max="selectedRow.enableqty" :min="0" />
<el-form-item prop="DeliveryInfo" label="交收信息">
- <el-input placeholder="请输入交收信息" v-model="formData.DeliveryInfo" />
+ <el-input type="textarea" placeholder="请输入交收信息" v-model="formData.DeliveryInfo" />
</el-form>
<template #footer>
@@ -51,7 +51,7 @@ import { ElMessage, FormInstance, FormRules } from 'element-plus'
import { useOfflineDelivery } from '@/business/trade'
import { useFuturesStore } from '@/stores'
import { getBuyOrSellName, BuyOrSell } from '@/constants/order'
-import { formatDecimal } from '@/filters'
+import { formatDecimal, handleNumberValue } from '@/filters'
import AppDrawer from '@pc/components/base/drawer/index.vue'
const props = defineProps({
@@ -61,7 +61,6 @@ const tableList = computed(() => {
return quoteGoodsList.value.map((item) => {
const quote = futuresStore.getQuoteInfo(item.goodscode)
const { bid, bidColor, bidvolume, ask, askColor, askvolume, limitdown, limitup, lastColor, openedColor, lowestColor, highestColor, last, presettle, rise, change, amplitude, highest, lowest, opened, decimalplace } = quote.value ?? {}
- // console.log(item.goodscode, last)
return {
...item,
lastColor,