|
@@ -69,7 +69,7 @@
|
|
|
<span>{{ record.deliverygoodsname }}/{{ record.wrstandardname }}</span>
|
|
<span>{{ record.deliverygoodsname }}/{{ record.wrstandardname }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<template #unexehedgeqty="{ text }">
|
|
<template #unexehedgeqty="{ text }">
|
|
|
- <span>{{ text.toFixed(2) }}</span>
|
|
|
|
|
|
|
+ <span>{{ getDecimalsNum(text) }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</a-table>
|
|
</a-table>
|
|
|
</div>
|
|
</div>
|
|
@@ -90,7 +90,8 @@ import { formatValue } from '@/common/methods'
|
|
|
import { getChannelBuildName, getBuyOrSellName } from '@/common/constants/enumsName'
|
|
import { getChannelBuildName, getBuyOrSellName } from '@/common/constants/enumsName'
|
|
|
import { InternalUncorrelatedTradeDetailRsp } from '@/services/go/ermcp/hedgedItem/interface'
|
|
import { InternalUncorrelatedTradeDetailRsp } from '@/services/go/ermcp/hedgedItem/interface'
|
|
|
import { useForm } from './form'
|
|
import { useForm } from './form'
|
|
|
-import { BuildType, BuyOrSell } from '@/common/constants/enumCommon';
|
|
|
|
|
|
|
+import { BuildType, BuyOrSell } from '@/common/constants/enumCommon'
|
|
|
|
|
+import { getDecimalsNum } from '@/utils/number'
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
emits: ['cancel'],
|
|
emits: ['cancel'],
|
|
@@ -128,6 +129,7 @@ export default defineComponent({
|
|
|
formSubmit,
|
|
formSubmit,
|
|
|
filterOption,
|
|
filterOption,
|
|
|
changeGoods,
|
|
changeGoods,
|
|
|
|
|
+ getDecimalsNum,
|
|
|
getBuyOrSellName,
|
|
getBuyOrSellName,
|
|
|
getChannelBuildName,
|
|
getChannelBuildName,
|
|
|
}
|
|
}
|