|
@@ -29,7 +29,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 均价 -->
|
|
<!-- 均价 -->
|
|
|
<template #averageprice="{ text }">
|
|
<template #averageprice="{ text }">
|
|
|
- <a>{{ text ? text : 0 }}</a>
|
|
|
|
|
|
|
+ <a>{{ handleNoneValue(text)}}</a>
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 持仓盈亏 -->
|
|
<!-- 持仓盈亏 -->
|
|
|
<template #profitloss="{ record }">
|
|
<template #profitloss="{ record }">
|
|
@@ -75,6 +75,7 @@ import { ref } from 'vue';
|
|
|
import { QueryQuoteGoodsListRsp } from '@/services/go/Tjmd/interface';
|
|
import { QueryQuoteGoodsListRsp } from '@/services/go/Tjmd/interface';
|
|
|
import Bus from '@/utils/eventBus/index';
|
|
import Bus from '@/utils/eventBus/index';
|
|
|
import { tabColumns } from './setup';
|
|
import { tabColumns } from './setup';
|
|
|
|
|
+import { handleNoneValue } from '@/common/setup/table/tableQuote';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: enumOrderComponents.commodity_contract_summary,
|
|
name: enumOrderComponents.commodity_contract_summary,
|
|
@@ -157,6 +158,7 @@ export default defineComponent({
|
|
|
swapList,
|
|
swapList,
|
|
|
findGoodsCode,
|
|
findGoodsCode,
|
|
|
isDiaoQi,
|
|
isDiaoQi,
|
|
|
|
|
+ handleNoneValue,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|