Commit e6f432ad by qinjianhui

fix: 发货单明细加分页

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