123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- /**
- * 统计相关API
- */
- import request from '@/utils/request'
- /**
- * 导出库存成本列表
- * @param params
- */
- export function getstockCostExport(params) {
- return request({
- url: 'admin/stock/statistics/export-cost',
- method: 'get',
- responseType: 'blob',
- loaidng: false,
- params
- })
- }
- /**
- * 查询库存成本统计分页列表数据
- * @param params
- */
- export function getstockCostStatistics(params) {
- return request({
- url: 'admin/stock/statistics/cost',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 导出库存列表
- * @param params
- */
- export function getstockExport(params) {
- return request({
- url: 'admin/stock/statistics/export',
- method: 'get',
- responseType: 'blob',
- loaidng: false,
- params
- })
- }
- /**
- * 查询库存统计分页列表数据
- * @param params
- */
- export function getstockStatistics(params) {
- return request({
- url: 'admin/stock/statistics',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 导出采购列表
- * @param params
- */
- export function getwarehouseEntryExport(params) {
- return request({
- url: 'admin/erp/warehouseEntry/export',
- method: 'get',
- responseType: 'blob',
- loaidng: false,
- params
- })
- }
- /**
- * 查询采购统计分页列表数据
- * @param params
- */
- export function getwarehouseEntryStatistics(params) {
- return request({
- url: 'admin/erp/warehouseEntry/statistics',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 获取某商品入库统计
- * @param {*} params
- * @returns
- */
- export function getStockBatchFlow(params) {
- return request({
- url: 'admin/erp/stockBatchFlow',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 导出供应商退货列表
- * @param params
- */
- export function getsupplierReturnExport(params) {
- return request({
- url: 'admin/erp/supplierReturn/export',
- method: 'get',
- responseType: 'blob',
- loaidng: false,
- params
- })
- }
- /**
- * 查询供应商退货统计分页列表数据
- * @param params
- */
- export function getsupplierReturnStatistics(params) {
- return request({
- url: 'admin/erp/supplierReturn/statistics',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 导出出库列表
- * @param params
- */
- export function getwarehouseOutExport(params) {
- return request({
- url: 'admin/erp/warehouseOut/export',
- method: 'get',
- responseType: 'blob',
- loaidng: false,
- params
- })
- }
- /**
- * 查询出库统计分页列表数据
- * @param params
- */
- export function getwarehouseOutStatistics(params) {
- return request({
- url: 'admin/erp/warehouseOut/statistics',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 导出订单退货列表
- * @param params
- */
- export function getorderReturnExport(params) {
- return request({
- url: 'admin/erp/orderReturn/export',
- method: 'get',
- responseType: 'blob',
- loaidng: false,
- params
- })
- }
- /**
- * 查询订单退货统计分页列表数据
- * @param params
- */
- export function getorderReturnStatistics(params) {
- return request({
- url: 'admin/erp/orderReturn/statistics',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 导出调拨列表
- * @param params
- */
- export function getStockTransferExport(params) {
- return request({
- url: 'admin/erp/stockTransfer/export',
- method: 'get',
- responseType: 'blob',
- loaidng: false,
- params
- })
- }
- /**
- * 查询调拨统计分页列表数据
- * @param params
- */
- export function getstockTransferStatistics(params) {
- return request({
- url: '/admin/erp/stockTransfer',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 导出库存调整单商品列表
- * @param params
- */
- export function getStockDamageReportExport(params) {
- return request({
- url: 'admin/stock/damage/report/export',
- method: 'get',
- responseType: 'blob',
- loaidng: false,
- params
- })
- }
- /**
- * 查询库存调整单商品统计分页列表数据
- * @param params
- */
- export function getStockDamageReportStatistics(params) {
- return request({
- url: 'admin/stock/damage/report/statistics',
- method: 'get',
- loaidng: false,
- params
- })
- }
- /**
- * 导出商品换货单商品列表
- * @param params
- */
- export function getChangeFormExport(params) {
- return request({
- url: 'admin/change/form/export',
- method: 'get',
- loaidng: false,
- responseType: 'blob',
- params
- })
- }
- /**
- * 查询商品换货单商品统计分页列表数据
- * @param params
- */
- export function getChangeFormStatistics(params) {
- return request({
- url: 'admin/change/form/statistics',
- method: 'get',
- loaidng: false,
- params
- })
- }
|