|
|
@@ -3,11 +3,21 @@ import APP from '@/services';
|
|
|
import * as type from './interface';
|
|
|
import {commonSearch_go} from '@/goServiceAPI/index';
|
|
|
import {QueryAreaStockReportReq} from "./interface";
|
|
|
+import {QueryAreaStockReportDetailReq} from "./interface";
|
|
|
|
|
|
-export async function QueryAreaStockReportReq(queryType:QueryAreaStockReportReq):Promise<type.QueryAreaStockReportRsp[]>
|
|
|
+export async function QueryAreaStockReport(queryInfo:QueryAreaStockReportReq):Promise<type.QueryAreaStockReportRsp[]>
|
|
|
{
|
|
|
try {
|
|
|
- return commonSearch_go('/Ermcp3/QueryAreaStockReport', { queryType });
|
|
|
+ return commonSearch_go('/Ermcp3/QueryAreaStockReport', { queryInfo });
|
|
|
+ } catch (err) {
|
|
|
+ throw new Error(err.message);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+export async function QueryAreaStockReportDetail(queryInfo:QueryAreaStockReportDetailReq):Promise<type.QueryAreaStockReportDetailRsp[]>
|
|
|
+{
|
|
|
+ try {
|
|
|
+ return commonSearch_go('/Ermcp3/QueryAreaStockReportDetail', { queryInfo });
|
|
|
} catch (err) {
|
|
|
throw new Error(err.message);
|
|
|
}
|