Commit e6f432ad by qinjianhui

fix: 发货单明细加分页

parent 782d121a
......@@ -14,6 +14,7 @@ import {
import {
DeliveryNoteData,
DeliveryNoteSearchForm,
DetailForm,
ProductionOrder,
ShipmentOrderDetailData,
} from '@/types/api/deliveryNote'
......@@ -23,6 +24,7 @@ import {
BillOrderDetailData,
ConfirmOrderForm,
CountStatus,
LogList,
} from '@/types/api/billOrder'
export function getOrderList(
......@@ -330,13 +332,17 @@ export function updateReconciliation(data: AccountStatementNote) {
)
}
export function getShipmentDetailsById(shipmentId?: number) {
return axios.get<never, BaseRespData<BillOrderDetailData>>(
'reconciliation/getById',
export function getShipmentDetailsById(data: DetailForm) {
return axios.post<never, BasePaginationData<BillOrderDetailData>>(
'reconciliation/getItemList',
data,
)
}
export function getLogListApi(id?: number) {
return axios.get<never, BaseRespData<LogList[]>>(
'reconciliation/getLog',
{
params: {
id: shipmentId,
},
params: { id },
},
)
}
......@@ -364,7 +370,7 @@ export function confirmOrderApi(data: ConfirmOrderForm) {
export function rejectOrderApi({
ids,
description,
pass
pass,
}: {
ids: string
pass: number
......@@ -373,6 +379,6 @@ export function rejectOrderApi({
return axios.post<never, BaseRespData<never>>('reconciliation/confirm', {
ids,
description,
pass
pass,
})
}
......@@ -106,4 +106,8 @@ img {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
\ No newline at end of file
}
.table-wrap {
flex: 1;
overflow: hidden;
}
......@@ -15,6 +15,7 @@ export interface AccountStatementNoteSearchForm {
erp_status?: string
start_time?: string
end_time?: string
order_number?: string
}
export interface AccountStatementNote {
create_time?: string
......
......@@ -182,3 +182,11 @@ export interface DbFactory {
authorize_number?: number
status?: number
}
export interface DetailForm {
billNumber?: string
orderNumber?:string
subOrderNumber?: string
rows?: number
page?: number
infoId?: number
}
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