From f726ea231b2109be3cb9cc6eca8aa9a002ab3fce Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Wed, 30 Apr 2025 01:13:31 +0800
Subject: [PATCH] 挂单list页面挂单价格显示修改优先级

---
 src/page/user/Warehouse/data.list.vue |   46 +++++++++++++++++++++++-----------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/src/page/user/Warehouse/data.list.vue b/src/page/user/Warehouse/data.list.vue
index ba89be9..cd0fc33 100644
--- a/src/page/user/Warehouse/data.list.vue
+++ b/src/page/user/Warehouse/data.list.vue
@@ -137,7 +137,7 @@
               </div>
             </div>
           </van-col> -->
-          <!-- <van-col span="8">
+        <!-- <van-col span="8">
             <div style="text-align: center">
               <div class="sport-content-title2">
                 {{ $t("止損價") }} ({{ activeObj.symbolCode }})
@@ -369,8 +369,8 @@
           {{ item.stockSpell }}
         </div>
         <!-- <van-row> -->
-          <!-- <van-col span="8"> -->
-            <!-- <div style="text-align: left">
+        <!-- <van-col span="8"> -->
+        <!-- <div style="text-align: left">
               <div class="sport-content-title2">
                 {{ $t("盈虧") }} ({{ activeObj.symbolCode }})
               </div>
@@ -384,14 +384,14 @@
               >
                 {{ item.profitAndLose }}
               </div> -->
-            <!-- </div> -->
-          <!-- </van-col> -->
-          <!-- <van-col span="8"> -->
-            <!-- <div style="text-align: center"> -->
-            <!-- <div class="sport-content-title2">
+        <!-- </div> -->
+        <!-- </van-col> -->
+        <!-- <van-col span="8"> -->
+        <!-- <div style="text-align: center"> -->
+        <!-- <div class="sport-content-title2">
                 {{ $t("hj141") }} ({{ activeObj.symbolCode }})
               </div> -->
-            <!-- <div
+        <!-- <div
                 class="sport-content-text2"
                 :style="
                   item.profitAndLoseParent.charAt(0) == '-'
@@ -401,9 +401,9 @@
               >
                 {{ item.profitAndLoseParent }}
               </div> -->
-            <!-- </div> -->
-          <!-- </van-col> -->
-          <!-- <van-col span="8">
+        <!-- </div> -->
+        <!-- </van-col> -->
+        <!-- <van-col span="8">
             <div style="text-align: right">
               <div class="sport-content-title2">{{ $t("倉位(股)") }}</div>
               <div class="sport-content-text2">{{ item.orderNum }}</div>
@@ -412,12 +412,12 @@
         <!-- </van-row> -->
         <van-row>
           <van-col span="8">
-             <van-col span="8">
-            <div style="text-align: right">
-              <div class="sport-content-title2">{{ $t("倉位(股)") }}</div>
-              <div class="sport-content-text2">{{ item.orderNum }}</div>
-            </div></van-col
-          >
+            <van-col span="8">
+              <div style="text-align: right">
+                <div class="sport-content-title2">{{ $t("倉位(股)") }}</div>
+                <div class="sport-content-text2">{{ item.orderNum }}</div>
+              </div></van-col
+            >
             <!-- <div style="text-align: left"> -->
             <!-- <div class="sport-content-title2">
                 {{ $t("hj40") }}({{ activeObj.symbolCode }})
@@ -433,7 +433,7 @@
                 {{ $t("持倉價") }} ({{ activeObj.symbolCode }})
               </div>
               <div class="sport-content-text2">
-                {{ item.buyOrderPrice }}
+                {{ item.sellOrderPrice || item.buyOrderPrice }}
               </div>
             </div>
           </van-col>
@@ -449,7 +449,7 @@
           </van-col>
         </van-row>
         <!-- <van-row> -->
-          <!-- <van-col span="12">
+        <!-- <van-col span="12">
             <div style="text-align: left">
               <div class="sport-content-title2">
                 {{ $t("hj44") }} ({{ activeObj.symbolCode }})
@@ -469,7 +469,7 @@
               </div>
             </div>
           </van-col> -->
-          <!-- <van-col span="8">
+        <!-- <van-col span="8">
             <div style="text-align: center">
               <div class="sport-content-title2">
                 {{ $t("止損價") }} ({{ activeObj.symbolCode }})
@@ -683,7 +683,7 @@
         pageNum: 1,
         pageSize: 30
       };
-      if (_laber === "USDT") {
+      if (_laber === "USD") {
         opt.stockCode = "HJYY";
       }
 
@@ -713,7 +713,7 @@
         pageNum: 1,
         pageSize: 30
       };
-      if (_laber === "USDT") {
+      if (_laber === "USD") {
         opt.stockCode = "HJYY";
       }
       const res = await getchicang(opt);

--
Gitblit v1.9.3