订单支持分包裹发货

This commit is contained in:
15386982806
2024-01-10 19:15:24 +08:00
parent c81eff58d3
commit 9ce1c966eb
6 changed files with 505 additions and 27 deletions

View File

@@ -141,3 +141,20 @@ export const getReceiptPage = params => {
export const invoicing = id => {
return postRequest(`/trade/receipt/${id}/invoicing`);
};
//查询包裹列表
export const getPackage = (orderSn) => {
return getRequest(`/order/order/getPackage/${orderSn}`);
}
//分包裹发货
export const partDelivery = (orderSn,params) => {
return postRequest(`/order/order/${orderSn}/partDelivery`,params,{
"Content-type": "application/json"
})
}
//查询物流
export const getTracesList = (sn) => {
return getRequest(`/order/order/getTracesList/${sn}`);
}