增加主材出站接口
This commit is contained in:
2
src/api/pwoManage/primaryMaterial/index.ts
Normal file
2
src/api/pwoManage/primaryMaterial/index.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
export * from './infeed'
|
||||||
|
export * from './outfeed'
|
||||||
45
src/api/pwoManage/primaryMaterial/outfeed.ts
Normal file
45
src/api/pwoManage/primaryMaterial/outfeed.ts
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
import request from "@/api/request";
|
||||||
|
import type { ID } from "@/api/common";
|
||||||
|
|
||||||
|
// 查询主材出站列表
|
||||||
|
export function listMainMaterialOutboundLog(params: any) {
|
||||||
|
return request({
|
||||||
|
url: "/mes/station/out-log/main-material/list",
|
||||||
|
method: "get",
|
||||||
|
params,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询主材出站详细
|
||||||
|
export function getMainMaterialOutboundLog(id: ID) {
|
||||||
|
return request({
|
||||||
|
url: "/mes/station/out-log/main-material/" + id,
|
||||||
|
method: "get",
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增主材出站
|
||||||
|
export function batchAddMainMaterialOutboundLog(data: any) {
|
||||||
|
return request({
|
||||||
|
url: "/mes/station/out-log/main-material/batch",
|
||||||
|
method: "post",
|
||||||
|
data,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增主材出站
|
||||||
|
export function addWaferDieOutboundLogBySpecifiedNg(data: any) {
|
||||||
|
return request({
|
||||||
|
url: "/mes/station/out-log/main-material/wafer-die/by-specified-ng",
|
||||||
|
method: "post",
|
||||||
|
data,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除主材出站
|
||||||
|
export function delMainMaterialOutboundLog(id: ID) {
|
||||||
|
return request({
|
||||||
|
url: "/mes/station/out-log/main-material/" + id,
|
||||||
|
method: "delete",
|
||||||
|
});
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user