import request from '@/utils/request' // 查询排产单明细列表 export function listPlanDetail(query) { return request({ url: '/aps/planDetail/list', method: 'get', params: query }) } // 查询排产单明细详细 export function getPlanDetail(planDetailId) { return request({ url: '/aps/planDetail/' + planDetailId, method: 'get' }) } // 新增排产单明细 export function addPlanDetail(data) { return request({ url: '/aps/planDetail', method: 'post', data: data }) } // 修改排产单明细 export function updatePlanDetail(data) { return request({ url: '/aps/planDetail', method: 'put', data: data }) } // 删除排产单明细 export function delPlanDetail(planDetailId) { return request({ url: '/aps/planDetail/' + planDetailId, method: 'delete' }) }