Sfoglia il codice sorgente

修改 订单交易 商品掉期 添加参考价

huangbin 4 anni fa
parent
commit
4ee8f515ac

+ 7 - 0
src/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap/components/post_buying/index.vue

@@ -117,6 +117,13 @@
                                                 </a-radio-group>
                                             </a-form-item>
                                         </a-col>
+                                        <a-col :span="24">
+                                            <a-form-item label="参考价">
+                                                <span
+                                                    :class="handleQuotePriceColor_out(selectedRow.refgoodscode, 'last')"
+                                                >{{ getQuoteValue_out(selectedRow.refgoodscode, 'last') }}</span>
+                                            </a-form-item>
+                                        </a-col>
                                         <a-col :span="24" v-if="!isFloat()">
                                             <a-form-item
                                                 label="挂牌价格"

+ 1 - 1
src/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap/setup.ts

@@ -93,7 +93,7 @@ export const columnsList = [
 // 获取按钮列表
 export function getBtnList(isBuyAndSell: boolean) {
     const btnList: BtnListType[] = [
-        { lable: '挂牌求购', code: 'PostBuying', className: 'operBtn' },
+        { lable: '挂牌', code: 'PostBuying', className: 'operBtn' },
         // { lable: '详情', code: 'Detail', className: 'btnDeafault' },
     ];
     if (isBuyAndSell) {