ipc-app/api/parts/parts.js

18 lines
341 B
JavaScript
Raw Permalink Normal View History

import request from "@/utils/request";
//备件库存列表
export function getStockList(query) {
return request({
url: "/spareparts/info/stockList",
method: "get",
params: query,
});
}
//备件详情
export function getPartsDetailsByPartsId(partsId) {
return request({
url: "/spareparts/info/" + partsId,
method: "get"
});
}