| 12345678910111213141516171819202122232425262728293031 |
- /** ================================= 库存报表 ================================**/
- import APP from '@/services';
- import * as type from './interface';
- import { commonSearch_go } from '@/services/go/index';
- import { QueryAreaStockReportReq } from './interface';
- import { QueryAreaStockReportDetailReq } from './interface';
- /**
- * 查询库存报表
- * @param queryInfo 查询信息
- * @returns 库存报表
- */
- export async function QueryAreaStockReport(queryInfo: QueryAreaStockReportReq): Promise<type.QueryAreaStockReportRsp[]> {
- try {
- return commonSearch_go('/Ermcp3/QueryAreaStockReport', queryInfo);
- } catch (err) {
- throw new Error(err.message);
- }
- }
- /**
- * 查询库存明细报表
- * @param queryInfo 查询信息
- * @returns 库存明细报表
- */
- export async function QueryAreaStockReportDetail(queryInfo: QueryAreaStockReportDetailReq): Promise<type.QueryAreaStockReportDetailRsp[]> {
- try {
- return commonSearch_go('/Ermcp3/QueryAreaStockReportDetail', queryInfo);
- } catch (err) {
- throw new Error(err.message);
- }
- }
|