// 物业管理员
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 新建程
  add: (data, params) => http(api + "allotcreate", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "allotdelect", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "allotinfo", data, "post", params),
  // 编辑
  update: (data, params) => http(api + "allotedit", data, "post", params),
  // 状态
  status: (data, params) => http(api + "allotstatus", data, "post", params),
  // 出库方发货
  allotgetont: (data, params) => http(api + "allotgetont", data, "post", params),
  // 异常原因列表
  resultlist: (data, params) => http(api + "resultlist", data, "post", params),
  // 入库方验货
  allotgetin: (data, params) => http(api + "allotgetin", data, "post", params),
  // 入库方验货审核
  allotvesio: (data, params) => http(api + "allotvesio", data, "post", params),
  // 调拨批次获取
  allotgood: (data, params) => http(api + "allotgood", data, "post", params),
};
