huangbin 4 年之前
父節點
當前提交
ed62b5d033
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/views/information/account_info/list/account_info_futures/setup.ts

+ 7 - 1
src/views/information/account_info/list/account_info_futures/setup.ts

@@ -12,7 +12,13 @@ export function queryTableList() {
     const tableList = ref<ErmcpTaAccountEx[]>([]);
     function queryTable() {
         queryResultLoadingAndInfo(QueryAccMgrTaaccount, loading)
-            .then(res => tableList.value = res)
+            .then((res: ErmcpTaAccountEx[]) => {
+                tableList.value = res.map((e: ErmcpTaAccountEx) => {
+                    e.subacclist = e.subacclist.filter(el => el.tradestatus !== 7)
+                    return e
+                }
+                )
+            })
     }
     return { loading, tableList, queryTable }
 }