// 物业管理员
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "purchadd", data, "post", params),
  // 备库申请列表
  list: (data, params) => http(api + "purchlist", data, "post", params),
  // 备库详情
  detail: (data, params) => http(api + "purchinfo", data, "post", params),
  // 备库单转采购单
  purchcgd: (data, params) => http(api + "purchcgd", data, "post", params),


  // 备库申请 删除
  delete: (data, params) => http(api + "purchdel", data, "post", params),
  // 更新申请单
  update: (data, params) => http(api + "purchedit", data, "post", params),
  // 备库状态更新
  status: (data, params) => http(api + "purchstatus", data, "post", params),
  // 新建备库反馈
  addFee: (data, params) => http(api + "feedadd", data, "post", params),
  // 备库反馈详情
  feeDetail: (data, params) => http(api + "feedinfo", data, "post", params),
  // 反馈状态修改
  feeChange: (data, params) => http(api + "feedchange", data, "post", params),

};
