Kaynağa Gözat

修改 资金流水 历史记录

huangbin 4 yıl önce
ebeveyn
işleme
de87842ac8

+ 10 - 0
src/services/go/TaAccount/index.ts

@@ -28,6 +28,16 @@ export function queryAmountLog(req: QueryAmountLogReq): Promise<QueryAmountLogRs
         throw new Error(`资金流水查询(当前): ${err}`);
     });
 }
+/**
+ * /TaAccount/QueryHisAmountLog'
+ * 资金流水查询(历史)
+ * @param req
+ */
+export function QueryHisAmountLog(req: QueryAmountLogReq): Promise<QueryAmountLogRsp> {
+    return commonSearch_go('/TaAccount/QueryHisAmountLog', req).catch((err) => {
+        throw new Error(`资金流水查询(历史): ${err}`);
+    });
+}
 
 /**
  * /TaAccount/GetTaAccounts

+ 2 - 2
src/views/search/search_capital_flow/search_capital_flow_tab/search_capital_flow_tab_history/index.vue

@@ -30,7 +30,7 @@ import { expandIcon } from '@/common/setup/table/clolumn';
 import { handleComposeOrderTable } from '@/common/setup/table/compose';
 import { ComposeOrderTableParam } from '@/common/setup/table/interface';
 import { getSelectedAccountId } from '@/services/bus/account';
-import { queryAmountLog } from '@/services/go/TaAccount';
+import { QueryHisAmountLog } from '@/services/go/TaAccount';
 import { QueryAmountLogReq } from '@/services/go/TaAccount/interface';
 import { WrPerformancePlan } from '@/services/go/wrtrade/interface';
 import Bus from '@/utils/eventBus/index';
@@ -49,7 +49,7 @@ export default defineComponent({
                 accountID: getSelectedAccountId().toString(),
             };
 
-            queryTable(queryAmountLog, param);
+            queryTable(QueryHisAmountLog, param);
         };
         // 表格通用逻辑
         const param: ComposeOrderTableParam = {