Handy_Cao 1 rok pred
rodič
commit
6d61a1119b

+ 1 - 0
public/locales/en-US.json

@@ -539,6 +539,7 @@
             "matchname": "MatchName",
             "deliverylot": "DeliveryLot",
             "deliveryqty": "DeliveryQty",
+            "freezeqty": "FreezeQty",
             "address": "Address",
             "transferprice": "Price",
             "qty": "Qty",

+ 1 - 0
public/locales/zh-CN.json

@@ -547,6 +547,7 @@
             "tradetime": "交易时间",
             "holderprice": "持仓价格",
             "deliveryinfo": "交收信息",
+            "freezeqty": "冻结量",
             "tips1": "请输入转让价格",
             "tips2": "请输入转让量",
             "tips3": "确认要转让吗?",

+ 2 - 2
src/packages/mobile/views/order/position/Index.vue

@@ -12,11 +12,11 @@
         <Tabs class="van-tabs--list" v-model:active="active" :swipe-threshold="4">
             <template v-for="(item, index) in components" :key="index">
                 <Tab :title="item.title" :name="index">
-                    <component :is="item.component" />
+                    <component :is="item.component" v-bind="{ fromTrade }" />
                 </Tab>
             </template>
         </Tabs>
-        <component ref="componentRef" :is="selectedComponent.detail" v-bind="{ fromTrade }" @closed="closeComponent"
+        <component ref="componentRef" :is="selectedComponent.detail" @closed="closeComponent"
             v-if="componentId && selectedComponent.detail" />
     </app-view>
 </template>

+ 1 - 1
src/packages/mobile/views/order/position/components/pricing/detail/Index.vue

@@ -43,7 +43,7 @@
                                 </li>
                             </ul>
                         </div>
-                        <div class="g-order-list__btnbar" v-if="item.trademode === 50 && item.holderqty">
+                        <div class="g-order-list__btnbar" v-if="item.trademode === 10 && item.holderqty">
                             <Button size="small" @click="showComponent('close', item)" round>{{ $t('operation.transfer') }}</Button>
                         </div>
                     </div>