added pakets
This commit is contained in:
@@ -5,7 +5,7 @@ export const BoxStatusList: BoxStatus[] = ['READY_TO_INVOICE', 'READY'];
|
||||
export interface IRealBox {
|
||||
boxName: string;
|
||||
id: number;
|
||||
packetsCount: number;
|
||||
itemCount: number;
|
||||
partyName: string;
|
||||
}
|
||||
|
||||
@@ -26,19 +26,22 @@ export interface IRealBoxDetail {
|
||||
|
||||
export interface RealCreateBoxBodyType {
|
||||
partyName: string;
|
||||
packetDtos: number[];
|
||||
packetItemDtos: { packetId: number; itemDtos: number[] }[];
|
||||
}
|
||||
|
||||
export interface UpdateRealBoxBodyType {
|
||||
boxId: string;
|
||||
partyName: string;
|
||||
packetDtos: number[];
|
||||
packetItemDtos: { packetId: number; itemDtos: number[] }[];
|
||||
}
|
||||
|
||||
export interface FormValues {
|
||||
partyName: string;
|
||||
paketIds: Array<{ id: string | number }>;
|
||||
id?: number;
|
||||
boxId?: string;
|
||||
partyName: string;
|
||||
partyId?: number;
|
||||
}
|
||||
packetItemDtos: Array<{
|
||||
packetId: number;
|
||||
itemDtos: number[];
|
||||
}>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user