21 lines
559 B
JavaScript
21 lines
559 B
JavaScript
import request from './request';
|
|
|
|
const LONG_TIMEOUT_MS = 10 * 60 * 1000;
|
|
|
|
// 缺货补货监控(订单驱动版)
|
|
// 判断口径:待发订单量 > 拣货位库存 的超出部分 = 需从存储位补到拣货位的量
|
|
export const getBinReplenishList = (params = {}) => request.get(
|
|
'/api/bin-replenish/list',
|
|
{ params, timeout: LONG_TIMEOUT_MS }
|
|
);
|
|
|
|
export const exportBinReplenish = (params = {}) => request.get(
|
|
'/api/bin-replenish/export',
|
|
{
|
|
params,
|
|
responseType: 'blob',
|
|
timeout: LONG_TIMEOUT_MS,
|
|
silentError: true,
|
|
}
|
|
);
|