import request from "@/utils/request"; import { Product_BaseUrl } from "@/api/config"; const baseURL = Product_BaseUrl + "/admin/product/stock"; // 耗材 const Api = { /** 耗材入库*/ in(data: any) { return request({ url: `${baseURL}/in`, method: "post", data }); }, //出库 out(data: any) { return request({ url: `${baseURL}/out`, method: "post", data }); }, // 库存盘点记录 checkRecord(params: any) { return request({ url: `${baseURL}/checkRecord`, method: "get", params }); }, //库存盘点 check(data: any) { return request({ url: `${baseURL}/check`, method: "post", data }); }, //耗材报损 reportDamage(data: any) { return request({ url: `${baseURL}/reportDamage`, method: "post", data }); }, }; export default Api;