huangbin %!s(int64=4) %!d(string=hai) anos
pai
achega
525581152d

+ 0 - 1
src/services/socket/quota/adapter/index.ts

@@ -127,7 +127,6 @@ export function parseReceivePush(quotationData: any) {
             // console.log(el.goodscode, el.refgoodscode, goodsQuoteTik.goodscode)
             return goodcode === goodsQuoteTik.goodscode
         });
-        // debugger
         if (itemQuote) {
             const goods = getGoodsByCode(itemQuote.goodscode);
             if (goods) {

+ 10 - 11
src/views/market/spot_trade/setup.ts

@@ -2,7 +2,6 @@ import { BtnListType } from '@/common/components/btnList/interface';
 import { ContextMenuTemp } from "@/common/components/contextMenu/interface";
 import { handleContextMenu } from "@/common/components/contextMenu/setup";
 import { EnumRouterName } from '@/common/constants/enumRouterName';
-import { ModalEnum } from '@/common/constants/modalNameEnum';
 import { getTableColumns, getTableEvent, initData } from "@/common/export/table";
 import { findChildList, getClassName } from "@/common/setup/table/button";
 import { ComposeTableParam, TableEventCB } from "@/common/setup/table/interface";
@@ -34,17 +33,17 @@ export function handleSpotBtnList(menuType: EnumRouterName) {
         const fnMap = (arr: OperationTabMenu[]) => {
             return arr.map(e => {
                 const { code, title } = e;
-                // 处理 多对一
-                let result = code
-                if (code.includes(ModalEnum.spot_trade_warehouse_post_buying)) {
-                    // 挂牌求购
-                    result = ModalEnum.spot_trade_warehouse_post_buying
-                } else if (code.includes(ModalEnum.spot_trade_warehouse_detail)) {
-                    // 详情
-                    result = ModalEnum.spot_trade_warehouse_detail
-                }
+                // // 处理 多对一
+                // let result = code
+                // if (code.includes(ModalEnum.spot_trade_warehouse_post_buying)) {
+                //     // 挂牌求购
+                //     result = ModalEnum.spot_trade_warehouse_post_buying
+                // } else if (code.includes(ModalEnum.spot_trade_warehouse_detail)) {
+                //     // 详情
+                //     result = ModalEnum.spot_trade_warehouse_detail
+                // }
 
-                return { lable: title, code: result, className: getClassName(code) }
+                return { lable: title, code, className: getClassName(code) }
             })
         }
         // 过滤报价大厅按钮列表

+ 1 - 1
src/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_price/index.vue

@@ -43,7 +43,7 @@ export default defineComponent({
         warehouse_receipt_trade_price_spot_trade_warehouse_detail: defineAsyncComponent(() => import('../../components/detail/index.vue')),
         warehouse_receipt_trade_price_spot_trade_warehouse_post_buying: defineAsyncComponent(() => import('../../components/post_buying/index.vue')),
         buyAndSell: defineAsyncComponent(() => import('../../components/buy-sell-market/index.vue')),
-        // postBuying: defineAsyncComponent(() => import('../../components/post_buying/index.vue')),
+        postBuying: defineAsyncComponent(() => import('../../components/post_buying/index.vue')),
     },
     setup() {
         const isBottom = getShowBottomValue();