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.
 
 
 
 

88 lines
1.8 KiB

import request from '@/axios';
export const getList = (current, size, params) => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/list',
method: 'get',
params: {
...params,
current,
size,
},
});
};
export const getwaybillList = (current, size, params) => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/waybill',
method: 'get',
params: {
...params,
current,
size,
},
});
};
export const getDetail = id => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/detail',
method: 'get',
params: {
id,
},
});
};
export const remove = ids => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/remove',
method: 'post',
params: {
ids,
},
});
};
export const add = row => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/submit',
method: 'post',
data: row,
});
};
export const update = row => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/submit',
method: 'post',
data: row,
});
};
//滞留运单导出
export const $_warehouseRetentionRecord = params => {
return request({
url: '/api/logpm-distribution/retentionRecord/warehouseRetentionRecord/export-warehouseRetentionRecord',
method: 'get',
params,
responseType: 'blob',
});
};
// 滞留导出
export const $_RetentionWarehouseRetentionRecord = params => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/export-warehouseRetentionRecord',
method: 'get',
params,
responseType: 'blob',
});
};
export const $_warehouseRetentionRecordPage = params => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/page',
method: 'get',
params,
});
};