huangbin 4 سال پیش
والد
کامیت
76bb12540f

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

@@ -64,6 +64,7 @@
     <component :is="componentId"
                v-if="componentId"
                :selectedRow="deliverGoods"
+               :from="'quote'"
                :parantSelectedRow="deliverGoods"
                @cancel="closeComponent"></component>
   </div>

+ 4 - 0
src/views/market/spot_trade/spot_trade_order_transaction/components/listing/index.vue

@@ -140,6 +140,10 @@ export default defineComponent({
         //     type: Object as PropType<WrOrderQuote>,
         //     default: {},
         // },
+        from: {
+            type: String as PropType<'quote' | 'order'>,
+            default: 'quote',
+        },
         parantSelectedRow: {
             type: Object as PropType<QueryDeliveryRelationRsp>,
             default: {},