import http from "@/api";

/**
 * @name 发货出库
 */
//出库任务列表
export const getOutStockTaskListApi = (params: Record<string, any>) => {
    return http.post<any>(`OutStockTask/GetList`, params);
};
//出库单列表
export const getOutStockListApi = (params: Record<string, any>) => {
    return http.post<any>(`OutStock/GetList`, params);
};
//出库单详情
export const getDetailsApi = (id: any) => {
    return http.get<any>(`OutStock/GetInfo/${id}`);
};
//出库单详情列表
export const getTaskDetailsApi = (params: any) => {
    return http.post<any>(`OutStockTask/GetInfoByNo`, params);
};
//修改出库箱信息
export const getEditBoxInfoApi = (params: Record<string, any>) => {
    return http.post<any>(`OutStock/EditBoxInfo`, params);
};
