优化
This commit is contained in:
@@ -35,11 +35,21 @@ export interface WarehouseTransferItemDto {
|
||||
id: string
|
||||
skuCode: string
|
||||
productNameZh: string
|
||||
quantity?: number | string | null
|
||||
packageCount: number
|
||||
shippingMark?: string | null
|
||||
}
|
||||
|
||||
export interface WarehouseTransferCartonDto {
|
||||
transferItemId?: string | null
|
||||
transferPalletId?: string | null
|
||||
length?: number | string | null
|
||||
width?: number | string | null
|
||||
height?: number | string | null
|
||||
weight?: number | string | null
|
||||
quantity?: number | string | null
|
||||
countedAt?: string | null
|
||||
discrepancyReason?: string | null
|
||||
cartonMark?: string | null
|
||||
customerCartonMark?: string | null
|
||||
cartonIndex: number
|
||||
@@ -47,6 +57,19 @@ export interface WarehouseTransferCartonDto {
|
||||
status: string
|
||||
}
|
||||
|
||||
export interface WarehouseTransferCartonLabelDto {
|
||||
transferNo: string
|
||||
cartons: WarehouseTransferCartonDto[]
|
||||
printableHtml: string
|
||||
}
|
||||
|
||||
export async function getWarehouseTransferCartonLabel(customerId: string, transferNo: string) {
|
||||
const response = await http.get<ApiEnvelope<WarehouseTransferCartonLabelDto>, ApiEnvelope<WarehouseTransferCartonLabelDto>>(
|
||||
`/platform/v1/last-leg/warehouse-transfers/${encodeURIComponent(transferNo)}/carton-label`, { params: { customerId } },
|
||||
)
|
||||
return unwrapApiResponse(response)
|
||||
}
|
||||
|
||||
export interface WarehouseTransferRelabelBindingDto {
|
||||
operationType: string
|
||||
customerCartonMark: string
|
||||
@@ -61,6 +84,7 @@ export interface WarehouseTransferRelabelBindingDto {
|
||||
export interface WarehouseTransferPalletDto {
|
||||
id: string
|
||||
sequenceNo: number
|
||||
warehouseLocationCode?: string | null
|
||||
palletNo?: string | null
|
||||
cartonCount: number
|
||||
grossWeightKg: number
|
||||
|
||||
Reference in New Issue
Block a user