Commit 434802d0 authored by rainbowmorel@163.com's avatar rainbowmorel@163.com

送货单详情修改

parent b7c26878
......@@ -3,7 +3,10 @@ import {
getOrderDeliveryOrderDetailProductPage,
getOrderDeliveryOrderSrmPage,
getOrderDeliveryOrderB2bPage,
getOrderDeliveryOrderReceivePage
getOrderDeliveryOrderReceivePage,
getOrderReceiveOrderDetail,
GetOrderReceiveOrderDetailResponse,
getOrderReceiveOrderDetailProductPage
} from '@/services/OrderNewV2Api';
/**
......@@ -60,11 +63,19 @@ class NoteB2bService extends NoteSrmService {
* 送货单 收货单详情 服务
*/
class NoteReceiveService extends NoteSrmService {
getQuery(params: any) {
return getOrderDeliveryOrderReceivePage(params).then(res => {
getDetailInfoById(id: string): Promise<any> {
return getOrderReceiveOrderDetail({
id
}).then(res => {
return res.data
})
}
getQuery(params: any): Promise<any> {
return getOrderReceiveOrderDetailProductPage(params).then(res => {
return res.data
})
}
}
......@@ -77,7 +88,7 @@ export default class NoteFactoryService {
if (noteType === 'b2b') {
return new NoteB2bService()
}
if (noteType === 'receive') {
return new NoteReceiveService()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment