// 物业管理员
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "aftercreate", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "delete", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "xsaleout", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "saleoutinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "update", data, "post", params),
  // 修改状态
  status: (data, params) => http(api + "salestatus", data, "post", params),
  // 库管发货
  saleoutsend: (data, params) => http(api + "saleoutsend", data, "post", params),
  // 
  salecustomer: (data, params) => http(api + "salecustomer", data, "post", params),
  // 异常原因接口
  reasonList: (data, params) => http(api + "resultlist", data, "post", params),
  // 物流填写
  setdelivery: (data, params) => http(api + "setdelivery", data, "post", params),
  // 售后申请详情
  afterinfo: (data, params) => http(api + "afterinfo", data, "post", params),
  // 取消售后申请
  aftercancel: (data, params) => http(api + "aftercancel", data, "post", params),
  // 售后单审核状态
  afterstatus: (data, params) => http(api + "afterstatus", data, "post", params),
  // 确认收货
  saleoutreceipt: (data, params) => http(api + "saleoutreceipt", data, "post", params),
  // 库管批量发货
  saleoutbatch: (data, params) => http(api + "saleoutbatch", data, "post", params),
  // 售后订单
  createSaleAndCgdByAfter: (data, params) => http(api + "createSaleAndCgdByAfter", data, "post", params),
};
