移动端:增加测试批次模式隔离
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
export function listInbound(query) {
|
||||
return request({
|
||||
url: "/business/inbound/list",
|
||||
method: "get",
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
export function getInboundWarehouseOptions() {
|
||||
return request({
|
||||
url: "/business/inbound/warehouse-options",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
export function scanInboundPallet(qrToken, query) {
|
||||
return request({
|
||||
url: "/business/inbound/scan/" + qrToken,
|
||||
method: "get",
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
export function getInbound(inboundId) {
|
||||
return request({
|
||||
url: "/business/inbound/" + inboundId,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
export function addInbound(data) {
|
||||
return request({
|
||||
url: "/business/inbound",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export function updateInbound(data) {
|
||||
return request({
|
||||
url: "/business/inbound",
|
||||
method: "put",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
export function confirmInbound(inboundId, data) {
|
||||
return request({
|
||||
url: "/business/inbound/" + inboundId + "/confirm",
|
||||
method: "put",
|
||||
data,
|
||||
headers: { repeatSubmit: false },
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user