huangbin 4 年之前
父节点
当前提交
d47dca8dad

+ 2 - 2
src/views/market/spot_trade/spot_trade_order_transaction/components/detail/index.vue

@@ -48,7 +48,7 @@ export default defineComponent({
     components: { Drawer },
     emits: ['cancel', 'update'],
     props: {
-        parantSelectedRow: {
+        deliverGoods: {
             type: Object as PropType<QueryDeliveryRelationRsp>,
             default: {},
         },
@@ -58,7 +58,7 @@ export default defineComponent({
         const { visible, cancel } = _closeModal(context);
         const lstitem = ref<WrTypeItem[]>();
         const lststep = ref<WrGoodsPerformanceStep[]>();
-        queryResultLoadingAndInfo(queryWrBsGoodsInfo, loading, props.parantSelectedRow.goodsid).then((res) => {
+        queryResultLoadingAndInfo(queryWrBsGoodsInfo, loading, props.deliverGoods.goodsid).then((res) => {
             if (res.length) {
                 lstitem.value = res[0].lstitem;
                 lststep.value = res[0].lststep;

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

@@ -35,7 +35,6 @@ export function handleDeliveryRelation(param: deliverytype[]) {
     }
 
     function getDeliverGoods() {
-        console.log('ddddd', allDeliverGoods.value.filter(e => param.includes(e.deliverytype as deliverytype)))
         return allDeliverGoods.value.filter(e => param.includes(e.deliverytype as deliverytype))
     }
     initData(() => {