You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

79 lines
1.5 KiB

import request from '@/axios';
export const getList = (data) => {
return request({
url: '/api/logpm-warehouse/warehouseWarehousingEntry/list',
method: 'post',
data,
});
};
export const getDetail = id => {
return request({
url: '/api/logpm-warehouse/warehouseWarehousingEntry/detail',
method: 'get',
params: {
id,
},
});
};
export const getWarehouseDetail = id => {
return request({
url: '/api/logpm-warehouse/warehouseWarehousingEntry/detailOwn',
method: 'get',
params: {
id,
},
});
};
export const remove = ids => {
return request({
url: '/api/logpm-warehouse/warehouseWarehousingEntry/remove',
method: 'post',
params: {
ids,
},
});
};
export const add = row => {
return request({
url: '/api/logpm-warehouse/warehouseWarehousingEntry/submit',
method: 'post',
data: row,
});
};
export const update = row => {
return request({
url: '/api/logpm-warehouse/warehouseWarehousingEntry/submit',
method: 'post',
data: row,
});
};
//导出
export const $_getBillLadingExport = params => {
return request({
url: '/api/logpm-warehouse/warehouseWarehousingEntry/export-warehouseWarehousingEntry',
method: 'get',
params: {
...params,
},
responseType: 'blob',
});
};
/**
* 批量打印
* @returns
*/
export const postWarehouseWarehousingEntryPrintBatch = params => {
return request({
url: '/api/logpm-warehouse/warehouseWarehousingEntry/printBatch',
method: 'post',
params,
});
};