18 lines
341 B
JavaScript
18 lines
341 B
JavaScript
|
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"
|
||
|
});
|
||
|
}
|