huangbin 4 سال پیش
والد
کامیت
b9ccdfa9db
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      src/views/information/account_info/list/account_info_trade/index.vue

+ 6 - 1
src/views/information/account_info/list/account_info_trade/index.vue

@@ -156,7 +156,12 @@ export default defineComponent({
                 accountList.value.length = 0;
                 res.forEach((el: ErmcpTaAccountEx) => {
                     const {  subacclist } = el;
-                    subacclist.forEach((e) => accountList.value.push(e));
+                    subacclist.forEach((e) => {
+                      if (e.tradestatus === 1) { //交易状态 - 1:正常
+                        accountList.value.push(e)
+                      }
+                    }
+                    );
                 });
             });
         });