|
|
@ -33,7 +33,6 @@ export function codeList(query) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function findAllByOrderId(query) {
|
|
|
|
export function findAllByOrderId(query) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: "/admin/warehouse/inout/findAllByOrderId",
|
|
|
|
url: "/admin/warehouse/inout/findAllByOrderId",
|
|
|
@ -117,7 +116,6 @@ export function uploadOrder(query) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function orderDetail(query) {
|
|
|
|
export function orderDetail(query) {
|
|
|
|
return axios(
|
|
|
|
return axios(
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -129,7 +127,6 @@ export function orderDetail(query) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function orderGetUdi(query) {
|
|
|
|
export function orderGetUdi(query) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: "/udiwms/inout/order/getUdi",
|
|
|
|
url: "/udiwms/inout/order/getUdi",
|
|
|
@ -163,7 +160,6 @@ export function orderListError(query) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function addOrderWeb(query) {
|
|
|
|
export function addOrderWeb(query) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: "/warehouse/inout/addOrderWeb",
|
|
|
|
url: "/warehouse/inout/addOrderWeb",
|
|
|
@ -181,8 +177,6 @@ export function postOrdersWeb(query) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function selectNew(query) {
|
|
|
|
export function selectNew(query) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: "/admin/warehouse/inout/order/selectNew",
|
|
|
|
url: "/admin/warehouse/inout/order/selectNew",
|
|
|
@ -206,6 +200,7 @@ export function selectStatus(query) {
|
|
|
|
params: query
|
|
|
|
params: query
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export function selectDownload(query) {
|
|
|
|
export function selectDownload(query) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: "/sale/inout/order/selectDownload",
|
|
|
|
url: "/sale/inout/order/selectDownload",
|
|
|
@ -231,9 +226,6 @@ export function selectSubOrders(query) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function backStock(query) {
|
|
|
|
export function backStock(query) {
|
|
|
|
return axios(
|
|
|
|
return axios(
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -254,6 +246,7 @@ export function moveStock(query) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export function updateBind(query) {
|
|
|
|
export function updateBind(query) {
|
|
|
|
return axios(
|
|
|
|
return axios(
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -264,3 +257,55 @@ export function updateBind(query) {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function revokeOredr(query) {
|
|
|
|
|
|
|
|
return axios({
|
|
|
|
|
|
|
|
url: "/spms/inout/order/revoke",
|
|
|
|
|
|
|
|
method: "get",
|
|
|
|
|
|
|
|
params: query
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function exportJson(query) {
|
|
|
|
|
|
|
|
return axios({
|
|
|
|
|
|
|
|
url: "/warehouse/inout/order/exportXml",
|
|
|
|
|
|
|
|
method: "post",
|
|
|
|
|
|
|
|
data: query,
|
|
|
|
|
|
|
|
headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'},
|
|
|
|
|
|
|
|
responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function saveOrderWeb(query) {
|
|
|
|
|
|
|
|
return axios({
|
|
|
|
|
|
|
|
url: "/warehouse/inout/saveOrderWeb",
|
|
|
|
|
|
|
|
method: "post",
|
|
|
|
|
|
|
|
data: query
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function addCommitOrder(query) {
|
|
|
|
|
|
|
|
return axios({
|
|
|
|
|
|
|
|
url: "/warehouse/inout/addCommit",
|
|
|
|
|
|
|
|
method: "post",
|
|
|
|
|
|
|
|
data: query
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function updateBindSup(query) {
|
|
|
|
|
|
|
|
return axios(
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
url: "/udiwms/erpOrder/updateBindSup",
|
|
|
|
|
|
|
|
method: "post",
|
|
|
|
|
|
|
|
data: query
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|