yu jie 4 jaren geleden
bovenliggende
commit
3f28a751ba
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      src/views/information/account_info/compoments/add-child-traders/index.vue

+ 2 - 1
src/views/information/account_info/compoments/add-child-traders/index.vue

@@ -72,7 +72,7 @@
                        v-for="(item, index) in accountList"
                        :key="index"
                        :class="[index > 1 ? 'mt10' : '']">
-                  <a-checkbox :value="item.accountid">{{item.accountname}}/{{item.accountid}}
+                  <a-checkbox :value="item.accountid" v-if="item.tradestatus === 1">{{item.accountname}}/{{item.accountid}}
                   </a-checkbox>
                 </a-col>
               </a-row>
@@ -109,6 +109,7 @@ export default defineComponent({
         },
     },
     setup(props, context) {
+      console.log('asddsdddddddsdaasdasddasasdasdsdadsdasdassdasdasad',props.accountList)
         const loading = ref<boolean>(false);
         // 控制关闭弹窗
         const { visible, cancel } = closeModal('account_info_trade_child_btn_add');