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.
 
 
 
 

103 lines
1.9 KiB

import request from '@/axios';
/**
* 获取运单对账单数据
* @param {*} data
* @returns
*/
export const postPageList = data => {
return request({
url: '/api/logpm-statisticsdata/merchantStatistics/pageList',
method: 'post',
data,
});
};
/**
* 导出
*/
export const postOrderInfoListExport = data => {
return request({
url: '/api/logpm-statisticsdata/merchantStatistics/orderInfoListExport',
method: 'post',
data,
responseType: 'blob',
});
};
/**
* 确认结算
* @param {*} data
* @returns
*/
export const postCheckBalance = data => {
return request({
url: '/api/logpm-statisticsdata/merchantStatistics/checkBalance',
method: 'post',
data,
});
};
/**
* 计算仓储&配送费用
* @param {*} data
* @returns
*/
export const postReal = data => {
return request({
url: `/api/logpm-statisticsdata/merchantStatistics/real/${data}`,
method: 'patch',
});
};
/**
* toB 计算仓储&配送费用
* @param {*} data
* @returns
*/
export const postCalculateRealCostByWaybillId = data => {
return request({
url: `/api/logpm-statisticsdata/merchantStatistics/calculateRealCostByWaybillId/${data}`,
method: 'patch',
});
};
/**
* 生成对账单
* @param {*} data
* @returns
*/
export const postCreateReconciliationOrder = data => {
return request({
url: '/api/logpm-statisticsdata/merchantStatistics/createReconciliationOrder',
method: 'post',
data,
});
};
/**
* toB 批量结算完成
* @param {*} data
* @returns
*/
export const postCreateFinishWaybillId = data => {
return request({
url: '/api/logpm-statisticsdata/merchantStatistics/createFinishWaybillId',
method: 'post',
data,
});
};
/**
* toB 生成对账单
* @param {*} data
* @returns
*/
export const postCreateReconciliationwWaybillId = data => {
return request({
url: '/api/logpm-statisticsdata/merchantStatistics/createReconciliationwWaybillId',
method: 'post',
data,
});
};