import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'api/pickKitPlan',
    method: 'post',
    data
  })
}

export function queryPickKitPlanList(data) {
  return request({
    url: 'api/pickKitPlan/queryPickKitPlanList',
    method: 'get',
    data
  })
}

export function del(ids) {
  return request({
    url: 'api/pickKitPlan/',
    method: 'delete',
    data: ids
  })
}
export function audit(data) {
  return request({
    url: 'api/pickKitPlan/audit',
    method: 'post',
    data
  })
}
export function qxAudit(id) {
  return request({
    url: 'api/pickKitPlan/qxAudit',
    method: 'post',
    data: id
  })
}
export function edit(data) {
  return request({
    url: 'api/pickKitPlan',
    method: 'put',
    data
  })
}

export default { add, edit, del,queryPickKitPlanList ,audit,qxAudit}
