import { get, put, putJ, postJ, deleteApi } from "@/utils/request"; import Vue from "vue"; /** * 获取信息详情 */ export async function getReceiveConfirmDetail(id) { const res = await get(Vue.prototype.apiUrl + `/eom/purchasereceiveconfirm/getById/${id}`, {}); if (res.code == 0) { return res.data; } return Promise.reject(new Error(res.message)); } /** * 获取信息列表 */ export async function getPurchaseOrderList(params) { const res = await get(Vue.prototype.apiUrl + `/eom/purchaseorder/page`,params); if (res.code == 0) { return res.data; } return Promise.reject(new Error(res.message)); }