import request from '@/config/axios' // 供应商首页 export const getSupplierData = async () => { return await request.get({ url: `/wms/index/indexSupplier` }) } // 原料管理员首页 export const getMaterialData = async () => { return await request.get({ url: `/wms/index/indexMaterial` }) } // 生产管理员首页 export const getProduceData = async () => { return await request.get({ url: `/wms/index/indexProduce` }) } // 成品管理员首页 export const getProductData = async () => { return await request.get({ url: `/wms/index/indexProduct` }) } // 超期库存预警 export const getOverdueBalance = async (params) => { return await request.get({ url: `/wms/index/pageOverdueBalance`,params }) } // 呆滞库存预警 export const getStagnantBalance = async (params) => { return await request.get({ url: `/wms/index/pageStagnantBalance` ,params}) } // 高低储预警 export const getWarningBalance = async (params) => { return await request.get({ url: `/wms/index/pageWarningBalance` ,params}) } // 本月退货明细 export const getPurchasereturnRecordMonth = async (params) => { return await request.get({ url: `/wms/index/pagePurchasereturnRecordMonth`,params }) } // 本月索赔明细 export const getPurchaseclaimRecordMonth = async (params) => { // return await request.get({ url: `/wms/index/pagePurchaseclaimRecordMonth`,params }) } // 今日生产计划 export const getProductionToday = async (params) => { return await request.get({ url: `/wms/index/pageProductionToday`,params }) } // 线边安全库存 export const getSafeLocation = async (params) => { return await request.get({ url: `/wms/index/pageSafeLocation`,params }) } // 待上架成品库存 export const getProductputawayJobDetail = async (params) => { return await request.get({ url: `/wms/index/pageProductputawayJobDetail`,params }) }