heli-mes/mes-ui/mes-ui-admin-vue3/src/api/heli/saleordercost/index.ts
2025-03-05 16:03:31 +08:00

38 lines
1.1 KiB
TypeScript

import request from '@/config/axios'
export interface TaskVO {
id: number,
code: string,
projectCode: string,
projectName: string,
customerName: string,
projectSubName: string,
projectSubId: number,
}
// 查询生产计划分页
export const getPlanBb = async (params) => {
return await request.get({ url: `/heli/project-order/pageCost`, params })
}
// 查询生产计划
export const getPlanCost = async (id: number,projectSubId: number) => {
return await request.get({ url: `/heli/project-order/getCost?id=`+id+`&projectSubId=`+projectSubId })
}
//查询运费成本
export const getListYf = async (id: number,projectSubId: number) => {
return await request.get({ url: `/heli/deliver-order/getListYf?id=`+id+`&projectSubId=`+projectSubId })
}
//查询加工工时成本
export const getListJg = async (id: number,projectSubId: number) => {
return await request.get({ url: `/heli/task-dispatch/getListJg?id=`+id+`&projectSubId=`+projectSubId })
}
//查询标准件成本
export const getList = async (id: number,projectSubId: number) => {
return await request.get({ url: `/heli/storage/getList?id=`+id+`&projectSubId=`+projectSubId })
}