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 })
}