import request from "@/http/request";
// 上传物料基础信息
export const uploadExcelBaseGoods = (data) => {
    return request({
        url: '/excel/importBaseGoods',
        method: 'post',
        data: data,
        timeout: 600000
    })
}
// 上传看板
export const uploadExcelKanban = (data) => {
    return request({
        url: '/excel/importKanban',
        method: 'post',
        data: data,
        timeout: 600000
    })
}
// 上传dbs
export const uploadExcelDbs = (data) => {
    return request({
        url: '/excel/importDbs',
        method: 'post',
        data: data,
        timeout: 600000
    })
}
// 上传非服务件配料单
export const uploadExcelProduct = (data) => {
    return request({
        url: '/excel/importProduct',
        method: 'post',
        data: data,
        timeout: 600000
    })
}
// 上传服务件配料单
export const uploadExcelSingleProduct = (data) => {
    return request({
        url: '/excel/importServiceProduct',
        method: 'post',
        data: data,
        timeout: 600000
    })
}
// 上传配对关系
export const uploadExcelProductExtend = (data) => {
    return request({
        url: '/excel/importProductExtend',
        method: 'post',
        data: data,
        timeout: 600000
    })
}
// 上传盘点请求清单
export const uploadExcelInventoryRequest = (data) => {
    return request({
        url: '/excel/importInventoryRequest',
        method: 'post',
        data: data,
        timeout: 600000
    })
}

// 导出dbs
export const exportDbsWithExcel = (data) => {
    return request({
        url: '/excel/exportDbsWithExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出配料单
export const exportKittingBomWithExcel = (data) => {
    return request({
        url: '/excel/exportKittingBomWithExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出配对关系
export const exportKittingBomRelationWithExcel = (data) => {
    return request({
        url: '/excel/exportKittingBomRelationWithExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出物料
export const exportGoodsExcel = (data) => {
    return request({
        url: '/excel/exportGoodsExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出库存
export const exportStockExcel = (data) => {
    return request({
        url: '/excel/exportStockExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出库存更新记录
export const exportStockUpdateExcel = (data) => {
    return request({
        url: '/excel/exportStockUpdateExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出工作详情
export const exportWorkSummaryExcel = (data) => {
    return request({
        url: '/excel/exportWorkSummaryExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出看板需求
export const exportKanbanExcel = (data) => {
    return request({
        url: '/excel/exportKanbanExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出入库记录
export const exportInTaskRecordExcel = (data) => {
    return request({
        url: '/excel/exportInTaskRecordExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出出库记录
export const exportOutTaskRecordExcel = (data) => {
    return request({
        url: '/excel/exportOutTaskRecordExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}
// 导出库位详情
export const exportLocationDetailExcel = (data) => {
    return request({
        url: '/excel/exportLocationDetailExcel',
        method: 'post',
        responseType: 'blob',
        data: data,
        timeout: 600000
    })
}