Handy_Cao hai 3 meses
pai
achega
3303724fb5

+ 1 - 1
src/packages/mobile/views/mall/trade/Index.vue

@@ -8,7 +8,7 @@
         <div class="pricing-trade__header" v-if="goods">
             <h1 class="pricing-trade__header-title">{{ goods.goodsname }}</h1>
              <div class="pricing-trade__header-price">
-                <dl v-if="quote.askColor">
+                <dl v-if="quote.ask">
                     <dt>销售价</dt>
                     <dd>
                         {{ currencyFormat(quote?.ask, quote?.currencyid, {

+ 1 - 1
src/packages/mobile/views/score/trade/Index.vue

@@ -8,7 +8,7 @@
         <div class="pricing-trade__header" v-if="goods">
             <h1 class="pricing-trade__header-title">{{ goods.goodsname }}</h1>
              <div class="pricing-trade__header-price">
-                <dl v-if="quote.askColor">
+                <dl v-if="quote.ask">
                     <dt>积分</dt>
                     <dd>
                         {{ currencyFormat(quote?.ask, quote?.currencyid, {

+ 2 - 2
src/packages/pc/components/modules/quote/forex/index.vue

@@ -2,7 +2,7 @@
     <div class="app-quote-forex"  v-if="quote?.marketid != 99201">
         <ul class="top">
             <template v-for="(item, index) in sellList" :key="index">
-                <li v-if="![10, 53].includes(quote?.trademode ?? 0)" 
+                <li v-if="![10, 53, 54].includes(quote?.trademode ?? 0)" 
                     :class="active === 'sell_' + index ? 'is-active' : ''" @click="onPriceClick(BuyOrSell.Sell, index)" >
                     <span>{{ item.label }}</span>
                     <span :class="item.color">{{ handleNumberValue(item.price.toFixed(quote?.decimalplace)) }}</span>
@@ -16,7 +16,7 @@
         </ul>
         <ul class="bottom" v-if="quote">
             <template v-for="(item, index) in buyList" :key="index">
-                <li v-if="![10, 53].includes(quote?.trademode ?? 0)" 
+                <li v-if="![10, 53, 54].includes(quote?.trademode ?? 0)" 
                     :class="active === 'buy_' + index ? 'is-active' : ''" @click="onPriceClick(BuyOrSell.Buy, index)">
                     <span>{{ item.label }}</span>
                     <span :class="item.color">{{ handleNumberValue(item.price.toFixed(quote?.decimalplace)) }}</span>

+ 1 - 1
src/packages/pc/views/market/trade/pricing/list/listing/index.vue

@@ -69,7 +69,7 @@
                 <el-form-item class="footer-btnbar">
                     <template v-if="formData.BuyOrSell === BuyOrSell.Buy">
                         <el-button ref="submitRef" type="danger" :disabled="!selectedGoodsId || !formData.OrderQty"
-                            @click="onBeforeSubmit(BuildType.Open)" v-if="!selectedGoods?.iscannotbuy">{{ selectedGoods?.trademode != 53 ?
+                            @click="onBeforeSubmit(BuildType.Open)" v-if="!selectedGoods?.iscannotbuy">{{ ![53, 54].includes(selectedGoods?.trademode) ?
                             t('operation.order') : t('operation.buynow') }}</el-button>
                         <!-- <el-button type="primary"
                             :disabled="!formData.OrderQty || !sellQty || (formData.OrderQty > sellQty)"