huangbin il y a 4 ans
Parent
commit
7cabac4388

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

@@ -201,7 +201,6 @@ export default defineComponent({
                     DeliveryMonth: '', // string 交收月
                     HasWr: isSale() ? 0 : 1, // uint32 是否有仓单-0:没有仓单 1:有仓单
                 };
-
                 // 摘买方向
                 if (isBuy()) {
                     param.BuyOrSell = 1;

+ 14 - 2
src/views/market/spot_trade/components/buy-sell-market/index.vue

@@ -20,20 +20,32 @@
         <div class="name">{{selectedRow.warehousename}}</div>
       </div>
       <div class="green">
-        <div class="numBlock">
+        <div class="numBlock"
+             v-if="isFloatPrice()">
           <div class="first">卖基差</div>
           <div class="last">{{selectedRow.sellpricemove}}</div>
         </div>
+        <div class="numBlock"
+             v-else>
+          <div class="first">卖价</div>
+          <div class="last">{{selectedRow.sellprice}}</div>
+        </div>
         <div class="numBlock">
           <div class="first">卖量</div>
           <div class="last">{{selectedRow.sellqty}}</div>
         </div>
       </div>
       <div class="red ml35">
-        <div class="numBlock">
+        <div class="numBlock"
+             v-if="isFloatPrice()">
           <div class="first">买基差</div>
           <div class="last">{{selectedRow.buypricemove}}</div>
         </div>
+        <div class="numBlock"
+             v-else>
+          <div class="first">买价</div>
+          <div class="last">{{selectedRow.buyprice}}</div>
+        </div>
         <div class="numBlock">
           <div class="first">买量</div>
           <div class="last">{{selectedRow.buyqty}}</div>