Bladeren bron

#6682 【交易中心-WebPC】交易市场支持”97“模式参考商品,列表字段与“99“模式相同(添加回”“买价、卖价”)

deng.yinping 9 maanden geleden
bovenliggende
commit
ccb69d95df

+ 1 - 0
src/packages/pc/views/market/trade/index.vue

@@ -23,6 +23,7 @@ const componentMap = new Map<string, unknown>([
     ['tradeModel_17', defineAsyncComponent(() => import('./spot/index.vue'))], // 现货挂牌
     ['tradeModel_46', defineAsyncComponent(() => import('./swap/index.vue'))], // 掉期市场
     ['tradeModel_99', defineAsyncComponent(() => import('./market/index.vue'))], // 参考行情
+    ['tradeModel_97', defineAsyncComponent(() => import('./market/index.vue'))], // 参考行情2
     ['tradeModel_10', defineAsyncComponent(() => import('./pricing/v2/index.vue'))], // 挂牌点价
     ['tradeModel_53', defineAsyncComponent(() => import('./mall/index.vue'))], // 点价商城
 ])

+ 2 - 2
src/packages/pc/views/market/trade/market/index.vue

@@ -67,9 +67,9 @@ const componentMap = new Map<string, unknown>([
 const tableColumns = shallowRef<Model.TableColumn[]>([
     { field: 'goodscode', label: 'quote.goodscode' },
     { field: 'goodsname', label: 'quote.goodsname1' },
-    // { field: 'ask', label: '卖价' },
-    // { field: 'bid', label: '买价' },
     { field: 'last', label: 'quote.last' },
+    { field: 'bid', label: 'quote.bid' },
+    { field: 'ask', label: 'quote.ask' },
     { field: 'rise', label: 'quote.rise' },
     { field: 'change', label: 'quote.change' },
     { field: 'opened', label: 'quote.opened' },