huangbin 4 years ago
parent
commit
ed62b5d033

+ 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 }
 }