- 新增库存监控页面、后端服务与 API,支持分页筛选与 CSV 导出 - 库存取值优先聚水潭实时库存(jst_inventoryInfo),取不到回退日报快照(pm_stockMonitor) - 统计卡与预警分档统一全仓库口径,新增在库 SKU 款数 - 预留聚水潭加工单接入(jushuitanClient + 自检脚本),凭证到位后可算采购在途
17 lines
545 B
JavaScript
17 lines
545 B
JavaScript
import request from './request';
|
||
|
||
const LIST_TIMEOUT_MS = 3 * 60 * 1000;
|
||
const META_TIMEOUT_MS = 60 * 1000;
|
||
|
||
// 列表(默认只取「简尚-崔桥工厂品牌仓」仓库下的 SKU)
|
||
export const getModularStockList = (params = {}) => request.get(
|
||
'/api/modular-stock-monitoring/list',
|
||
{ params, timeout: LIST_TIMEOUT_MS }
|
||
);
|
||
|
||
// 仓库下拉选项(用于核对业务库里的实际仓库名)
|
||
export const getModularStockWarehouses = () => request.get(
|
||
'/api/modular-stock-monitoring/warehouses',
|
||
{ timeout: META_TIMEOUT_MS }
|
||
);
|