huangbin hace 4 años
padre
commit
8b15b32a93

+ 7 - 1
src/views/market/spot_trade/components/buy-sell-market/index.vue

@@ -57,7 +57,7 @@
         <div class="last red">{{getGoodsPrice()}}</div>
         <LineChartOutlined />
       </div>
-      <BtnList :btnList="firstBtn"
+      <BtnList :btnList="temp(firstBtn)"
                :record="selectedRow"
                @click="openComponent" />
     </div>
@@ -166,6 +166,11 @@ export default defineComponent({
         );
         // 单据挂牌成功 通知买大厅刷新数据
         Bus.$on('spotTrade', loadSellData);
+
+        function temp(list: any[]) {
+            return list.filter((e) => e.code !== 'spot_trade_warehouse_detail');
+        }
+
         return {
             buyRef,
             sellRef,
@@ -180,6 +185,7 @@ export default defineComponent({
             closeComponent,
             openComponent,
             enumName: props.enumName,
+            temp,
         };
     },
 });