Commit c2b8b867 authored by zhoutong's avatar zhoutong

空运出仓逻辑优化

parent d0372b7a
......@@ -507,4 +507,33 @@ export function confirmAirCheckout(params) {
method: "get",
params
});
}
\ No newline at end of file
}
/**
* 单个装柜
*
* @export
* @param {*} data
* @return {*}
*/
export function singleAirCreate(data) {
return request({
url: "/ecw/box-load-info/singleAirCreate",
method: "post",
data,
});
}
/**
* 批量装柜
*
* @export
* @param {*} data
* @return {*}
*/
export function batchAirCreate(data) {
return request({
url: "/ecw/box-load-info/batchAirCreate",
method: "post",
data,
});
}
......@@ -207,14 +207,14 @@ import { confirmAirCheckout } from "@/api/ecw/boxAir";
import {
loadSecGoodsList,
orderTagList,
singleCreate,
batchCreate,
singleDelete,
batchDelete,
remove,
getOrderDetailByBoxNo,
externalLoad,
} from "@/api/ecw/boxSea";
import { singleAirCreate,
batchAirCreate} from "@/api/ecw/boxAir"
import {
getTotlContent,
serviceMsg,
......@@ -435,7 +435,7 @@ export default {
return;
}
params.orderNumCode = this.qrCode;
singleCreate(params).then((res) => {
singleAirCreate(params).then((res) => {
serviceMsg(res, this).then(() => {
this.qrCode = "";
this.getLoadSecGoodsList();
......@@ -443,7 +443,7 @@ export default {
});
} else {
params.orderNo = this.batchObj.qrCode;
batchCreate(params).then((res) => {
batchAirCreate(params).then((res) => {
serviceMsg(res, this).then(() => {
this.closeDialog2();
this.getLoadSecGoodsList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment